CN113869102B - Schedule event processing method, electronic equipment, device and storage medium - Google Patents

Schedule event processing method, electronic equipment, device and storage medium Download PDF

Info

Publication number
CN113869102B
CN113869102B CN202110875498.6A CN202110875498A CN113869102B CN 113869102 B CN113869102 B CN 113869102B CN 202110875498 A CN202110875498 A CN 202110875498A CN 113869102 B CN113869102 B CN 113869102B
Authority
CN
China
Prior art keywords
time
schedule
area
processed
event
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110875498.6A
Other languages
Chinese (zh)
Other versions
CN113869102A (en
Inventor
谭泳发
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honor Device Co Ltd
Original Assignee
Honor Device Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202110875498.6A priority Critical patent/CN113869102B/en
Publication of CN113869102A publication Critical patent/CN113869102A/en
Application granted granted Critical
Publication of CN113869102B publication Critical patent/CN113869102B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/177Editing, e.g. inserting or deleting of tables; using ruled lines
    • G06F40/18Editing, e.g. inserting or deleting of tables; using ruled lines of spreadsheets
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/109Time management, e.g. calendars, reminders, meetings or time accounting
    • G06Q10/1093Calendar-based scheduling for persons or groups

Abstract

The application discloses a schedule event processing method, electronic equipment, a device and a storage medium, and relates to the technical field of data processing, wherein the electronic equipment displays a table to be processed in a display area; receiving the selection operation of a user on event content in a table to be processed; responding to the selected operation, and extracting the occurrence time of the event content from the table to be processed; and associating the event content with the occurrence time of the event content to obtain the schedule events, wherein the occurrence time of each schedule event is the actual occurrence time of the event content, and the accuracy of the schedule events is improved. And for the to-be-processed table with the complex layout, the electronic equipment can accurately extract the occurrence time from the to-be-processed table based on the event content selected by the user, so that the schedule event can be extracted from the to-be-processed table with the complex layout, and the extraction difficulty of the schedule event is reduced.

Description

Schedule event processing method, electronic equipment, device and storage medium
Technical Field
The present application relates to the field of data processing technologies, and in particular, to a method, an electronic device, an apparatus, and a storage medium for processing a schedule event.
Background
Currently, the schedule of events of the user is recorded in the schedule, for example, the schedule of events of the user in a month or a week is recorded by the schedule, for example, the schedule includes a course schedule, a meeting agenda and a movie schedule, and the user can schedule different events through the schedule and present the events through the schedule. Taking the curriculum schedule as an example, the user writes the curriculum of each lesson in the curriculum schedule, and presents the curriculum arrangement in one week through the curriculum schedule.
For the schedule, the electronic device can extract event content from the schedule, write the event content into a default schedule, associate the event content with preset time in the default schedule, and complete extraction of any schedule event in the schedule. But the time associated with the event content in the calendar event does not correspond to its time in the calendar, reducing the accuracy of the calendar event.
Disclosure of Invention
The method, the electronic device, the device and the storage medium for processing the schedule events solve the problem of low accuracy of the schedule events.
In order to achieve the purpose, the technical scheme is as follows:
in a first aspect, the present application provides a method for processing a schedule event, including: displaying a table to be processed in a display area; receiving the selection operation of the user on the event content in the table to be processed; responding to the selected operation, and extracting the occurrence time of the event content from the table to be processed; and associating the event content with the occurrence time of the event content to obtain the schedule event.
In this embodiment, after a user selects an event content from a to-be-processed table, the electronic device can extract occurrence time of the event content from the to-be-processed table, associate the event content with the occurrence time of the event content to obtain schedule events in the to-be-processed table, where the occurrence time of each schedule event is actual occurrence time of the event content, and improve accuracy of the schedule events. And for the to-be-processed table with the complex layout, the electronic equipment can accurately extract the occurrence time from the to-be-processed table based on the event content selected by the user, so that the schedule event can be extracted from the to-be-processed table with the complex layout, and the extraction difficulty of the schedule event is reduced.
Optionally, in response to the selection operation, the extracting the occurrence time of the event content from the to-be-processed table includes: and responding to the selected operation, performing horizontal and/or vertical time query on the cell where the event content is located, wherein the time cell extending horizontally and/or the time cell extending vertically is the occurrence time of the event content.
In this embodiment, the to-be-processed form may have two types, and for the first type of to-be-processed form, the electronic device performs horizontal and vertical time queries on the cell where the event content is located, and the cell where the time extending horizontally and vertically is located is the occurrence time corresponding to the event content. For the second type of table to be processed, the same row or the same column forms a header, and the header includes parameters of event content and parameters of occurrence time. If the same row forms a header, after a user selects an event content, the electronic equipment performs longitudinal query according to a cell where the event content is located to match parameters of the event content, then transversely queries parameters of occurrence time, and then longitudinally queries the row where the event content is located from the parameters of the occurrence time to obtain the occurrence time of the event content; if the same column forms a header, the electronic equipment performs horizontal query on the cell where the event content is located to match the parameters of the event content, then vertically queries the parameters of the occurrence time, and then horizontally queries the column where the event content is located from the parameters of the occurrence time to obtain the occurrence time of the event content. The electronic equipment can obtain the time cell of the occurrence time corresponding to the event content through horizontal and/or vertical query, so that the occurrence time of the event content is obtained, and the extraction process of the occurrence time is simple and easy to operate.
Optionally, the method further includes: identifying a time region in the table to be processed; according to the time zone in the table to be processed, the event content zone in the table to be processed is identified, the event content zone is the zone where the event content in the table to be processed is located, the time zone is the zone where the occurrence time of all the event content is located, so that the time zone and the event content zone can be located in the table to be processed, when the occurrence time of the event content is extracted by the electronic equipment, the electronic equipment can extract the event content from the time zone, the extraction zone of the occurrence time is reduced, and the efficiency is improved.
Optionally, the identifying the time zone in the table to be processed includes: if the same row or column of the table to be processed contains the continuous cells with the minimum unit time, identifying the continuous cells as the minimum unit time area; if the same row or column of the table to be processed contains continuous cells with the characters of week or week, identifying the cells as week areas; if the same row or column of the table to be processed contains continuous cells with the characters of 'month' or 'day', the cells are identified as a date area; if the cells containing continuous start and stop time in the same row or column in the table to be processed are identified as a time interval area; if the same row or the same column in the table to be processed contains continuous numbers and the minimum unit time area is identified in other areas, identifying the area where the continuous numbers are located as a week area; if the same row or the same column in the table to be processed contains continuous numbers and the week area is identified in other areas, identifying the area where the continuous numbers are located as the minimum unit time area; and if the same row or the same column in the table to be processed is simultaneously identified as the time interval region and the minimum unit time region, determining the same row or the same column as the time interval region.
In this embodiment, the electronic device provides multiple identification manners, and the multiple identification manners are used for locating the time zone in the table to be processed, so that different types or tables with complex layouts to be processed can use at least one identification manner to locate the time zone from the table to be processed.
Optionally, the identifying, according to the time zone in the to-be-processed table, an event content zone in the to-be-processed table includes: if one row in the table to be processed is one field in the time field, one column is the other field in the time field, and the row and column regions corresponding to the row and the column are the event content regions; and if all fields of the time fields in the table to be processed are positioned in the same row or the same column, the starting and stopping range of the same row or the same column is the event content area. When the event content area is identified, the electronic equipment can select a time content area identification mode according to the type of the table to be processed, and the event content area is positioned in the table to be processed.
Optionally, the method further includes: and obtaining an identification area selected by a user from the table to be processed, wherein the identification area is used for identifying the time area and the event content area, and reducing the area range identified by the electronic equipment.
In this embodiment, the user manually circles the identification area in the table to be processed, and when the electronic device locates the time area and the event content area, the electronic device may only identify the content in the identification area, and locate the time area and the event content area from the identification area, thereby reducing the area range identified by the electronic device and improving the location efficiency.
Optionally, the method further includes: and marking the time area and the event content area in the table to be processed, and displaying the time area and the event content area when the table to be processed is displayed. The electronic equipment can highlight the time area and the event content area when displaying the to-be-processed form, wherein the highlight means that the display mode of the time area and the event content area is different from that of other contents, so as to assist in event content selection and occurrence time extraction. For example, when the user selects the event content, the user can know which area to select in, and the event content selection is facilitated. And whether the positioning of the two areas is accurate or not can be determined by displaying the time area and the event content area, and if not, the error area can be manually adjusted by a user.
Optionally, the method further includes: receiving an adjustment operation of the user on the table to be processed, wherein the adjustment operation aims at least one target area in the event content area and the time area; and responding to the adjustment operation, and adjusting the target area aimed by the adjustment operation. In this embodiment, if the time zone and/or the event content zone where the electronic device is located are wrong, the user may manually adjust the wrong zone.
Optionally, the method further includes: if the time zone does not exist in the time zone, carrying out time zone entity identification on other zones in the table to be processed; if the minimum unit time entity and the time interval entity are simultaneously identified in other areas, associating the time interval entity closest to the minimum unit time entity; and if no time period entity is identified in other areas, displaying a time period filling control in the display area, acquiring the time period input in the time period filling control by the user, and associating the time period with the corresponding minimum unit time.
In this embodiment, for the to-be-processed table in which the period region is not located, the electronic device can identify a period from other regions, associate the period with the minimum unit time, and obtain a period corresponding to the event content when extracting the occurrence time. If the minimum unit time is a section, a binding period (such as a few points) of the section can be set, the user can select one event content, the electronic device can extract the occurrence time with the information of the period to indicate the period in which the event content occurs, and the user can effectively schedule things according to the period. For the to-be-processed table in which the time period region is not located, the electronic device in this embodiment may further provide a time period editing function, where the time period editing function is used to bind a time period for the minimum unit time. When the electronic device monitors the time interval editing operation (such as when the user clicks the cell where the minimum unit time is), the time interval filling control (such as a text box) is displayed in the display area. The user can input the time interval corresponding to the minimum unit time in the time interval filling control, after the user confirms, the electronic device associates the input time interval with the minimum unit time corresponding to the time interval filling operation, for example, the associated time interval is displayed in the cell where the minimum unit time is located, and the cells written in the minimum unit time in other cells can also be associated with the same time interval. For example, if the user edits the section one, and the section one is associated with the section one, the section one is also written into other cells written with the section one.
Optionally, the priority of the time interval entity closest to the minimum unit time entity is: the minimum unit time entity and the time interval entity are positioned in the same cell, the time interval entity is positioned in the left cell of the minimum unit time entity, the time interval entity is positioned in the right cell of the minimum unit time entity, the time interval entity is positioned in the upper cell of the minimum unit time entity, and the time interval entity is positioned in the lower cell of the minimum unit time entity; only one minimum unit time entity can be associated with one time interval entity, and the associated directions of all the time interval entities and the minimum unit time entity are the same direction.
Optionally, the method further includes: and formatting a target field in the table to be processed to unify the format of the target field, wherein the target field is at least one of the minimum unit time, the minimum unit week and the minimum unit date.
Optionally, the formatting the target field in the table to be processed includes: if the field values of a plurality of target fields are written into one cell of the table to be processed, splitting the cell in which the field values of the plurality of target fields are written, so that the field value of one target field occupies one cell; the field values of the target field are described in the same format.
Optionally, the formatting the target field in the table to be processed includes: if the target field is the time interval, no time interval entity with the time interval larger than 13 exists in the table to be processed, and for each time interval entity, searching a time interval division entity closest to the time interval entity; utilizing a time interval division entity closest to the time interval entity to perform format adjustment on the time intervals in the time interval entity so as to mark each time interval by adopting a 24-hour system; the time interval division entity closest to the time interval entity has the priority as follows: the time interval entity and the time interval division entity are positioned in the same cell, the time interval division entity is positioned in a left cell of the time interval entity, the time interval division entity is positioned in a right cell of the time interval entity, the time interval division entity is positioned in an upper cell of the time interval entity, and the time interval division entity is positioned in a lower cell of the time interval entity; one time interval entity can only be associated with one time interval division entity, and the associated directions of all the time interval entities and the time interval division entities are the same direction.
Optionally, the method further includes: and responding to the output instruction of the schedule event, and outputting the schedule event in a schedule form in the display area so that a user can visually check the schedule event.
Optionally, the method further includes: and merging at least two schedule events, wherein the at least two schedule events are schedule events which have overlapped occurrence time and continuous occurrence time aiming at the same event content, so that the number of the schedule events is reduced, and a plurality of schedule events of the same event content are conveniently merged and displayed.
Optionally, the method further includes: and extracting a schedule attribute entity from the schedule event, and reconstructing the schedule event according to the extracted schedule attribute entity. The schedule attribute entity can be an entity with higher importance in the schedule event, and the schedule event is reconstructed based on the entity with higher importance.
Optionally, the reconstructing a calendar event according to the extracted calendar attribute entity includes: and adding the extracted schedule attribute entity as an independent entity to the schedule event, wherein the display mode of the extracted schedule attribute entity is different from the display modes of other entities in the schedule event.
In this embodiment, the schedule attribute entity may be separately displayed in one region as a control when the electronic device outputs the schedule event, and the user may click the independently displayed schedule attribute entity to trigger the auxiliary information associated with the schedule attribute entity. For example, the calendar property entity may be a navigation, and after the user clicks on the navigation, the electronic device may display a navigation interface on which a navigation route is displayed from the user's current location to a destination, which may be a location pointed to by an entity in the calendar event. And the display mode of the schedule attribute entity is displayed in a display mode different from that of other entities, so that the schedule attribute entity is highlighted, and a user is reminded in the highlight mode that the schedule attribute entity can assist the user.
Optionally, the method further includes: receiving the triggering operation of the user on the extracted schedule attribute entity; and responding to the trigger operation, and displaying auxiliary information associated with the schedule attribute entity in the display area.
Optionally, the method further includes: receiving the editing operation of the user on the table to be processed; responding to the editing operation, and displaying an editing control in the display area; acquiring target content input by a user in the editing control; and adjusting the content in the table to be processed by utilizing the target content.
Optionally, the method further includes: and distributing a piece of virtual identification information for the to-be-processed table, wherein the virtual identification information is used for displaying the to-be-processed table corresponding to the virtual identification information in the display area when detecting that a user triggers the virtual identification information. The virtual identification information may be a virtual account name, and the user may click the virtual identification information, and if the electronic device detects that the user clicks the virtual identification information, the curriculum schedule pointed to by the virtual identification information may be displayed in the display area. The virtual identification information may be a virtual account name, and the virtual account name may be a profile of the table to be processed, so that the user can know what the content in the table to be processed is, and the user can determine whether the table to be processed is the table he or she wants to see through the virtual account name.
In a second aspect, the present application provides an electronic device comprising: one or more processors, memory; the memory is used for storing one or more computer program codes, the computer program codes comprise computer instructions, and when the one or more processors execute the computer instructions, the electronic equipment executes the schedule event processing method.
In a third aspect, the present application provides a schedule event processing apparatus, comprising: a processing unit and a storage unit for storing one or more programs; the processing unit is configured to execute the one or more programs; the one or more programs include instructions for performing the above calendar event processing method. The processing unit and the storage unit can be two functional units in a processor of the electronic device, the storage unit in the processor is used for storing programs, and the processing unit in the processor executes the programs to realize the schedule event processing method.
In a fourth aspect, the present application provides a computer storage medium, which includes computer instructions, when the computer instructions are run on an electronic device, the electronic device executes the above-mentioned schedule event processing method.
It should be appreciated that the description of technical features, solutions, benefits, or similar language in this application does not imply that all of the features and advantages may be realized in any single embodiment. Rather, it should be appreciated that any discussion of a feature or advantage is meant to encompass a particular feature, aspect, or advantage in at least one embodiment. Therefore, the descriptions of technical features, technical solutions or advantages in the present specification do not necessarily refer to the same embodiment. Furthermore, the technical features, technical solutions and advantages described in the present embodiments may also be combined in any suitable manner. One skilled in the relevant art will recognize that an embodiment may be practiced without one or more of the specific features, aspects, or advantages of a particular embodiment. In other instances, additional features and advantages may be recognized in certain embodiments that may not be present in all embodiments.
Drawings
Fig. 1 is a first diagram illustrating a composition example of an electronic device provided in the present application;
fig. 2 is a schematic diagram of a software structure of an electronic device provided in the present application;
FIGS. 3-7 are schematic diagrams of a calendar table;
FIG. 8 is a schematic illustration of calendar events and display from a curriculum;
FIG. 9 is a diagram of a curriculum schedule;
fig. 10 is a first flowchart illustrating a schedule event processing method according to the present application;
FIGS. 11-14 are diagrams illustrating the identification of time zones from a curriculum schedule provided by the present application;
FIGS. 15 and 16 are diagrams of the identification of an event content area from a curriculum schedule provided by the present application;
FIG. 17 is a first schematic diagram of outputting a calendar event according to the present application;
FIG. 18 is a schematic illustration of the identification of time zones from a conference agenda provided by the present application;
fig. 19 is a schematic diagram of the event content area identified from the conference agenda table provided by the present application;
fig. 20 is a flowchart illustrating a second method for processing a schedule event according to the present application;
FIGS. 21 and 22 are schematic illustrations of a join period in a section of a curriculum schedule provided by the present application;
FIGS. 23-26 are diagrams of the formatting process for a curriculum schedule provided by the present application;
FIG. 27 is a schematic illustration of an edit curriculum schedule provided by the present application;
FIG. 28 is a schematic illustration of configuring virtual account names as provided herein;
FIG. 29 is a second schematic diagram of outputting a calendar event according to the present application;
fig. 30 is a schematic diagram of a user selecting an identification region provided in the present application.
Detailed Description
The terms "first", "second" and "third", etc. in the description and claims of this application and the description of the drawings are used for distinguishing between different objects and not for limiting a particular order.
In the embodiments of the present application, words such as "exemplary" or "for example" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "such as" is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
The method is an improvement on the schedule extraction method of the conventional electronic equipment, the electronic equipment can be a mobile phone, a tablet Computer, a desktop Computer, a laptop Computer, a notebook Computer, an Ultra-mobile Personal Computer (UMPC), a handheld Computer, a netbook, a Personal Digital Assistant (PDA), wearable electronic equipment, an intelligent watch and other equipment, and the specific form of the electronic equipment is not particularly limited by the method.
In this embodiment, the electronic device may have a structure as shown in fig. 1, and may include a processor 110, a memory 120, a display 130 and a camera 140. It is to be understood that the illustrated structure of the present embodiment does not constitute a specific limitation to the electronic device. In other embodiments, an electronic device may include more or fewer components than shown, or some components may be combined, some components may be split, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 110 may include one or more processing units, such as: the processor 110 may include an Application Processor (AP), a modem processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural-Network Processing Unit (NPU), etc. The different processing units may be separate devices or may be integrated into one or more processors. For example, in the present application, the processor 110 may process various types of calendars, such as a curriculum schedule, a meeting agenda schedule, a movie schedule, etc., and extract calendar events from the calendars.
The controller can be a neural center and a command center of the electronic device. The controller can generate an operation control signal according to the instruction operation code and the timing signal to complete the control of instruction fetching and instruction execution.
A memory may also be provided in processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to use the instruction or data again, it can be called directly from memory. Avoiding repeated accesses reduces the latency of the processor 110, thereby increasing the efficiency of the system.
In some embodiments, processor 110 may include one or more interfaces. The interface may include an integrated circuit (I2C) interface, an integrated circuit built-in audio (I2S) interface, a Pulse Code Modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a Mobile Industry Processor Interface (MIPI), a general-purpose input/output (GPIO) interface, a Subscriber Identity Module (SIM) interface, and/or a Universal Serial Bus (USB) interface, and the functions of these interfaces are not described in detail.
The memory 120 may be used to store computer-executable program code, which includes instructions. The processor 110 executes various functional applications of the electronic device and data processing by executing instructions stored in the memory 120. For example, in the present embodiment, the processor 110 may extract a schedule event from a schedule by executing instructions stored in the memory 120, and the schedule event may be stored in the memory 120. In addition, the memory 120 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, a Universal Flash Storage (UFS), and the like. The processor 110 executes various functional applications of the electronic device and data processing by executing instructions stored in the memory 120 and/or instructions stored in a memory provided in the processor.
The electronic device implements display functions via the GPU, the display screen 130, and the application processor, etc. The GPU is a microprocessor for image processing, and is connected to the display screen 130 and an application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
The display screen 130 is used to display images, videos, and the like. The display screen 130 includes a display panel. The display panel may be a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (active-matrix organic light-emitting diode, AMOLED), a flexible light-emitting diode (FLED), a miniature, a Micro-OLED, a quantum dot light-emitting diode (QLED), or the like. In some embodiments, the display screen may also assist in under-screen fingerprint recognition or screen fingerprint recognition.
A series of Graphical User Interfaces (GUIs) may be displayed on the display screen 130, which are the main screens of the electronic device. Generally, the size of the display screen 130 is fixed, and only a limited number of controls can be displayed in the display screen 130. A control is a GUI element, which is a software component contained in an application program and controls all data processed by the application program and interactive operations related to the data, and a user can interact with the control through direct manipulation (direct manipulation) to read or edit information related to the application program. Generally, a control may include a visual interface element such as an icon, button, menu, tab, text box, dialog box, status bar, navigation bar, widget, and the like. For example, in the embodiment of the present application, the display screen 130 may display a virtual key (e.g., a virtual key that triggers calendar events extraction).
The electronic device may implement the shooting function through the ISP, the camera 140, the video codec, the GPU, the display 130, and the application processor, etc. The ISP is used to process the data fed back by the camera 140. For example, when a photo is taken, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converting into an image visible to naked eyes. The ISP can also carry out algorithm optimization on the noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, the ISP may be provided in the camera 140.
The camera 140 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image to the photosensitive element. The photosensitive element may be a Charge Coupled Device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the ISP to be converted into a digital image signal. And the ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into image signal in standard RGB, YUV and other formats. In some embodiments, the electronic device may include 1 or N cameras 140, N being a positive integer greater than 1.
The digital signal processor is used for processing digital signals, and can process digital image signals and other digital signals. For example, when the electronic device is in frequency bin selection, the digital signal processor is used for performing fourier transform and the like on the frequency bin energy.
Video codecs are used to compress or decompress digital video. The electronic device may support one or more video codecs. In this way, the electronic device can play or record video in a variety of encoding formats, such as: moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, and the like.
The operating system of the electronic device may employ a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. The embodiment of the application takes an Android system with a layered architecture as an example, and exemplarily illustrates a software structure of an electronic device.
Fig. 2 is a block diagram of a software structure of an electronic device according to an embodiment of the present application.
The layered architecture divides the software into several layers, each layer having a clear role and division of labor. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, an application layer, an application framework layer, an Android runtime (Android runtime) and system library, and a kernel layer from top to bottom.
The application layer may include a series of application packages. As shown in fig. 2, the application package may include camera, gallery, calendar, call, map, WLAN, video, short message, etc. applications. A user can shoot the curriculum schedule to be processed through a camera to obtain a picture of the curriculum schedule to be processed; the pending schedule is then converted to an editable schedule using Optical Character Recognition (OCR) techniques. In this embodiment, the electronic device may also obtain the editable curriculum schedule in other manners, for example, the application package may include a form application, the form application can provide functions of form creation, form editing, and the like to the user, the user clicks the form application, the form application is run in the electronic device, and then the user creates a form to be processed by using the form application, for example, creates a curriculum schedule.
The application framework layer provides an Application Programming Interface (API) and a programming framework for the application program of the application layer. The application framework layer includes a number of predefined functions. As shown in fig. 2, the application framework layer may include a content provider, a view system, a resource manager, etc., and further include an API related to form processing, and transmit an instruction matching with a user operation by using the API related to form processing, for example, if a user selects a cell in the curriculum schedule, and the cell displays an event content, the application framework layer may transmit a selected instruction of the event content.
Content providers are used to store and retrieve data and make it accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phone books, calendars, etc. The view system includes visual controls such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, the display interface including the short message notification icon may include a view for displaying text and a view for displaying pictures. The resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and the like.
The Android Runtime comprises a core library and a virtual machine. The Android runtime is responsible for scheduling and managing an Android system.
The core library comprises two parts: one part is a function which needs to be called by java language, and the other part is a core library of android. The application layer and the application framework layer run in a virtual machine. And executing java files of the application program layer and the application program framework layer into a binary file by the virtual machine. The virtual machine is used for performing the functions of object life cycle management, stack management, thread management, safety and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: a surface manager (surface manager), a Media library (Media Libraries), a three-dimensional graphics processing library (e.g., openGL ES), a form processing module, etc., where the form processing module is configured to process the curriculum schedule, for example, the form processing module may extract a schedule event from the curriculum schedule, identify a time zone and an event content zone in the curriculum schedule, etc. For example, the form processing module can receive instructions related to the curriculum sent by the application framework layer, perform calendar event extraction on the curriculum in response to the instructions, and the like.
The surface manager is used to manage the display subsystem and provide fusion of 2D and 3D layers for multiple applications. The media library supports a variety of commonly used audio, video format playback and recording, and still image files, among others. The media library may support a variety of audio-video encoding formats, such as MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, and the like. The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like. The 2D graphics engine is a drawing engine for 2D drawing.
The kernel layer is a layer between hardware and software. The kernel layer at least comprises a display driver, a camera driver, an audio driver, a sensor driver and a form processing driver, and the form processing driver can be called by the form processing module when the curriculum schedule is processed.
It should be noted that although the embodiment of the present application is described by taking an Android system as an example, the basic principle is also applicable to electronic devices according to an os, windows, or hongmeng operating system.
The electronic device may process the schedules shown in fig. 3 to 7, and fig. 3 to 6 show several alternative formats of the schedules in which the user can write courses, times, lecturers, places (such as classrooms), etc. which constitute a schedule event to clarify what events occur at what times and where events occur and who participate. Fig. 7 shows an alternative format for a meeting agenda in which users can write time, training content, training sites, participants, etc. which also constitutes a calendar event and also shows what people participated in what event at what time and where. However, there are differences between the form templates, no matter the curriculum schedule or the conference agenda schedule, and for the calendars, the calendar event processing method is as follows:
a default schedule is provided in advance, in which time is written in advance but the contents of the events in the default schedule are empty. After extracting the event content from a calendar, the event content is associated with a corresponding time in a default schedule, and the corresponding time in the default schedule is taken as an occurrence time of the event content, wherein the occurrence time indicates what event the event content occurs at.
As shown in fig. 8, the electronic device may provide the user with a default schedule, the first row of which writes the week and the first column of which writes the time period, which may be a range of times, such as from a fraction of a day to a fraction of a day, or a start time, such as from a fraction of a day. The event content area is an area which extends longitudinally along the first row of the default schedule and transversely along the first column of the default schedule, and the areas where the two directions extend and overlap. The electronic device extracts from the curriculum schedule shown in fig. 3 the contents of the game theory, normal physics 1 and statistical learning events, and associates the game theory, normal physics 1 and statistical learning with the three time periods on monday. For example, the game theory, the ordinary physics 1 and the statistical learning are respectively associated with the time interval 1, the time interval 3 and the time interval 6, the time interval 1, the time interval 3 and the time interval 6 are sequentially positioned in the second row, the fourth row and the seventh row, and the monday is positioned in the second column of the first row, then the cells corresponding to the game theory, the ordinary physics 1 and the statistical learning are the first column of the second row, the first column of the fourth row and the first column of the seventh row, and the electronic device can write the game theory, the ordinary physics 1 and the statistical learning into the corresponding cells. If the user wants to view a certain calendar event, such as watching the game theory, the user can click on the schedule of the game theory, or the user can input a piece of voice, such as "what class on monday", the electronic device can find three courses of monday game theory, ordinary physics 1 and statistical learning from the schedule of the game theory and then display the three courses in the display area.
Although the schedule event can be obtained by the schedule event processing method, the schedule event processing method mainly focuses on extracting event content, does not focus on the occurrence time of the event content, and correlates the event content with preset time after extracting the event content, so that the event content does not accord with the actual occurrence time of the event content, and the accuracy of the schedule event is reduced. And the schedule event processing method is directed at some schedules with simple formats, such as the curriculum schedule shown in fig. 9, the schedule event processing method is mainly directed at schedules with simple layouts, and for schedules with complex and variable layouts shown in fig. 3 to 7, the schedule event processing method is difficult to extract event contents from the schedules.
The method comprises the steps of identifying and positioning each area in a calendar table to position a time area and an event content area from the calendar table, respectively extracting occurrence time and event content from the time area and the event content area, associating the event content with the occurrence time to obtain the calendar events in the calendar table, wherein the occurrence time of each calendar event is the actual occurrence time of the event content, and the accuracy of the calendar events is improved. For the schedule with complex layout, the electronic equipment can position a time area and an event content area by using the schedule event processing method of the application, and identifies and associates the contents in the two areas to obtain the schedule event, so that the schedule event can be extracted from the schedule with complex layout, and the extraction difficulty of the schedule event is reduced.
Referring to fig. 10, a first flowchart of a schedule event processing method provided in the embodiment of the present application is shown. As shown in fig. 10, the schedule event processing method may include:
and S101, acquiring a curriculum schedule to be processed. In this embodiment, the to-be-processed curriculum schedule is stored in the electronic device in a table format, for example, the to-be-processed curriculum schedule may be in a JavaScript Object Notation (JSON) format, an electronic spreadsheet (Excel) format, a Comma-Separated Values (CSV) file format, and the like, and the electronic device may select one row or one column in the to-be-processed curriculum schedule according to an operation of a user, where the row and the column respectively correspond to one horizontal area and one vertical area in the to-be-processed curriculum schedule.
The electronic equipment can obtain the picture of the curriculum schedule to be processed in a mode of photographing or uploading and the like, and then performs text recognition on the picture by utilizing an OCR technology to obtain the curriculum schedule to be processed; or the user can use the virtual keys and the display screen in the electronic equipment to make a schedule to be processed.
S102, identifying the time period, the week and the date in the curriculum schedule to be processed. The time period, the week and the date are the occurrence time of the lesson in the to-be-processed lesson schedule, the time period, the week and the date are in the time zone of the to-be-processed lesson schedule, and some of the to-be-processed lesson schedules may have at least one field of the time period, the week and the date, such as the week field in the lesson schedule shown in fig. 7 and the week and the time period field in the lesson schedule shown in fig. 4. There may also be a section field in other pending schedules indicating that the course is the second class, the section being the minimum unit time in the schedule and may include at least one section per day. For any one of the to-be-processed schedules obtained by the electronic device, the electronic device can identify the number of steps, time periods, weeks, dates, and the like in the to-be-processed schedules. The electronic equipment takes the same row or column in the curriculum schedule to be processed as the area to be identified, and identifies the time in the curriculum schedule to be processed by using the following identification rules:
1) If the continuous cells with the "section" words are contained in the same row or the same column of the curriculum schedule to be processed, the continuous cells are identified as section areas, and the interruption can be existed in the same row or the same column.
2) If consecutive cells with "week" or "week" words are included in the same row or column of the curriculum schedule to be processed, identified as the week area, there may be an interruption in the same row or column.
3) If the same row or column in the curriculum schedule to be processed contains continuous cells with the characters of 'month' or 'day', the cells are identified as date areas, and the same row or column can have interruption; for the third recognition rule, there is a case where the same row or column contains only the "month" word, contains only the "day" word, and contains both the "month" word and the "day" word. If only the "month" word is included, it can be identified as a date-month area; if only the words of 'day' are contained, the words can be identified as a date-day area; if both the "month" word and the "day" word are included, they can be identified as date areas.
4) If the cells containing continuous start-stop time in the same row or column of the curriculum schedule to be processed are identified as the time period area, the interruption can be existed in the same row or column.
5) If the same row or column in the curriculum schedule to be processed contains continuous numbers, the continuous numbers can be any one of 1 to 5, 1 to 7, one to five, one to seven and one to day, and the user can specify whether the curriculum is a festival area or a week area; another way is to identify in conjunction with other rows or columns, for example if the other rows or columns contain consecutive cells with "section" words, the area in which consecutive numbers are located is identified as the week area; if other rows or columns contain consecutive cells with "week" or "week" words, the region in which consecutive numbers are located is identified as the rank region.
6) And if the same row or the same column in the curriculum schedule to be processed is simultaneously identified as the time period area and the section area, determining the same row or the same column as the time period area.
Taking fig. 3 to 6 as an example, when the electronic device recognizes the curriculum schedule shown in fig. 3 by using the recognition rule, the third row of the curriculum schedule shown in fig. 3 contains the word "week", the electronic device recognizes the third row as the week area according to the second piece of the recognition rule, and the second column of the curriculum schedule shown in fig. 3 contains the word "section", and the electronic device recognizes the second column as the section area according to the first piece of the recognition rule. As shown in fig. 11, the electronic device can mark the week area and the order area in the curriculum schedule.
For the curriculum schedule shown in FIG. 4, the electronic device determines that the first column of the curriculum schedule shown in FIG. 4 contains the "syllable" word, and identifies the first column as the syllable region by using the first piece of the identification rule; the electronic device determines that the first row of the curriculum schedule shown in fig. 4 contains consecutive ones to seven because the "festival" word was recognized in the first column, the electronic device recognizes the first row as the week area according to the fifth bar in the recognition rule, and the electronic device can mark the festival area and the week area in the curriculum schedule in the manner shown in fig. 12 according to the recognition result.
For the curriculum schedule shown in fig. 5, the electronic device identifies the first column of the curriculum schedule shown in fig. 5 as the date-month area, the second column as the date-day area, and the third column as the time area, using the third and fourth bars in the identification rule. The electronic device can annotate the curriculum schedule of FIG. 5 in the time zone, as shown in FIG. 13. Likewise, the electronic device identifies the first column as the section area, the first row and the tenth row as the week area in the curriculum schedule shown in FIG. 6 using the first and second pieces of the above-described identification rules, and marks the curriculum schedule in the manner shown in FIG. 14.
S103, identifying an event content area in the curriculum schedule to be processed according to the time period, the week and the date in the curriculum schedule to be processed.
The time period, the week and the date point to the time in the to-be-processed curriculum schedule, the electronic equipment can identify an event content area in the to-be-processed curriculum schedule according to the time area in the to-be-processed curriculum schedule, and curriculum contents arranged at different times are recorded in the event content area. The electronic device, upon identifying at least one field of a period, week, date, and section, may determine the row and/or column in which the field is located; and then longitudinally extending along the row where the fields are positioned and/or transversely extending along the column where the fields are positioned, wherein the area determined by the longitudinal extension and/or the transverse extension is an event content area.
In this embodiment, the to-be-processed curriculum schedule is divided into two types, the first type is that one row of the to-be-processed curriculum schedule is one field of week, period, festival and date, one column is another field of week, period, festival and date, and the row and column area corresponding to the row and column is the event content area. The second type is that the fields of week, period, section and date in the curriculum schedule to be processed are simultaneously positioned in the row or column of the curriculum schedule, and the starting and ending range of the row or column is the event content area.
For example, in the schedule of fig. 11 with time zones, where a row is a week and a column is a time zone, the overlapping area extending longitudinally along the row and transversely along the column is the event content zone, as shown in fig. 15. The first, second, and third columns of the curriculum schedule shown in fig. 13 are date-month, date-day, and time period, respectively, and the electronic device can determine the behavioral event content areas corresponding to the fourth and third columns, as illustrated in fig. 16, labeled event content areas of the curriculum schedule shown in fig. 13.
In this embodiment, after the electronic device identifies the event content area and the time area, the electronic device may display the curriculum schedule in a display area (e.g., a display screen) of the electronic device, and mark the event content area and the time area in the displayed curriculum schedule, and the user may adjust at least one of the marked event content area and the marked time area to modify each area range.
And S104, extracting the course content from the event content area, extracting the occurrence time corresponding to the course content from the time area, and associating the course content with the occurrence time to obtain the schedule event. Wherein the schedule event includes a course content and an occurrence time, and the course content is an event content indicating what class is on what time through the schedule event.
When the electronic equipment extracts the course content and the occurrence time, the electronic equipment firstly extracts the course content and then extracts the occurrence time according to the cell where the course content is located. The electronic equipment extracts the occurrence time in different extraction modes according to the types of the curriculum schedules to be processed. Still taking the above two types of to-be-processed schedules as an example, the two types of to-be-processed schedules are respectively: the first type is one field of week, period, festival and date in one row of the curriculum schedule to be processed, and the other field of week, period, festival and date in one column; the second type is that the week, period, section and date fields in the to-be-processed schedule are located in the same row or column of the schedule. For both types of schedules to be processed, the electronic device extracts in the following way:
for the first type of to-be-processed curriculum schedule, the electronic equipment firstly extracts a curriculum content from the event content area, and then conducts horizontal and vertical time query according to the unit cell of the curriculum content, wherein the unit cell of the time extended horizontally and vertically is the occurrence time corresponding to the curriculum content. In the curriculum schedule shown in fig. 15, curriculum is extracted from the event content area: game theory down xx, look up week vertically: on Monday; horizontal query to time period: section 3 (09-45-10), section 4 (10-11), thereby obtaining the following two schedule events:
schedule event 1:
{
the starting time is 09,
the end time is 10,
content ready pocket
Game theory Tangxx
}
Frequency ready pocket
Every Monday
}
};
Schedule event 2:
{
the starting time is 10,
the end time is (11),
content ready pocket
Game theory Tangxx
}
Frequency ready pocket
Every Monday
}
}。
And for the second type of curriculum schedule to be processed, matching the curriculum contents with key values formed at the head of the curriculum contents in the same row or the same column with the curriculum contents and the occurrence time. As shown in fig. 16, the electronic device may match the fourth column to the sixth column of the third row to the header to obtain parameters of the course content, such as the course, the teacher giving the course, and the classroom, then query the time field horizontally, and then obtain each key value of the time field in the third row vertically. For example, the month, the date and the beijing time are searched horizontally, and then the key values in the third row, namely the key values in the third row of the month, the date and the beijing time, are searched vertically. The following calendar events are queried as in fig. 16:
schedule events:
{
month: the content of the mixture is 1 month,
date: the number of the days is 23, the number of the days is 24,
beijing time: 9:00-12:00 13:00-17:30,
content to a back
Course: the management of the operation of the project,
teaching teachers: the section is smaller by two,
in a classroom: teaching on line
}
}。
The electronic device may output the schedule event in a schedule form, as shown in fig. 17, so that the user can visually check the schedule event. Optionally, the electronic device may further merge calendar events, where the merged calendar events are for the same event content, overlap in occurrence time, and are consecutive in occurrence time. The occurrence time overlapping can mean that the schedule events occur on the same day or have the same repetition frequency, the occurrence on the same day can be judged by the date and the week, and whether the repetition frequency is the same or not can be judged by the date and the week; the temporal succession of occurrences may be chronologically continuous. As mentioned above for calendar event 1 and calendar event 2, both for "gaming theory down xx", calendar event 1 and calendar event 2 both occur at a frequency of monday with time overlap, and the period of calendar event 1 is 09-45-10, and calendar event 2 is 10-15, it can be seen that the two periods are consecutive, and the electronic device can merge calendar event 1 and calendar event 2, the merged calendar event being as follows:
merged calendar events:
{
the starting time is 09,
the end time is 11,
content ready pocket
Game theory Tangxx
}
Frequency
Every Monday
}
}。
The above calendar event processing method can be applied to other types of calendars, such as the meeting agenda shown in fig. 7, in addition to extracting calendar events from the to-be-processed lesson list. The electronic device can identify the date zone and the time period zone using the third and fourth pieces of the above-described identification rule, as shown in fig. 18. Then, the electronic device extends transversely along the columns where the date area and the time period area are located, the starting and ending row range of the columns is determined as the event content area, and the event content areas of the fifth column to the eleventh column and the fourth row to the eleventh row are determined as shown in fig. 19. Further, the electronic equipment can vertically match keys of the content with the curriculum D3-J3 content, the horizontal query time and the horizontal query date to obtain the following schedule events:
schedule event 3:
{
the starting time is 09,
the end time is 11,
content to a back
The training content is the safety knowledge, and the training content is the safety knowledge,
the speaker is a five-yellow Chinese character,
the person taking part in the training is a new employee,
a training field, namely a conference room 001,
the responsible person has the functions of Zhang III,
if the mobile terminal is checked in, if yes,
remarks that the pen with the notebook, the sign pen,
},
date
3 month and 1 day
}
}。
In addition to the schedule and the meeting agenda, the method for processing the schedule events provided by the embodiment can be applied to schedules such as a movie schedule and a bus schedule, wherein schedule records at different time intervals of each day are recorded in the schedules, the different time intervals can be represented by time intervals or by minimum unit time, for example, the movie schedule represents the name of a movie played in each field in the minimum unit time of the field, and the bus schedule represents vehicles scheduled in each field in the number of shifts. Because the calendar can record the events scheduled under the time and the time, the electronic equipment can extract the event content and the occurrence time from the calendar by referring to the calendar event processing method to obtain the calendar event, and the calendar event extraction of different types of calendars is completed.
The method for the schedule events has the advantages that the areas in the schedule table are identified and positioned, so that the time area and the event content area are positioned from the schedule table, the occurrence time and the event content can be respectively extracted from the time area and the event content area, the event content is associated with the occurrence time of the event content, the schedule events in the schedule table are obtained, the occurrence time of each schedule event is the actual occurrence time of the event content, and the accuracy of the schedule events is improved. For the schedule with complex layout, the electronic equipment can position a time area and an event content area by using the schedule event processing method of the application, and identifies and associates the contents in the two areas to obtain the schedule event, so that the schedule event can be extracted from the schedule with complex layout, and the extraction difficulty of the schedule event is reduced.
When the electronic device extracts the schedule event of the to-be-processed curriculum schedule, the to-be-processed curriculum schedule has a time period but the time period cannot be identified, as shown in fig. 3, the time period content is in the remarks, and the electronic device cannot identify the time period according to the identification rule. The schedule event processing method provided by the embodiment may further include: and configuring the time interval for the section, namely configuring the time interval for the minimum unit time in the schedule table.
As shown in fig. 20, after identifying the event content area in the to-be-processed curriculum schedule with respect to the calendar event processing method shown in fig. 10, the method can further comprise the following steps:
and S204, carrying out time interval entity identification on other areas of the curriculum schedule to be processed.
And S205, if the secondary entity and the time interval entity are simultaneously identified in other areas, associating the time interval entity closest to the secondary entity.
Wherein the priority of the time interval entity closest to the secondary entity is as follows: the section entity and the time period entity are located in the same cell, the time period entity is located in the left cell of the section entity, the time period entity is located in the right cell of the section entity, the time period entity is located in the upper cell of the section entity, and the time period entity is located in the lower cell of the section entity. And one time interval entity can only be associated with one secondary entity, and the associated directions of all the time interval entities and the secondary entities are the same.
For example, for the curriculum schedule shown in fig. 15, the period entity identification may be made from the remarks area, period entity 08:00-08:45, and the distance between the two order entities is the same or close to the two order entities, the electronic device selects one order entity from the two order entities for association. When for segment entity 04:30-05:15, associating the order entities of the left cells, following the same association direction, with a time interval entity 04:30-05:15 also associate the segment entities to its left, so period entity 08:00-08:45 are associated with the first section, the section entity. After completing the association between the course entity and the time period entity, the electronic device may modify the curriculum schedule, add the time period to the cell in which the course of the curriculum schedule is located, as shown in fig. 21, and add the time period to the cell in which the course is located.
The distance may be a manhattan distance calculated using cell coordinates, this time without limitation, and this step may be omitted if the time period is already contained in the cell.
And S206, if no time period entity is identified in other areas, displaying the time period filling control in the display area, acquiring the time period input by the user in the time period filling control, and associating the time period with the corresponding node.
As with the curriculum schedule shown in fig. 22, after identifying the time zone and the event content zone, the electronic device may pop up a period filling text box (a form of period filling control) from which no period entities are identified in other zones. And the user inputs the time interval in the time interval filling text box and writes the time interval into the cell where the corresponding section is located.
The calendar event method shown in fig. 20 is advantageous in that if a time zone is not identified in a time zone, it can be identified from other zones whether a time zone entity exists, and if a time zone entity exists, the time zone under the time zone entity is written into the corresponding level cell; if no time interval entity exists, the user can manually input the time interval corresponding to the node to complete the association between the node and the time interval, so that the time interval can be written in the schedule event, and the schedule event is reminded by using the time interval.
Optionally, the electronic device may format the time slots in a 24-hour system, so as to label each time slot by using a uniform time system, and the process may be: if there is a period greater than 13 out of the periods, indicating that the schedule has been in use for the 24 hour system and is not in need of processing; if there is no period greater than 13 in the period, for each period entity, the period dividing entity closest to the period entity is found from the entities in the morning, noon, afternoon and evening.
The time interval division entity closest to the time interval entity has the priority as follows: the time interval entity and the time interval division entity are positioned in the same cell, the time interval division entity is positioned in the left cell of the time interval entity, the time interval division entity is positioned in the right cell of the time interval entity, the time interval division entity is positioned in the upper cell of the time interval entity, and the time interval division entity is positioned in the lower cell of the time interval entity. And one time interval entity can only be associated with one time interval division entity, and the associated directions of all the time interval entities and the time interval division entities are the same direction.
For example, for the entities in the afternoon corresponding to the fifth to eighth sections of the curriculum schedule shown in fig. 21, and the entities in the evening corresponding to the fourth to fourth sections of the evening, the time periods of these sections can be adjusted to 24 hours, as shown in fig. 23. Such as time +12 hours, which would correlate to afternoon and evening, to 24 hours. Note that: before noon is defined as 13, after afternoon, evening is defined as 13. If there are no time interval division entities in the pending schedule, such as the morning, noon, afternoon, and evening entities described above, the 24-hour system adjustment step may be omitted or may be manually modified by the user to the 24-hour system.
Optionally, the electronic device may further format the section, the week and the date to respectively unify formats of the section, the week and the date, for example, format the section so that the section can be represented in a unified format. The formatting process for the day, week and date is as follows:
if the week in the curriculum schedule to be processed is represented by 1 to 5, 1 to 7, one to five, one to seven, one to three, etc., the week or week, such as one, two, three, is added before the number, and is formatted as Monday, tuesday, wednesday; if a plurality of sections are written in the section unit cells in the curriculum to be processed, splitting the single section and formatting the single section, if the fifth section and the sixth section are included, splitting the single section into the fifth section and the sixth section; splitting sections 7 to 8 into a seventh section and an eighth section; if a plurality of dates are written in the date cells in the curriculum to be processed, the dates are divided and formatted, for example, 22 days, 27 days and 28 days are divided into 22 days, 27 days and 28 days.
As shown in fig. 4, the week in the curriculum schedule is represented by one-to-one day, the week is increased before the one-to-one day by the electronic device, and the week is formatted as monday to sunday, as shown in fig. 24, the one-to-one day written in the cells in the first row is adjusted to monday to sunday, and the curriculum schedule shown in fig. 3 achieves the purpose of unifying the week field format.
For the curriculum schedule shown in fig. 3, the fifth section and the sixth section are located in the same cell, the seventh section and the eighth section are located in the same cell, and the electronic device splits the fifth section and the sixth section into the fifth section and the sixth section according to the requirement of splitting and formatting the single section; the seventh and eighth sections are divided into seventh and eighth sections. As shown in fig. 25, the fifth section to the eighth section occupy one cell, and two sections are not written into one cell.
Splitting the date can be seen in fig. 26, where fig. 26 is a diagram showing a unified format of the date-day area in the curriculum schedule shown in fig. 5, and the writing of days 22, 27 and 28 is split into the writing of days 22, 27 and 28.
For example, in the practical application process, the format of each time field in the time area may be customized by the user, for example, a week X format may be adopted for 1 to 5, 1 to 7, one to five, one to seven, and the like, the number of the nodes is unified into the xth node, when the month and the day are written in one cell, the X month X day format is adopted, and X may adopt arabic numerals or one, two, three, and the like Chinese characters.
Optionally, the electronic device may display the to-be-processed schedule in the display area, where the displayed to-be-processed schedule may be an original schedule obtained by the electronic device, or may be a schedule after processing the to-be-processed schedule, such as a schedule after performing recognition and/or calendar event extraction. Taking the curriculum schedule shown in fig. 3 as an example, the electronic device may display the curriculum schedule shown in fig. 3, and may also display the curriculum schedule after any of the modifications of fig. 11, 15, 21, 23 and 25.
The user may click on any cell in the curriculum schedule to trigger the editing process for the curriculum schedule. As shown in fig. 27, the user clicks on the cell "computer application teaching yao xx site: c101", displaying an editing control (such as an editing text box shown in fig. 27) near the cell, and displaying the course and the corresponding time in the editing control, wherein the user can adjust at least one of the course and the time, such as adjusting the frequency" five weekly ". After detecting that the user clicks the confirmation button, the electronic equipment transmits the information of the location of the computer application teaching yao xx in the curriculum schedule: c101 "adjust to friday per week," computer application teaching yao xx site: the cell in which C101' is located is changed correspondingly.
The editing by the user may cause a change to the calendar event, such as event content and/or time change for the calendar event, and after acquiring the editing content by the user, the electronic device synchronously adjusts an associated portion in the calendar event. The "computer application teaching yao xx site in the curriculum schedule: c101, adjusting to friday every week, and if the electronic equipment extracts the location of 'the Yao xx taught by the computer application': and C101', the occurrence time is adjusted from Monday to Friday every week, and the occurrence time is adaptively changed along with the editing of the user, so that the accuracy is improved.
Optionally, the electronic device may further assign a virtual account name to the to-be-processed curriculum schedule, for example, specify a content written in a region in the to-be-processed curriculum schedule as the virtual account name of the to-be-processed curriculum schedule, for example, specify a title written in a title region of the to-be-processed curriculum schedule as the virtual account name of the to-be-processed curriculum schedule, and label the to-be-processed curriculum schedule with the virtual account name in the electronic device. The user may click on the virtual account name, and if the electronic device detects that the user clicks on the virtual account name, the curriculum schedule pointed to by the virtual account name may be displayed in the display area.
For example, as shown in fig. 28, the curriculum schedule shown in fig. 3 is displayed in the form of a virtual account name in the calendar account management of the electronic device, so that the curriculum schedule can be used as an entity object in some application program in the electronic device, and the operation on the curriculum schedule is triggered by the operation on the entity object. The display of the schedule is triggered by the user's clicking action as described above.
If the electronic device extracts calendar events from other types of calendars, such as meeting agenda, theater lineup, and train schedule, the electronic device may perform at least one of the following on these calendars:
the specific processing procedures of performing period entity identification on the schedule table to associate the minimum unit time with the period, performing 24-hour formatting processing on the period, performing splitting and formatting processing on the date, the week and the minimum unit time, editing the schedule table, and allocating a virtual account name to the schedule table are described in the above embodiments.
After the electronic device obtains the schedule event, the schedule attribute entity can be extracted from the schedule event, and the schedule event is reconstructed according to the extracted schedule attribute entity, for example, the schedule attribute entity is added to the schedule event as an independent entity. Except for displaying other contents in the schedule event in a region, the schedule attribute entity can be independently displayed in a region as a control, and a user can click the independently displayed schedule attribute entity to trigger auxiliary information associated with the schedule attribute entity.
The calendar property entities extracted by the electronic device may be different or the same for different types of calendars, for example for a curriculum the calendar property entities extracted are curriculum content, such as a curriculum, a lecturer, a classroom, etc., for a conference agenda the calendar property entities extracted may be a conference room. The auxiliary information associated with the corresponding schedule attribute entities may be different, for example, the auxiliary information associated with the course may be a profile of the course, and the auxiliary information associated with the teaching teacher may be a profile of the teacher and a contact information of the teacher. The auxiliary information associated with the classroom and meeting room can be a map on which navigation is displayed from the location of the user to the destination, the destination being the classroom or meeting room.
For example, from the meeting agenda shown in fig. 7, the electronic device gets the following calendar events:
schedule event 3:
{
the starting time is 09,
the end time is 11,
content ready pocket
The training content is the safety knowledge, and the training content is the safety knowledge,
the main speaker is yellow five,
the person taking part in the training is a new employee,
a training field, namely a conference room 001,
the responsible person has the functions of Zhang III,
if the mobile terminal is checked in, if yes,
remarks that the pen with the notebook, the sign pen,
},
date
3 month and 1 day
}
}
The electronic equipment extracts the schedule attribute entity of the training field from the schedule event 3, takes the training field as the newly added content of the schedule event 3, and performs highlighting display relative to the original content of the schedule event 3, if the training field is written in the back of the original content of the schedule event 3 again, the corresponding schedule event 3 is rewritten as:
{
the starting time is 09,
the end time is 11,
content to a back
The training content is the safety knowledge, and the training content is the safety knowledge,
the main speaker is yellow five,
the participant, namely the new employee, is trained,
a training field, namely a conference room 001,
the responsible person has the functions of Zhang III,
whether the check-in is carried out is yes,
remarks that the pen with the notebook, the sign pen,
},
date ready pocket
3 month and 1 day
}
Training field conference room 001
}
The electronic device may also change when outputting the schedule event, as shown in fig. 29, a "meeting 001" control is added to the schedule event modified according to the schedule attribute entity, and the "meeting 001" control may be clicked by the user, when the user clicks the "meeting 001" control, the electronic device may jump to the map application, and display a navigation path from the current location of the user to the "meeting 001" by using the map application.
Further, for calendars such as a curriculum schedule, meeting agenda schedule, movie schedule, etc., the user may select an identification area from the to-be-processed calendar from which the electronic device identifies a time zone and an event content zone before identifying a time such as a period, a week, and a date in the to-be-processed calendar. For example, the calendar table to be processed includes a title, a remark and a blank area, and the user can exclude the title, the remark and the blank area from the identification area when selecting the identification area, so as to reduce the area range identified by the electronic equipment. As shown in fig. 3, the curriculum schedule includes two areas, a title and a remark, and the user can select an area other than the title and the remark as the identification area, as shown in fig. 30. The electronic equipment can identify the time area and the event content area of the identification area during identification, and the area range identified by the electronic equipment is reduced.
The points to be explained here are: blank parts exist in the time area and the event content area, and the blank parts are not removed by a user when the identification area is selected, so that the identification area is ensured to be an area with continuous cells. For example, for the curriculum schedule shown in fig. 30, there is no curriculum schedule on tuesday through thursday in sections four through five and six, the cells are empty, and these blank sections are also enclosed by the user in the identification area.
Some embodiments of the present application also provide an electronic device, which may include: one or more processors, memory; the processor and memory may be connected by one or more communication buses. Wherein the memory has one or more computer programs stored thereon and configured to be executed by the one or more processors, and the one or more computer programs include instructions that can be used to execute the schedule event processing method provided by the present embodiment. Of course, the electronic device may further include other devices such as a sensor module, an audio module, and a SIM card interface, which is not limited in this embodiment.
In the embodiment of the present application, the electronic device may be divided into the functional modules according to the method example, for example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. It should be noted that, in the embodiment of the present application, the division of the module is schematic, and is only one logic function division, and another division manner may be available in actual implementation.
In the case of adopting the function modules divided corresponding to the respective functions, one possible composition of the schedule event processing apparatus related to the above and the embodiment is that the schedule event processing apparatus may include a processing unit and a storage unit, the storage unit being configured to store one or more programs; a processing unit to execute the one or more programs; the one or more programs include instructions for performing the above-described calendar event processing method. The calendar event processing device may be a processor for executing the calendar event processing method in the electronic device.
It should be noted that all relevant contents of each step related to the above method embodiment may be referred to the functional description of the corresponding functional module, and are not described herein again. The schedule event processing device provided by the embodiment of the application is used for executing the method of any embodiment, so that the same effect as the method of the embodiment can be achieved.
The present embodiment also provides a computer-readable storage medium, which includes instructions that, when executed on an electronic device, cause the electronic device to execute the schedule event processing method in the foregoing embodiments.
The present embodiment also provides a computer program product containing instructions, which, when run on an electronic device, causes the electronic device to execute the calendar event processing method in the above embodiments.
The present embodiment also provides a control apparatus, which includes a processor and a memory, where the memory is used to store a computer program code, and the computer program code includes computer instructions, and when the processor executes the computer instructions, the control apparatus executes the schedule event processing method in the above embodiments. The control device may be an integrated circuit IC or may be a system on chip SOC. The integrated circuit can be a general integrated circuit, a Field Programmable Gate Array (FPGA) or an Application Specific Integrated Circuit (ASIC).
Through the above description of the embodiments, it is clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the above described functions. For the specific working processes of the system, the apparatus and the unit described above, reference may be made to the corresponding processes in the foregoing method embodiments, and details are not described here again.
In the several embodiments provided in this embodiment, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules or units is only one type of logical functional division, and other divisions may be realized in practice, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, each functional unit in the embodiments of the present embodiment may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present embodiment essentially or partially contributes to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) or a processor to execute all or part of the steps of the method described in the embodiments. And the aforementioned storage medium includes: flash memory, removable hard drive, read only memory, random access memory, magnetic or optical disk, and the like.
The above description is only an embodiment of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions within the technical scope of the present disclosure should be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (15)

