CN115292524A - Method and device for recording diary based on wearable device - Google Patents

Method and device for recording diary based on wearable device Download PDF

Info

Publication number
CN115292524A
CN115292524A CN202210942518.1A CN202210942518A CN115292524A CN 115292524 A CN115292524 A CN 115292524A CN 202210942518 A CN202210942518 A CN 202210942518A CN 115292524 A CN115292524 A CN 115292524A
Authority
CN
China
Prior art keywords
diary
user
document
wearable device
picture
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210942518.1A
Other languages
Chinese (zh)
Inventor
潘涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Search Information Technology Co ltd
Original Assignee
Shanghai Search Information Technology 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 Shanghai Search Information Technology Co ltd filed Critical Shanghai Search Information Technology Co ltd
Priority to CN202210942518.1A priority Critical patent/CN115292524A/en
Publication of CN115292524A publication Critical patent/CN115292524A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/40Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
    • G06F16/41Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/163Wearable computers, e.g. on a belt

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Software Systems (AREA)
  • Multimedia (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a method and a device for recording diaries based on wearable equipment, wherein the method comprises the following steps: the wearable device obtains the diary type selected by the user, and calls an editing mode corresponding to the diary type to record the diary of the user according to the diary type selected by the user. The portable diary has the advantages that various diary types are provided for users, diary contents are enriched, diaries can be recorded quickly and conveniently on wearable equipment which is carried about, and diary recording efficiency and user experience can be improved.

Description

Method and device for recording diary based on wearable device
Technical Field
The embodiment of the invention relates to the technical field of intelligent equipment, in particular to a method and a device for recording diaries based on wearable equipment.
Background
In recent years, wearable devices have become popular, i.e. wearable devices that are worn directly on the body or are a portable device integrated into the clothing or accessories of the user. Wearable equipment is not only a hardware equipment, realizes powerful function through software support and data interaction, high in the clouds interaction more, and wearable equipment will bring very big transition to our life, perception.
At present, the mode of recording diaries by children students is the mode of recording diaries by traditional paper texts, and the mode can only record characters on paper, has large limitation and is not enough for comprehensively and visually embodying life records. Therefore, an electronic diary recording method capable of recording various diary contents is urgently needed, which is convenient for children students to record daily.
Disclosure of Invention
The embodiment of the invention provides a method and a device for recording a diary based on wearable equipment, which can be used for conveniently and quickly recording the daily life of a user and improving the diary recording efficiency and user experience.
In a first aspect, an embodiment of the present invention provides a method for recording a diary based on a wearable device, including:
the wearable device obtains a diary type selected by a user;
and the wearable device calls an editing mode corresponding to the diary type to record the diary of the user according to the diary type selected by the user.
Optionally, the diary type selected by the user is a text;
the wearable device calls an editing mode corresponding to the diary type to record the diary of the user according to the diary type selected by the user, and the method comprises the following steps:
when a user determines a character editing mode, the wearable device calls a text document editor, creates a new text document, records characters edited in the text document by the user, generates a diary document after the user determines that the editing is finished, and stores a voice result and the diary document in the database;
the wearable device calls a voice function when a user determines a voice editing mode, records a voice result, converts the voice result into characters, inputs the characters into a newly created text document, generates a diary document after the user determines that the editing is finished, and stores the voice result and the diary document into the database.
Optionally, the diary type selected by the user is a picture;
the wearable device calls an editing mode corresponding to the diary type to record the diary of the user according to the diary type selected by the user, and the method comprises the following steps:
the wearable device acquires a picture import mode selected by a user, calls an album gallery if the picture import mode is the album mode, imports a picture selected by the user into a newly created text document after the user selects the picture in the album gallery, generates a diary document after the user determines that editing is finished, and stores the diary document into a database;
if the picture import mode is a photographing mode, the wearable device calls a camera function, imports the picture into the newly created text document after confirming that the user finishes photographing, generates a diary document after the user confirms that the editing is finished, and stores the diary document into a database.
Optionally, the type of diary selected by the user is mood;
the wearable device calls an editing mode corresponding to the diary type to record the diary of the user according to the diary type selected by the user, and the method comprises the following steps:
the method comprises the steps that a new text document is created by the wearable device, a small expression picture corresponding to the mood selected by a user from a mood picture library is obtained, the small expression picture selected by the user is led into the newly created text document, a diary document is generated after the user confirms that editing is completed, and the diary document is stored in a database.
Optionally, after the wearable device invokes an editing mode corresponding to the diary type to record the diary of the user according to the diary type selected by the user, the method further includes:
the wearable device obtains a diary viewing request of a user, wherein the diary viewing request comprises a date selected by the user;
the wearable device sends the date selected by the user to a database so that the database queries diary documents corresponding to the date selected by the user;
and the wearable device acquires the diary document corresponding to the date selected by the user and sent by the database, and displays the diary document corresponding to the date selected by the user so that the user can view characters or pictures in the document or click to play voices corresponding to the characters.
In a second aspect, an embodiment of the present invention provides an apparatus for recording a diary based on a wearable device, including:
the acquisition unit is used for acquiring the diary type selected by the user;
and the processing unit is used for calling an editing mode corresponding to the diary type to record the diary of the user according to the diary type selected by the user.
Optionally, the type of the diary selected by the user is a text;
the processing unit is specifically configured to:
when a user determines a character editing mode, calling a text document editor, creating a new text document, recording characters edited in the text document by the user, generating a diary document after the user determines that the editing is finished, and storing a voice result and the diary document in the database;
when a user determines a voice editing mode, a voice function is called, a voice result is recorded, the voice result is converted into characters, the characters are recorded into a newly created text document, a diary document is generated after the user determines that the editing is finished, and the voice result and the diary document are stored in the database.
Optionally, the diary type selected by the user is a picture;
the processing unit is specifically configured to:
acquiring a picture import mode selected by a user, calling an album gallery if the picture import mode is the album mode, importing the picture selected by the user into a newly created text document after the user selects the picture in the album gallery, generating a diary document after the user determines that the editing is finished, and storing the diary document into a database;
and if the picture import mode is a photographing mode, calling a camera function, importing the picture into the newly created text document after the user is confirmed to finish photographing, generating a diary document after the user is confirmed to finish editing, and storing the diary document into a database.
Optionally, the diary type selected by the user is mood;
the processing unit is specifically configured to:
creating a new text document, acquiring a small expression picture corresponding to the mood selected by the user from the mood picture library, importing the small expression picture selected by the user into the newly created text document, generating a diary document after the user determines that the editing is finished, and storing the diary document into a database.
Optionally, the processing unit is further configured to:
after an editing mode corresponding to the diary type is called to record the diary of the user according to the diary type selected by the user, a diary viewing request of the user is obtained, wherein the diary viewing request comprises a date selected by the user;
sending the date selected by the user to a database so that the database queries diary documents corresponding to the date selected by the user;
and acquiring the diary document corresponding to the date selected by the user and sent by the database, and displaying the diary document corresponding to the date selected by the user so that the user can view characters or pictures in the document or click and play voices corresponding to the characters.
In a third aspect, an embodiment of the present invention further provides a computing device, including:
a memory for storing program instructions;
and the processor is used for calling the program instructions stored in the memory and executing the method for recording the diary based on the wearable device according to the obtained program.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable non-volatile storage medium, which includes computer-readable instructions, and when the computer reads and executes the computer-readable instructions, the computer is caused to execute the above method for recording a diary based on a wearable device.
In the embodiment of the invention, the wearable device acquires the diary type selected by the user, and calls an editing mode corresponding to the diary type to record the diary of the user according to the diary type selected by the user. The portable diary has the advantages that various diary types are provided for users, diary contents are enriched, diaries can be recorded quickly and conveniently on wearable equipment which is carried about, and diary recording efficiency and user experience can be improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required to be used in the description of the embodiments will be briefly introduced below, and it is apparent that the drawings in the description below are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings may be obtained based on these drawings without creative efforts.
Fig. 1 is a schematic diagram of a system architecture according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a method for recording a diary based on a wearable device according to an embodiment of the present invention;
fig. 3 is a schematic flow chart of a diary recording according to an embodiment of the present invention;
fig. 4 is a schematic flowchart of a diary document viewing process according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a device for recording a diary based on a wearable device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, belong to the protection scope of the present invention.
First, a wearing device to which an embodiment of the present invention is applied will be described by taking the structure shown in fig. 1 as an example. In the embodiment of the present invention, the wearable device 100 may include, but is not limited to, radio Frequency (RF) circuit 110, memory 120, input unit 130, wiFi module 170, display unit 140, sensor 150, audio circuit 160, processor 180, and motor 190.
Wherein those skilled in the art will appreciate that the wearable device 100 configuration shown in fig. 1 is merely exemplary and not limiting, the wearable device 100 may also include more or fewer components than shown, or combine certain components, or a different arrangement of components.
The RF circuit 110 may be used for receiving and transmitting signals during information transmission and reception or during a call, and in particular, for receiving downlink information of a base station and then processing the downlink information to the processor 180; in addition, the uplink data of the wearable device 100 is sent to the base station. Typically, the RF circuit includes, but is not limited to, an antenna, at least one Amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuitry 110 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communication (GSM), general Packet Radio Service (GPRS), code Division Multiple Access (CDMA), wideband Code Division Multiple Access (WCDMA), long Term Evolution (LTE), email, short Message Service (SMS), and the like.
The memory 120 may be used to store software programs and modules, and the processor 180 executes various functional applications and data processing of the wearable device 100 by operating the software programs and modules stored in the memory 120. The memory 120 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phone book, etc.) created according to the use of the wearable device 100, and the like. Further, the memory 120 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The input unit 130 may be used to receive input numeric or character information and generate key signals related to user settings and function control of the wearable device 100. Specifically, the input unit 130 may include a touch panel 131, an image pickup device 132, and other input devices 133. The image capturing device 132 can photograph the image to be captured, so as to transmit the image to the processor 150 for processing, and finally, present the image to the user through the display panel 141. The touch panel 131, also referred to as a touch screen, may collect touch operations of a user on or near the touch panel 131 (e.g., operations of the user on or near the touch panel 131 using any suitable object or accessory such as a finger or a stylus pen), and drive the corresponding connection device according to a preset program. Alternatively, the touch panel 131 may include two parts, namely, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 180, and can receive and execute commands sent by the processor 180. In addition, the touch panel 131 may be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The input unit 130 may include other input devices 132 in addition to the touch panel 131 and the image pickup device 132. In particular, other input devices 132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a joystick, and the like.
Among them, the display unit 140 may be used to display information input by the user or information provided to the user and various menus of the wearable device 100. The Display unit 140 may include a Display panel 141, and optionally, the Display panel 141 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch panel 131 can cover the display panel 141, and when the touch panel 131 detects a touch operation on or near the touch panel 131, the touch operation is transmitted to the processor 180 to determine the type of the touch event, and then the processor 180 provides a corresponding visual output on the display panel 141 according to the type of the touch event.
The visual output external display panel 141 that can be recognized by human eyes can be used as a display device in the embodiment of the present invention to display text information or image information. Although in fig. 1, the touch panel 131 and the display panel 141 are implemented as two separate components to implement the input and output functions of the wearable device 100, in some embodiments, the touch panel 131 and the display panel 141 may be integrated to implement the input and output functions of the wearable device 100.
In addition, the wearable device 100 may also include at least one sensor 150, such as a posture sensor, a distance sensor, a light sensor, and other sensors.
Specifically, the attitude sensor may also be referred to as a motion sensor, and as one of the motion sensors, an angular velocity sensor (also referred to as a gyroscope) may be cited for measuring a rotational angular velocity of the wearable device 100 in a state of motion when the wearable device 100 is deflected or tilted, so that the gyroscope can accurately analyze and determine an actual motion of a user using the wearable device 100, and perform a corresponding operation on the wearable device 100. For example: the motion sensing and the shaking (the shaking of the wearable device 100 achieves some functions) and the inertial navigation can be achieved according to the motion state of the object when the Global Positioning System (GPS) has no signal (such as in a tunnel).
The sensor may be an optical sensor, which is mainly used to collect information such as wavelength and intensity of various light rays of light and adjust the backlight intensity of the display panel 141.
In addition, in the embodiment of the present invention, as the sensor 150, other sensors such as a barometer, a hygrometer, a thermometer, and an infrared sensor may be further configured, which are not described herein again.
The light sensor may also include a proximity sensor that may turn off the display panel 141 and/or backlight when the wearable device 100 is moved to the ear.
The audio circuitry 160, speaker 161, microphone 162 may provide an audio interface between the user and the wearable device 100. The audio circuit 160 may transmit the electrical signal converted from the received audio data to the speaker 161, and convert the electrical signal into a sound signal for output by the speaker 161; on the other hand, the microphone 162 converts the collected sound signal into an electrical signal, and the electrical signal is received by the audio circuit 160 and converted into audio data, and the audio data is processed by the audio data output processor 180, and then transmitted to, for example, another wearable device 100 via the RF circuit 110, or the audio data is output to the memory 120 for further processing.
WiFi belongs to short distance wireless transmission technology, and the wearable device 100 can help the user send and receive e-mail, browse web pages, access streaming media, etc. through the WiFi module 170, which provides wireless broadband internet access for the user. Although fig. 1 shows the WiFi module 170, it is understood that it does not belong to the essential constitution of the wearable device 100, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 180 is a control center of the wearable device 100, connects various parts of the whole wearable device 100 by using various interfaces and lines, and performs various functions of the wearable device 100 and processes data by running or executing software programs and/or modules stored in the memory 120 and calling data stored in the memory 120, thereby performing overall monitoring of the wearable device 100. Alternatively, processor 180 may include one or more processing units; preferably, the processor 180 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications.
It will be appreciated that the modem processor described above may not be integrated into the processor 180.
The wearable device 100 may further include at least one motor 190, and since the wearable device 100 is a power consuming device, the motor 190 may be a small motor, and at the same time, a plurality of motors may be configured for the wearable device 100 according to the amount of power that the motors can provide.
The wearable device 100 also includes a power source (not shown) for powering the various components.
Preferably, the power source may be logically connected to the processor 180 through a power management system, so as to implement functions of managing charging, discharging, and power consumption management through the power management system. Although not shown, the wearable device 100 may further include a bluetooth module or the like, which is not described herein.
It should be noted that the structure shown in fig. 1 is only an example, and the embodiment of the present invention is not limited thereto.
Fig. 2 exemplarily shows a process of recording a diary based on a wearable device according to an embodiment of the present invention, where the process may be performed by an apparatus for recording a diary based on a wearable device, and the apparatus may be a server or may be located in the server.
As shown in fig. 2, the process specifically includes:
in step 201, the wearable device obtains a diary type selected by a user.
In the embodiment of the present invention, the wearable device may provide a plurality of diary types for the user to select, where the diary type may include a plurality of types, such as text, picture, and mood.
The user selection of the diary type may be accomplished in a number of ways, such as a check box, a drop-down box, or a plurality of options, as appropriate for a particular application.
Step 202, the wearable device calls an editing mode corresponding to the diary type to record the diary of the user according to the diary type selected by the user.
The types of the diary are different, and the way of recording the diary is also different, which may specifically include:
when the diary type selected by the user is a character, the wearable device calls the text document editor when the user determines the character editing mode, a new text document is created, characters edited in the text document by the user are recorded, the diary document is generated after the user determines that the editing is completed, and the voice result and the diary document are stored in the database. The wearable device calls a voice function when a user determines a voice editing mode, records a voice result, converts the voice result into characters, inputs the characters into a newly created text document, generates a diary document after the user determines that the editing is finished, and stores the voice result and the diary document into a database.
When recording the text notes, the user can select two editing modes, namely a voice editing mode and a text editing mode. When the user selects the voice editing mode, the user can click a recording button on the newly created text document to start recording, and at the moment, the user can perform voice input through a microphone of the wearable device. After the recording is finished, the function of voice conversion characters can be started to convert the recorded voice result into characters. The converted characters are directly displayed in the text document, so that the character entry is completed, and the diary document is generated. And establishing an association relation between the diary document and the voice result and storing the association relation in a database. So that the diary document and the corresponding voice result can be simultaneously inquired during later inquiry. When the user selects the character editing mode, a character input method can be called, the user inputs characters into the text document through the character input method, and the diary document can be generated after the characters are input and then stored in the database.
When the diary type selected by the user is a picture, the wearable device acquires a picture import mode selected by the user, if the picture import mode is the album mode, the wearable device calls an album gallery, after the user selects the picture in the album gallery, the picture selected by the user is imported into a newly created text document, after the user determines that the editing is finished, a diary document is generated, and the diary document is stored in a database; if the picture import mode is the photographing mode, the wearable device calls a camera function, after the user is confirmed to finish photographing, the picture is imported into the newly created text document, after the user is confirmed to finish editing, a diary document is generated, and the diary document is stored in the database.
When recording the picture diary, the user may also select two picture importing modes, which are an album mode and a photographing mode, respectively, and may be implemented by different selection buttons. When the user selects the album mode, the album gallery of the wearable device can be directly called, so that the user can select the pictures to be imported. When the user selects the picture to be imported, the picture selected by the user can be imported into the newly created text document. After the user clicks and edits, the diary document of the picture type can be generated and then stored in the database. When the user selects the photographing mode, the photographing camera of the wearable device can be directly called, and after the user photographs through the photographing camera, the photographs can be imported into the newly created text document. And after the user clicks an editing completion button, generating a picture type diary document and storing the picture type diary document in a database.
When the diary type selected by the user is mood, the wearable device creates a new text document, acquires the small expression picture corresponding to the mood selected by the user from the mood picture library, introduces the small expression picture selected by the user into the newly created text document, generates the diary document after the user determines that the editing is finished, and stores the diary document into the database. The mood may include happy, flat, sad, etc.
When the diary of the mood types is recorded, a picture library of the small expression pictures corresponding to different moods is provided for the user, so that the user can select the pictures. When the user selects the mood which the user wants to record, the small expression picture corresponding to the mood is imported into the newly created text document, after the user clicks and finishes editing, the diary document of the mood type is generated, and the diary document of the mood type is stored in the database.
After the diary document is stored in the database, a diary viewing function can be provided for the user, specifically, the wearable device obtains the diary document corresponding to the date selected by the user and sent by the database, and displays the diary document corresponding to the date selected by the user, so that the user can view characters or pictures in the document or click to play voice corresponding to the characters.
That is to say, the wearable device sends the date that the diary document needs to be checked to the database, the database inquires whether the diary document corresponds to the date, and when the diary document is inquired, the inquired diary document can be sent to the wearable device. The wearable device receives the diary document inquired by the database, the diary document can be displayed, the user can check the content in the diary document, such as characters, pictures and moods, if the characters have corresponding voice results, the user can click voice playing, and the voice results can be played.
In order to better explain the technical solution in the embodiment of the present invention, the process of the diary recording will be described below in a specific implementation scenario.
As with the flow shown in fig. 3, the user may select the type of diary edited: and selecting various diary types such as characters, pictures or moods. The text interface is divided into recording and text, and the original voice function of the system is adopted to store the recording result or the text content of the converted text into the database. The picture type is selected by calling an album of the watch or the picture taking function is used for taking pictures in real time. The mood type is used for selecting a plurality of small expression pictures, and the mood of the day is recorded by distraction, calmness, impairment and the like. And after the edition is successful, uploading the whole content of the diary to a database for storage.
In the diary document viewing process shown in fig. 4, the user initiates an application to the database after selecting a date, and obtains the diary content for display. The picture, the character, the mood and the click playing record can be checked.
The embodiment shows that the wearable device obtains the diary type selected by the user, and calls the editing mode corresponding to the diary type to record the diary of the user according to the diary type selected by the user. The portable diary device has the advantages that various diary types are provided for users, diary content is enriched, diaries can be rapidly and conveniently recorded on the wearable device, and diary recording efficiency and user experience can be improved.
Based on the same technical concept, fig. 5 exemplarily shows a structure of an apparatus for recording a diary based on a wearable device according to an embodiment of the present invention, and the apparatus can execute a process for recording a diary based on a wearable device.
As shown in fig. 5, the apparatus may include:
an obtaining unit 501, configured to obtain a diary type selected by a user;
the processing unit 502 is configured to invoke an editing mode corresponding to the diary type to record the diary of the user according to the diary type selected by the user.
Optionally, the diary type selected by the user is a text;
the processing unit 502 is specifically configured to:
when a user determines a character editing mode, calling a text document editor, creating a new text document, recording characters edited in the text document by the user, generating a diary document after the user determines that the editing is finished, and storing a voice result and the diary document in the database;
when a user determines a voice editing mode, a voice function is called, a voice result is recorded, the voice result is converted into characters, the characters are recorded into a newly created text document, a diary document is generated after the user determines that the editing is finished, and the voice result and the diary document are stored in the database.
Optionally, the diary type selected by the user is a picture;
the processing unit 502 is specifically configured to:
acquiring a picture import mode selected by a user, calling an album gallery if the picture import mode is the album mode, importing the picture selected by the user into a newly created text document after the user selects the picture in the album gallery, generating a diary document after the user determines that editing is completed, and storing the diary document into a database;
and if the picture import mode is a photographing mode, calling a camera function, importing the picture into the newly created text document after the user is confirmed to finish photographing, generating a diary document after the user is confirmed to finish editing, and storing the diary document into a database.
Optionally, the diary type selected by the user is mood;
the processing unit 502 is specifically configured to:
creating a new text document, acquiring a small expression picture corresponding to the mood selected by the user from the mood picture library, importing the small expression picture selected by the user into the newly created text document, generating a diary document after the user determines that the editing is completed, and storing the diary document into a database.
Optionally, the processing unit 502 is further configured to:
after an editing mode corresponding to the diary type is called to record the diary of the user according to the diary type selected by the user, a diary viewing request of the user is obtained, wherein the diary viewing request comprises a date selected by the user;
sending the date selected by the user to a database so that the database queries diary documents corresponding to the date selected by the user;
and acquiring the diary document corresponding to the date selected by the user and sent by the database, and displaying the diary document corresponding to the date selected by the user so that the user can view characters or pictures in the document or click and play voice corresponding to the characters.
Based on the same technical concept, an embodiment of the present invention further provides a computing device, including:
a memory for storing program instructions;
and the processor is used for calling the program instructions stored in the memory and executing the method for recording the diary based on the wearable device according to the obtained program.
Based on the same technical concept, the embodiment of the invention also provides a computer-readable non-volatile storage medium, which comprises computer-readable instructions, and when the computer reads and executes the computer-readable instructions, the computer is enabled to execute the method for recording the diary based on the wearable device.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (10)

