Schedule management method, schedule management device and computer readable storage medium
1. A schedule management method, comprising:
receiving information to be managed, and judging the type of the information to be managed, wherein the type of the information to be managed is at least one of characters, voice and pictures;
responding to the type of the information to be managed, identifying the information to be managed and generating information comprising character content and split symbols, wherein the split symbols comprise at least one of punctuation marks, line feed symbols and voice pause symbols;
analyzing schedule information indicated in the text content divided by the splitter, wherein the schedule information comprises: date, time and event;
and correcting each piece of analyzed schedule information, and importing all corrected schedule information into a schedule management application for storage.
2. The schedule management method according to claim 1, wherein in response to determining that the type of the information to be managed is a character, the text content is generated based on character recognition, and the split symbol is generated based on punctuation and/or line feed symbols.
3. The schedule management method according to claim 1, wherein in response to determining that the type of the information to be managed is voice, generating the text content based on recognition of a voice engine, and generating the split character based on a pause in voice.
4. The schedule management method according to claim 1, wherein in response to determining that the type of the information to be managed is a picture, generating the text content based on OCR engine recognition, and generating the split character based on punctuation marks existing in the picture.
5. The schedule management method of claim 1, wherein the punctuation mark comprises: at least one of a comma, period, semicolon, question mark, and exclamation mark.
6. The schedule management method according to claim 1, wherein said process of parsing the schedule information indicated in the text contents divided by said splitter comprises:
and sequentially judging whether keywords of date, time and event exist in the text contents divided by the split character, if one section of text contents has no keywords of date or time, merging the section of text contents into the previous section of text contents, and taking the merged text contents as an analysis source of the same schedule information.
7. The schedule management method according to claim 1, wherein said process of correcting each piece of schedule information analyzed includes:
and respectively correcting the date and the time in each piece of schedule information according to the time reference words.
8. The schedule management method of claim 7, wherein the time reference word comprises: today, tomorrow, the day after, yesterday, the morning and the afternoon.
9. A schedule management apparatus, comprising:
a memory configured to store one or more computer programs; and
a processor coupled to the memory and configured to execute the one or more programs to cause the apparatus to perform the method of any of claims 1-8.
10. A computer-readable storage medium having stored thereon machine-executable instructions, characterized in that: the machine executable instructions, when executed, cause a machine to perform the steps of the method of any of claims 1-8.
Background
With the progress of society, daily things to be handled in people's lives are more and more, and more important things may be forgotten, so that schedule management becomes more and more important.
At present, when people perform schedule management, a schedule creating mode in an existing scheme is generally that a user manually fills in according to an existing format of a terminal, a calendar application needs to be opened first, then the schedule is created, and key contents such as a theme, time, participants and the like are set.
Aiming at the problem that the current schedule management method is not intelligent and convenient enough, the technical personnel in the field are always searching for a solution to meet the requirement.
Disclosure of Invention
The invention aims to provide a schedule management method, a schedule management device and a computer readable storage medium, which solve the problem that the schedule management method in the prior art needs to manually input schedule information one by one and is not intelligent and convenient.
In order to solve the above technical problem, the present invention provides a schedule management method, including:
receiving information to be managed, and judging the type of the information to be managed, wherein the type of the information to be managed is at least one of characters, voice and pictures;
responding to the type of the information to be managed, identifying the information to be managed and generating information comprising character content and split symbols, wherein the split symbols comprise at least one of punctuation marks, line feed symbols and voice pause symbols;
analyzing schedule information indicated in the text content divided by the splitter, wherein the schedule information comprises: date, time and event;
and correcting each piece of analyzed schedule information, and importing all corrected schedule information into a schedule management application for storage.
Optionally, in the schedule management method, when it is determined that the type of the information to be managed is a text, the text content is generated based on character recognition, and the split symbol is generated based on a punctuation mark and/or a line feed symbol.
Optionally, in the schedule management method, when it is determined that the type of the information to be managed is voice, the text content is generated based on recognition of a voice engine, and the split character is generated based on a pause of the voice.
Optionally, in the schedule management method, when it is determined that the type of the information to be managed is a picture, the text content is generated based on OCR engine recognition, and the split symbol is generated based on a punctuation mark existing in the picture.
Optionally, in the schedule management method, the punctuation mark includes: comma, period, semicolon, question mark, and exclamation mark.
Optionally, in the schedule management method, the process of analyzing the schedule information in each segment of text content split by the splitter includes:
and sequentially judging whether keywords of date, time and event exist in each segment of text content, if one segment of text content has no keywords of date or time, merging the segment of text content into the previous segment of text content, and taking the merged text content as an analysis source of the same schedule information.
Optionally, in the schedule management method, the process of correcting each piece of parsed schedule information includes:
and respectively correcting the date and the time in each piece of schedule information according to the time reference words.
Optionally, in the schedule management method, the time word includes: today, tomorrow, the day after, yesterday, the morning and the afternoon.
The present invention also provides a schedule management apparatus, including: a memory configured to store one or more computer programs; and
a processor coupled to the memory and configured to execute the one or more programs to cause the apparatus to perform the method according to the above.
The present invention also provides a computer readable storage medium having stored thereon machine executable instructions which, when executed, cause a machine to perform steps in accordance with the method as described above.
In a schedule management method, a schedule management apparatus, and a computer-readable storage medium provided by the present invention, the schedule management method includes: receiving information to be managed, and judging the type of the information to be managed, wherein the type of the information to be managed is at least one of characters, voice and pictures; responding to the type of the information to be managed, identifying the information to be managed and generating information comprising character content and split symbols, wherein the split symbols comprise at least one of punctuation marks, line feed symbols and voice pause symbols; analyzing schedule information indicated in the text content divided by the splitter, wherein the schedule information comprises: date, time and event; and correcting each piece of analyzed schedule information, and importing all corrected schedule information into a schedule management application for storage. The schedule management method supports the recognition of various types of information to be managed, can intelligently recognize a plurality of pieces of schedule information included in the information to be managed input by a user at one time, and automatically generates schedules without manual addition of the user in schedule application, thereby not only improving the user experience effect, but also improving the processing efficiency.
Drawings
FIG. 1 is a flow chart of a method of schedule management according to an embodiment of the present invention;
FIG. 2 is a functional block diagram of a calendar management method according to an embodiment of the present invention.
Detailed Description
The schedule management method, the schedule management apparatus, and the computer-readable storage medium according to the present invention will be described in detail with reference to the accompanying drawings and specific embodiments. Advantages and features of the present invention will become apparent from the following description and from the claims. It is to be noted that the drawings are in a very simplified form and are not to precise scale, which is merely for the purpose of facilitating and distinctly claiming the embodiments of the present invention.
Referring to fig. 1 and fig. 2, fig. 1 is a flowchart illustrating a schedule management method according to the present invention; fig. 2 is a schematic block diagram of a schedule management method of the present invention. The schedule management method disclosed by the invention can be understood by combining the contents shown in fig. 1 and fig. 2, and specifically comprises the following steps:
firstly, executing step S1, receiving information to be managed, and determining the type of the information to be managed, wherein the type of the information to be managed is at least one of characters, voice and pictures;
next, step S2 is executed, and in response to determining the type of the information to be managed, the information to be managed is identified and information including text content and a split symbol is generated, where the split symbol includes at least one of a punctuation mark, a line feed symbol and a voice pause symbol.
According to the different types of the information to be managed, the corresponding process for identifying the information to be managed is different, and is mainly embodied in the information in two aspects of text content and split symbol. Specifically, when the type of the information to be managed is determined to be a character, the character content is generated based on character recognition, and the split symbol is generated based on punctuation marks and/or line feed symbols; when the type of the information to be managed is determined to be voice, generating the text content based on the recognition of a voice engine, and generating the split character based on the pause of the voice; and when the type of the information to be managed is determined to be a picture, generating the character content based on OCR engine recognition, and generating the split symbol based on the punctuation marks in the picture. Wherein the punctuation mark comprises: at least one of a comma, period, semicolon, question mark, and exclamation mark; the line feed symbol is typically referred to as a carriage return symbol.
Next, step S3 is executed to parse schedule information indicated in the text content divided by the splitter, where the schedule information includes: date, time and event;
specifically, the process of analyzing the schedule information indicated in the text content divided by the splitter includes:
and sequentially judging whether keywords of date, time and event exist in each segment of text content divided by the split character, if one segment of text content has no keywords of date or time, merging the segment of text content into the previous segment of text content, and taking the merged text content as an analysis source of the same schedule information. Specifically, whether the date, the time and the event are contained is filtered by using a regular expression. If the sentence contains the three elements, judging that the sentence is a new schedule; if there is no date or time, this statement is in addition to the previous calendar.
Next, step S4 is executed to correct each piece of parsed schedule information and import all corrected schedule information into the schedule management application for storage. Specifically, the correction process here mainly corrects the date and time in each piece of schedule information according to the time reference word; wherein the time reference word comprises: today, tomorrow, the day after, yesterday, the morning and the afternoon.
In order to increase the accuracy of the parsed schedule information, the present invention performs step S4, and the correction process substantially converts the daily language habits and time division rules of people into machine-recognizable data information. For example: if the information to be managed is a sentence of characters: "three-meeting in the afternoon, four-point interview, five-point cross report, six off-duty. ", the schedule information after the analysis of S3 is as follows: 1) a 15:00 conference; 2)4:00 in a meeting; 3)5:00 transaction report; 4) and 6:00 off duty. However, after the correction of S4, the finally parsed schedule information should be: 1) a 15:00 conference; 2) a 16:00 conference; 3)17:00 transaction report; 4)18:00 off duty. Therefore, the visible time pronoun 'afternoon' has the function of referring to limitation, and the time accurate expression is further limited, so that the accuracy of the analyzed schedule information is improved.
In order to better understand the process of the schedule management method of the present invention, an example is described below.
Example 1:
the content of the input voice type information to be managed is that "in the morning, i want to go to Olympic-Hillton to participate in the automobile peak forum first, and in the next Monday night, 8 airplanes go to the group meeting", and the following schedule is generated after the voice engine analysis:
the first piece of schedule information:
date: 11/2019 and 5/month
Time: 8:00
Event: i want to go to Olympic-Hilton to participate in the automobile peak forum
And the second piece of schedule information:
date: 11/2019
Time: 20:00
Event: airplane to attend group meeting
It should be noted that the current date of the equipment system is taken as "today" in the algorithm. For convenience of illustration, the 11 th and 4 th days in 2019 are taken as "today", "tomorrow" is the 11 th and 5 th days in 2019, and "next monday" is the 11 th and 11 th days in 2019).
Correspondingly, the invention also provides a schedule management device, which can be loaded on a mobile phone end or a vehicle end and specifically comprises a memory and a processor, wherein the memory is configured to store one or more computer programs; a processor is coupled to the memory and configured to execute the one or more programs to cause the apparatus to perform the method according to the above. .
It should be further appreciated that the present disclosure may be embodied as methods, apparatus, systems, and/or computer program products. The computer program product may include a computer-readable storage medium having computer-readable program instructions embodied thereon for carrying out various aspects of the present disclosure.
The computer readable storage medium may be a tangible device that can hold and store the instructions for use by the instruction execution device. The computer readable storage medium may be, for example, but not limited to, an electronic memory device, a magnetic memory device, an optical memory device, an electromagnetic memory device, a semiconductor memory device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a Static Random Access Memory (SRAM), a portable compact disc read-only memory (CD-ROM), a Digital Versatile Disc (DVD), a memory stick, a floppy disk, a mechanical coding device, such as punch cards or in-groove projection structures having instructions stored thereon, and any suitable combination of the foregoing. Computer-readable storage media as used herein is not to be construed as transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission medium (e.g., optical pulses through a fiber optic cable), or electrical signals transmitted through electrical wires.
The computer-readable program instructions described herein may be downloaded from a computer-readable storage medium to a respective computing/processing device, or to an external computer or external storage device via a network, such as the internet, a local area network, a wide area network, and/or a wireless network. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. The network adapter card or network interface in each computing/processing device receives computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in the respective computing/processing device.
The computer program instructions for carrying out operations of the present disclosure may be assembler instructions, Instruction Set Architecture (ISA) instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The computer-readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider). In some embodiments, the electronic circuitry that can execute the computer-readable program instructions implements aspects of the present disclosure by utilizing the state information of the computer-readable program instructions to personalize the electronic circuitry, such as a programmable logic circuit, a Field Programmable Gate Array (FPGA), or a Programmable Logic Array (PLA).
Various aspects of the present disclosure are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the disclosure. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer-readable program instructions.
These computer-readable program instructions may be provided to a processor in a voice interaction device, a processing unit of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processing unit of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer-readable program instructions may also be stored in a computer-readable storage medium that can direct a computer, programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer-readable medium storing the instructions comprises an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer, other programmable apparatus or other devices implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Having described embodiments of the present disclosure, the foregoing description is intended to be exemplary, not exhaustive, and not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen in order to best explain the principles of the embodiments, the practical application, or improvements made to the technology in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.
The above are merely alternative embodiments of the present disclosure and are not intended to limit the present disclosure, which may be modified and varied by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present disclosure should be included in the protection scope of the present disclosure.
- 上一篇:石墨接头机器人自动装卡簧、装栓机
- 下一篇:高精度地图绘制任务的处理方法、装置与系统