1. A method for processing a schedule event, comprising:
displaying a to-be-processed table in a display area, identifying and positioning the to-be-processed table to position a time area and an event content area in the to-be-processed table, and marking the time area and the event content area in the to-be-processed table;
receiving a selection operation of a user on the event content in the event content area;
responding to the selected operation, and extracting the occurrence time of the event content from the time region;
associating the event content with the occurrence time of the event content to obtain the schedule event, and associating the event content with the actual occurrence time of the event content through the schedule event;
wherein the locating the time zone in the table to be processed comprises: if the cells in the same row or column in the table to be processed contain continuous start-stop time, identifying the cells as a time period region; if the same row or the same column in the table to be processed is identified as the time interval region and the minimum unit time region at the same time, determining the same row or the same column as the time interval region;
if the time zone does not exist in the time zone, carrying out time zone entity identification on other zones in the table to be processed; if the minimum unit time entity and the time interval entity are simultaneously identified in other areas, associating the time interval entity closest to the minimum unit time entity; and if no time period entity is identified in other areas, displaying the time period filling control in the display area, acquiring the time period input by the user in the time period filling control, and associating the time period with the corresponding minimum unit time entity.
2. The method according to claim 1, wherein said extracting the occurrence time of the event content from the to-be-processed table in response to the selected operation comprises:
and responding to the selected operation, performing horizontal and/or vertical time query on the cell where the event content is located, wherein the time cell extending horizontally and/or the time cell extending vertically is the occurrence time of the event content.
3. The method according to claim 1, wherein the identifying and locating the table to be processed to locate the time region and the event content region in the table to be processed comprises:
positioning a time area in the table to be processed;
and identifying an event content area in the table to be processed according to a time area in the table to be processed, wherein the event content area is an area where the event content in the table to be processed is located, and the time area is an area where the occurrence time of all the event content is located.
4. The method of claim 3, wherein locating the time region in the table to be processed further comprises:
if the same row or column of the table to be processed contains the continuous cells with the minimum unit time, identifying the continuous cells as the minimum unit time area;
if the same row or column of the table to be processed contains continuous cells with the characters of week or week, identifying the cells as week areas;
if the same row or column of the table to be processed contains continuous cells with the characters of 'month' or 'day', the cells are identified as a date area;
if the same row or the same column in the table to be processed contains continuous numbers and the minimum unit time area is identified in other areas, identifying the area where the continuous numbers are located as a week area;
and if the same row or the same column in the table to be processed contains continuous numbers and the week area is identified in other areas, identifying the area where the continuous numbers are located as the minimum unit time area.
5. The method of claim 3, wherein the identifying the event content area in the pending table according to the time area in the pending table comprises:
if one row in the table to be processed is one field in the time field, one column is the other field in the time field, and the row and column regions corresponding to the row and the column are the event content regions;
and if all fields of the time fields in the table to be processed are positioned in the same row or the same column, the starting and stopping range of the same row or the same column is the event content area.
6. The method of claim 3, further comprising:
and obtaining an identification area selected by a user from the table to be processed, wherein the identification area is used for identifying the time area and the event content area.
7. The method according to any one of claims 3 to 6, further comprising:
and marking the time area and the event content area in the table to be processed, and displaying the time area and the event content area when the table to be processed is displayed.
8. The method according to any one of claims 1 to 6, further comprising:
and responding to the output instruction of the schedule event, and outputting the schedule event in a schedule form in the display area.
9. The method of claim 8, further comprising:
and merging at least two schedule events, wherein the at least two schedule events are schedule events which aim at the same event content, have overlapped occurrence time and continuous occurrence time.
10. The method of claim 8, further comprising:
and extracting a schedule attribute entity from the schedule event, and reconstructing the schedule event according to the extracted schedule attribute entity.
11. The method of claim 10, wherein reconstructing calendar events from the extracted calendar attribute entities comprises:
and adding the extracted schedule attribute entity as an independent entity to the schedule event, wherein the display mode of the extracted schedule attribute entity is different from the display modes of other entities in the schedule event.
12. The method of claim 11, further comprising:
receiving the triggering operation of the user on the extracted schedule attribute entity;
and responding to the trigger operation, and displaying the auxiliary information associated with the schedule attribute entity in the display area.
13. An electronic device, characterized in that the electronic device comprises: one or more processors, memory; wherein the memory is configured to store one or more computer program codes comprising computer instructions that, when executed by the one or more processors, cause the electronic device to perform the calendar event processing method of any of claims 1 to 12.
14. A schedule event processing apparatus characterized by comprising: a processing unit and a storage unit for storing one or more programs; the processing unit is configured to execute the one or more programs; the one or more programs include instructions for performing the calendar event processing method of any of claims 1 to 12.
15. A computer storage medium, comprising computer instructions which, when run on an electronic device, cause the electronic device to perform the calendar event processing method of any one of claims 1 to 12.
CN202110875498.6A 2021-07-30 2021-07-30 Schedule event processing method, electronic equipment, device and storage medium Active CN113869102B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110875498.6A CN113869102B (en) 2021-07-30 2021-07-30 Schedule event processing method, electronic equipment, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110875498.6A CN113869102B (en) 2021-07-30 2021-07-30 Schedule event processing method, electronic equipment, device and storage medium