1. A method for recording a diary based on a wearable device, comprising:
the wearable device obtains a diary type selected by a user;
and the wearable device calls an editing mode corresponding to the diary type to record the diary of the user according to the diary type selected by the user.
2. The method of claim 1, wherein the user-selected diary type is text;
the wearable device calls an editing mode corresponding to the diary type to record the diary of the user according to the diary type selected by the user, and the method comprises the following steps:
when a user determines a character editing mode, the wearable device calls a text document editor, creates a new text document, records characters edited in the text document by the user, generates a diary document after the user determines that the editing is finished, and stores a voice result and the diary document in the database;
the wearable device calls a voice function when a user determines a voice editing mode, records a voice result, converts the voice result into characters, inputs the characters into a newly created text document, generates a diary document after the user determines that the editing is finished, and stores the voice result and the diary document into the database.
3. The method of claim 1, wherein the user-selected diary type is a picture;
the wearable device calls an editing mode corresponding to the diary type to record the diary of the user according to the diary type selected by the user, and the method comprises the following steps:
the wearable device acquires a picture import mode selected by a user, calls an album gallery if the picture import mode is the album mode, imports a picture selected by the user into a newly created text document after the user selects the picture in the album gallery, generates a diary document after the user determines that editing is finished, and stores the diary document into a database;
if the picture import mode is a photographing mode, the wearable device calls a camera function, imports the picture into the newly created text document after confirming that the user finishes photographing, generates a diary document after the user confirms that the editing is finished, and stores the diary document into a database.
4. The method of claim 1, wherein the user selected type of diary is mood;
the wearable device calls an editing mode corresponding to the diary type to record the diary of the user according to the diary type selected by the user, and the method comprises the following steps:
the method comprises the steps that a new text document is created by the wearable device, a small expression picture corresponding to the mood selected by a user from a mood picture library is obtained, the small expression picture selected by the user is led into the newly created text document, a diary document is generated after the user confirms that editing is completed, and the diary document is stored in a database.
5. The method of any one of claims 1 to 4, after the wearable device calls an editing mode corresponding to the diary type to record the diary of the user according to the diary type selected by the user, further comprising:
the wearable device acquires a diary viewing request of a user, wherein the diary viewing request comprises a date selected by the user;
the wearable device sends the date selected by the user to a database so that the database queries diary documents corresponding to the date selected by the user;
and the wearable device acquires the diary document corresponding to the date selected by the user and sent by the database, and displays the diary document corresponding to the date selected by the user so that the user can view characters or pictures in the document or click to play voices corresponding to the characters.
6. The utility model provides a device based on wearing equipment record diary which characterized in that includes:
the acquisition unit is used for acquiring the diary type selected by the user;
and the processing unit is used for calling an editing mode corresponding to the diary type to record the diary of the user according to the diary type selected by the user.
7. The apparatus of claim 6, wherein the user selected type of diary is text;
the processing unit is specifically configured to:
when a user determines a character editing mode, calling a text document editor, creating a new text document, recording characters edited in the text document by the user, generating a diary document after the user determines that the editing is finished, and storing a voice result and the diary document in the database;
when a user determines a voice editing mode, calling a voice function, recording a voice result, converting the voice result into characters, inputting the characters into a newly created text document, generating a diary document after the user determines that editing is finished, and storing the voice result and the diary document into the database.
8. The apparatus of claim 6, wherein the user selected diary type is a picture;
the processing unit is specifically configured to:
acquiring a picture import mode selected by a user, calling an album gallery if the picture import mode is the album mode, importing the picture selected by the user into a newly created text document after the user selects the picture in the album gallery, generating a diary document after the user determines that the editing is finished, and storing the diary document into a database;
and if the picture import mode is a photographing mode, calling a camera function, importing the picture into the newly created text document after the user is confirmed to finish photographing, generating a diary document after the user is confirmed to finish editing, and storing the diary document into a database.
9. A computing device, comprising:
a memory for storing program instructions;
a processor for calling program instructions stored in said memory to execute the method of any one of claims 1 to 5 in accordance with the obtained program.
10. A computer-readable non-transitory storage medium including computer-readable instructions which, when read and executed by a computer, cause the computer to perform the method of any one of claims 1 to 5.
CN202210942518.1A 2022-08-10 2022-08-10 Method and device for recording diary based on wearable device Pending CN115292524A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210942518.1A CN115292524A (en) 2022-08-10 2022-08-10 Method and device for recording diary based on wearable device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210942518.1A CN115292524A (en) 2022-08-10 2022-08-10 Method and device for recording diary based on wearable device