Publications (2)

Publication Number Publication Date
CN113869102A CN113869102A (en) 2021-12-31
CN113869102B true CN113869102B (en) 2023-03-31

Family

ID=78990222

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110875498.6A Active CN113869102B (en) 2021-07-30 2021-07-30 Schedule event processing method, electronic equipment, device and storage medium

Country Status (1)

Country Link
CN (1) CN113869102B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105867912A (en) * 2016-03-25 2016-08-17 乐视控股(北京)有限公司 An extracting method and device for new event data of a calendar
CN112257405A (en) * 2020-10-22 2021-01-22 深圳前海微众银行股份有限公司 Webpage table editing method, device and equipment and computer readable storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013164779A (en) * 2012-02-13 2013-08-22 Mitsubishi Electric Corp Display control unit, display control method, and display control program
CN110110308A (en) * 2019-04-24 2019-08-09 融艺科技(北京)有限公司 Four-dimensional curriculum schedule data managing method and device
CN110738465A (en) * 2019-10-16 2020-01-31 江西科技学院 Course prompting method, device, equipment and storage medium based on image recognition
CN111461649B (en) * 2020-03-26 2024-01-19 维沃移动通信有限公司 Event reminding method and electronic equipment
CN112785249A (en) * 2020-12-31 2021-05-11 山东师范大学 Schedule management method and system based on VBA

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105867912A (en) * 2016-03-25 2016-08-17 乐视控股(北京)有限公司 An extracting method and device for new event data of a calendar
CN112257405A (en) * 2020-10-22 2021-01-22 深圳前海微众银行股份有限公司 Webpage table editing method, device and equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN113869102A (en) 2021-12-31

Similar Documents

Publication Publication Date Title
US10733466B2 (en) Method and device for reproducing content
US11849196B2 (en) Automatic data extraction and conversion of video/images/sound information from a slide presentation into an editable notetaking resource with optional overlay of the presenter
US8375292B2 (en) Tool and method for mapping and viewing an event
JP6133486B2 (en) Device, method and graphical user interface for organizing and presenting a collection of media items
US20170024371A1 (en) Narrative-based media organizing system for transforming and merging graphical representations of digital media within a work area
US20130179172A1 (en) Image reproducing device, image reproducing method
US20140225925A1 (en) Information processing device and storage medium
US20050125717A1 (en) System and method for off-line synchronized capturing and reviewing notes and presentations
US11061525B2 (en) Digital map calendar user interface
US20150288913A1 (en) Video information terminal device and video display system
KR20190077473A (en) Template-based calendar events with enhanced graphics
US20230129847A1 (en) Method, apparatus and device for issuing and replying to multimedia content
US20120324401A1 (en) Methods and system for three dimensional time and spacial user interface
JP2018517971A (en) Technology to manage bookmarks for media files
WO2024016917A1 (en) Method for displaying calendar view, and electronic device and readable storage medium
EP3454226A1 (en) Method and apparatus for displaying object
US8406610B2 (en) Systems and methods of editing media data
JP2001119653A (en) Multimedia information processing unit and image information processing unit
Rule et al. Using visual histories to reconstruct the mental context of suspended activities
KR102347068B1 (en) Method and device for replaying content
CN113869102B (en) Schedule event processing method, electronic equipment, device and storage medium
EP2947583B1 (en) Method and device for reproducing content
CN105893336B (en) A kind of text display method and terminal
US11573687B2 (en) Screenshot method and apparatus for information interaction interface, computing device and storage medium
Warner Enhancing Visual Media Through Reflection and Recomposition

Legal Events

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