Publications (1)

Publication Number Publication Date
CN115292524A true CN115292524A (en) 2022-11-04

Family

ID=83828090

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210942518.1A Pending CN115292524A (en) 2022-08-10 2022-08-10 Method and device for recording diary based on wearable device

Country Status (1)

Country Link
CN (1) CN115292524A (en)

Similar Documents

Publication Publication Date Title
CN107885533B (en) Method and device for managing component codes
CN104967900B (en) A kind of method and apparatus generating video
CN104967801B (en) A kind of video data handling procedure and device
CN109145142B (en) Management method and terminal for shared information of pictures
TWI578288B (en) Method and device for generating multimedia poster
CN108932159B (en) Task management method and device
CN103488939B (en) Method, device and terminal for prompting user
CN108959361B (en) Form management method and device
US9760998B2 (en) Video processing method and apparatus
WO2017215660A1 (en) Scene sound effect control method, and electronic device
CN113018868B (en) Cloud game login method, device and system
CN110673770B (en) Message display method and terminal equipment
CN110795007A (en) Method and device for acquiring screenshot information
CN110798327B (en) Message processing method, device and storage medium
CN112363660B (en) Method and device for determining cover image, electronic equipment and storage medium
CN109327608A (en) Method, terminal, server and the system that song is shared
JP7236551B2 (en) CHARACTER RECOMMENDATION METHOD, CHARACTER RECOMMENDATION DEVICE, COMPUTER AND PROGRAM
WO2016119165A1 (en) Chat history display method and apparatus
CN105635553B (en) Image shooting method and device
CN109068160A (en) The methods, devices and systems of inking video
CN109495638B (en) Information display method and terminal
CN111628925A (en) Song interaction method and device, terminal and storage medium
CN107766517A (en) A kind of acquisition methods of view data, device and mobile terminal
CN106777204B (en) Picture data processing method and device and mobile terminal
CN115278139A (en) Video processing method and device, electronic equipment and storage medium

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