Method and device for generating terminal timed task
By obtaining user input information on the terminal, using the big model to process and converting it into standard time information, and generating timing tasks, the problem of the complexity of converting natural language time description into Cron expressions is solved, and the intelligent timing control of the terminal is realized, which improves the User experience.
Patent Information
- Application Number
- CN202411158173.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-22
- Publication Date
- 2024-11-26
AI Technical Summary
The prior art is complex when converting time descriptions in natural language into Cron expressions, making it difficult to accurately obtain user intentions, resulting in difficulty in implementing terminal timing tasks and affecting user experience.
By obtaining user input information on the preset interface, using large-scale model processing to obtain initial time information, extract time elements, determine their type, process and convert them into standard time information, generate a time time, and convert it into a preset expression. Generate a timing task and send it to the terminal to be controlled for execution.
It simplifies the complexity of converting natural language time description into Cron expressions, accurately obtains user intentions, realizes intelligent timing control of the terminal, and improves user experience.
Smart Images

Figure CN119025245A_ABST
Abstract
Description
Technical Field
[0001] The disclosed embodiments relate to the field of terminal control technology, and in particular, to a method and device for generating a terminal scheduled task. Background Art
[0002] At present, with the development of intelligent terminals, users have more and more needs. Remote control of vehicles is one of the needs. However, at present, the time conversion method for remote control of vehicles is to directly write the decision logic into a piece of code, and then load and run it when the vehicle is running; there are also methods to configure multiple rules through the rule engine to implement decisions. However, in the specific implementation process of the above method, if the time description in natural language is directly converted into Cron expression, the overall implementation will be very complicated.
[0003] Therefore, there is an urgent need for a method for generating terminal scheduled tasks that can simplify the complexity of converting natural language time descriptions into Cron expressions, and then accurately obtain user instructions according to user intentions, and then control the terminal according to the user's instructions, so that the terminal can complete tasks according to user expectations and improve user experience. Summary of the invention
[0004] In order to solve the above technical problem or at least partially solve the above technical problem, an embodiment of the present disclosure provides a method and device for generating a terminal scheduled task.
[0005] A first aspect of an embodiment of the present disclosure provides a method for generating a terminal scheduled task, the method comprising:
[0006] The user's input information is obtained on a preset interface, and the user's input information is processed based on a preset large model to obtain initial time information; wherein the preset interface has account information of a logged-in user; the user's account information is account information of a terminal to be controlled; and the user's input information is used to instruct control of the terminal to be controlled;
[0007] Determine the timing time according to the initial time information;
[0008] A scheduled task is generated according to the scheduled time, and the scheduled task is sent to the terminal to be controlled; the terminal to be controlled is used to perform a corresponding operation at the scheduled time according to the scheduled task.
[0009] In one example, determining the timing time according to the initial time information includes:
[0010] Extracting the initial time information to obtain a time element, and determining the type of the time element;
[0011] Processing the time element according to the type of the time element to obtain standard time information;
[0012] Generate a timing time according to the standard time information.
[0013] In one example, if the type of the time element is a periodic cycle type, the time element is processed according to the type of the time element to obtain standard time information, including:
[0014] Get the current date information and the current cycle day;
[0015] According to the current date information and the current cycle day, the cycle day or the zone time in the time element is processed to obtain the standard time information.
[0016] In one example, if the type of the time element is a twelve-hour type, the time element is processed according to the type of the time element to obtain standard time information, including:
[0017] If there is a location time in the time element and the type of the location time belongs to the first location, the moment information in the time element is added with a preset value to obtain standard time information.
[0018] In one example, generating a timing time according to the standard time information includes:
[0019] The standard time information is converted according to a preset expression to generate the timing time.
[0020] In one example, after the user's input information is processed based on a preset large model to obtain initial time information, the method further includes:
[0021] Processing the user's input information based on a preset large model to obtain address information;
[0022] After generating the scheduled task according to the scheduled time, the method further includes:
[0023] Add the address information to the scheduled task.
[0024] In one example, the user's input information includes text information and / or audio information.
[0025] A second aspect of an embodiment of the present disclosure provides a device for generating a terminal scheduled task, the device comprising:
[0026] An acquisition module is used to acquire user input information on a preset interface, process the user input information based on a preset large model, and obtain initial time information; wherein the preset interface has logged in user account information; the user account information is the account information of the terminal to be controlled; the user input information is used to instruct control of the terminal to be controlled;
[0027] A determination module, used to determine the timing time according to the initial time information;
[0028] The sending module is used to generate a scheduled task according to the scheduled time and send the scheduled task to the terminal to be controlled; the terminal to be controlled is used to perform a corresponding operation at the scheduled time according to the scheduled task.
[0029] In one example, the determination module is used to extract the initial time information, obtain the time element, and determine the type of the time element;
[0030] Processing the time element according to the type of the time element to obtain standard time information;
[0031] Generate a timing time according to the standard time information.
[0032] In one example, if the type of the time element is a periodic cycle type, the determination module is used to obtain current date information and current cycle day;
[0033] According to the current date information and the current cycle day, the cycle day or the zone time in the time element is processed to obtain the standard time information.
[0034] In one example, if the type of the time element is a twelve-hour type, the determination module is used to add a preset value to the moment information in the time element to obtain standard time information if there is a zone time in the time element and the type of the zone time belongs to the first zone.
[0035] In one example, the determination module is used to convert the standard time information according to a preset expression to generate the timing time.
[0036] In one example, the apparatus further comprises:
[0037] A processing module, used for processing the user's input information based on a preset macro model to obtain address information;
[0038] In one example, the apparatus further comprises:
[0039] An adding module is used to add the address information to the scheduled task.
[0040] In one example, the user's input information includes text information and / or audio information.
[0041] A third aspect of an embodiment of the present disclosure provides a terminal, which includes: a processor and a memory, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor executes the method of the first aspect above.
[0042] A fourth aspect of an embodiment of the present disclosure provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the method of the first aspect described above can be implemented.
[0043] The disclosed embodiment provides a method and device for generating a terminal scheduled task, the method comprising: obtaining user input information on a preset interface, processing the user input information based on a preset big model to obtain initial time information; wherein the preset interface has account information of a logged-in user; the user account information is the account information of a terminal to be controlled; the user input information is used to indicate control of the terminal to be controlled; determining a scheduled time according to the initial time information; generating a scheduled task according to the scheduled time, and sending the scheduled task to the terminal to be controlled; the terminal to be controlled is used to perform a corresponding operation at the scheduled time according to the scheduled task. By adopting this technical solution, the user's instructions can be accurately obtained based on the big model according to the user's intention, and then the user's instructions can be generated into intelligent instructions based on the big model, and the terminal can be controlled by the intelligent instructions in a timely manner, so that the terminal can complete the task according to the content recognized by the big model without the user sending instructions in real time, thereby improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0045] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0046] Figure 1 It is a flowchart of a method for generating a terminal scheduled task provided by an embodiment of the present disclosure;
[0047] Figure 2 A schematic diagram of a process for generating a terminal scheduled task provided by an embodiment of the present disclosure is shown;
[0048] Figure 3 It is a structural diagram of a device for generating a terminal scheduled task provided by an embodiment of the present disclosure;
[0049] Figure 4 It is a schematic diagram of the structure of a terminal in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0050] In order to more clearly understand the above-mentioned objectives, features and advantages of the present disclosure, the scheme of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features in the embodiments can be combined with each other without conflict.
[0051] In the following description, many specific details are set forth to facilitate a full understanding of the present disclosure, but the present disclosure may also be implemented in other ways different from those described herein; it is obvious that the embodiments in the specification are only part of the embodiments of the present disclosure, rather than all of the embodiments.
[0052] Figure 1 1 is a flow chart of a method for generating a terminal scheduled task provided by an embodiment of the present disclosure, and the method can be executed by a terminal. The terminal can be exemplarily understood as a device such as a mobile phone, a tablet computer, a laptop computer, a desktop computer, a smart home or a vehicle. Figure 1 As shown, the method provided in this embodiment includes the following steps:
[0053] S101. Obtain user input information on a preset interface, process the user input information based on a preset large model, and obtain initial time information; wherein, the preset interface has account information of a logged-in user; the user account information is the account information of a terminal to be controlled; and the user input information is used to instruct control of the terminal to be controlled.
[0054] In one example, the preset interface can be an application interface, a mini-program interface, or a web page interface, without limitation. The preset interface has logged in the user's account information, and the user's account information is consistent with the account information logged in on the terminal to be controlled. The advantage of such a setting is that the user can remotely control the terminal to be controlled.
[0055] In one example, the user's input information includes text information and / or audio information. For example, the user's input information may be "I want to go to Ningbo at 3:30 pm".
[0056] In this embodiment, the preset large model is a model configured in an application, a mini-program, or a web page. For example, the preset large model can be a large language model (Large Language Model 1, LLM for short), which refers to a deep learning model trained with a large amount of text data, which can generate natural language text or understand the meaning of language text. The preset large model can perform speech recognition or semantic processing on the user's input information. In this embodiment, the initial time information is information describing the time, such as "3:30 p.m."
[0057] S102: Determine the timing time according to the initial time information.
[0058] In one example, the timing time is a time in a preset format, and the preset format is [seconds] [minutes] [hours] [date] [month] [week] [year]. For example, if the initial time information is 22:30 on July 26, 2024, the timing time is 0030 22 2607*2024, where * can be used instead because there is no week in the initial time information.
[0059] S103, generating a scheduled task according to the scheduled time, and sending the scheduled task to the terminal to be controlled; the terminal to be controlled is used to perform a corresponding operation at the scheduled time according to the scheduled task.
[0060] In one example, the scheduled task may be to turn on the air conditioner, turn on the speaker, or adjust the seat, etc. The scheduled task carries the scheduled time and is sent to the terminal to be controlled, so that the terminal to be controlled performs the corresponding operation at the scheduled time according to the scheduled task.
[0061] In one example, after processing the user's input information based on a preset macro model to obtain initial time information, the method further includes:
[0062] The user's input information is processed based on the preset large model to obtain the address information.
[0063] In one example, the address information may be a specific address or longitude and latitude information. For example, if the user inputs “I want to go to Ningbo at 3:30 pm”, the address information is “Ningbo”.
[0064] After generating the scheduled task according to the scheduled time, the method further includes:
[0065] Add address information to the scheduled task.
[0066] In one example, after obtaining the address information, the address information can be added to a scheduled task, and the terminal to be controlled can open the map information for navigation at a scheduled time. In this scenario, the terminal to be controlled can be a vehicle, and the vehicle can open the map information for navigation at a scheduled time.
[0067] The disclosed embodiment provides a method for generating a terminal scheduled task, the method comprising: obtaining the user's input information on a preset interface, processing the user's input information based on a preset big model, and obtaining initial time information; wherein the preset interface has the account information of the logged-in user; the user's account information is the account information of the terminal to be controlled; the user's input information is used to indicate the control of the terminal to be controlled; according to the initial time information, the scheduled time is determined; according to the scheduled time, a scheduled task is generated, and the scheduled task is sent to the terminal to be controlled; the terminal to be controlled is used to perform the corresponding operation at the scheduled time according to the scheduled task. The adoption of this technical solution can simplify the complexity of converting natural language time description into Cron expression, can accurately obtain the user's instructions based on the big model according to the user's intention, and then generate intelligent instructions based on the big model, and control the terminal by intelligent instructions, so that the terminal can complete the task according to the content recognized by the big model without the need for the user to send instructions in real time, thereby improving the user experience.
[0068] Figure 2 The flowchart of a method for generating a terminal scheduled task provided by an embodiment of the present disclosure is shown. The embodiment of the present disclosure is optimized on the basis of the above embodiment, and the embodiment of the present disclosure can be combined with various optional solutions in one or more of the above embodiments.
[0069] like Figure 2 As shown, the method for generating the terminal scheduled task may include the following steps:
[0070] S201. Obtain user input information on a preset interface, process the user input information based on a preset large model, and obtain initial time information; wherein, the preset interface includes account information of a logged-in user; the user account information is the account information of a terminal to be controlled; and the user input information is used to indicate control of the terminal to be controlled.
[0071] In an example, this step can refer to the content of step S101, which will not be repeated here.
[0072] S202: Extract the initial time information to obtain the time element, and determine the type of the time element.
[0073] In one example, a time element is a unit used to describe time, and the time element includes at least one of the following: date, cycle day, location time, and time information. The date refers to the specific year, month, and day information, and the cycle day refers to Monday, Tuesday, next week, etc. The location time refers to morning, morning, noon, afternoon, evening, and early morning, etc. The time information is 12:30 or 2 o'clock, etc.
[0074] For example, if the initial time information is "3:30 p.m.", then the time elements are "afternoon" and "3:30 p.m.". In this embodiment, the initial time information is segmented by a preset large model to obtain the time element. Specifically, the initial time information can be semantically analyzed, and then segmentation keywords can be obtained, and the segmentation keywords can be determined as time elements. The type of time element can be a periodic cycle type, a date type, a twelve-hour type, or a twenty-four-hour type. Specifically, a time element can correspond to multiple types at the same time, for example, the time element can be a periodic cycle type and a twelve-hour type.
[0075] S203. Process the time element according to the type of the time element to obtain standard time information.
[0076] In one example, if the type of the time element is a periodic cycle type, the time element is processed according to the type of the time element to obtain standard time information, including:
[0077] Get the current date information and the current cycle day;
[0078] According to the current date information and the current cycle day, the cycle day or location time in the time element is processed to obtain the standard time information.
[0079] In one example, the periodic cycle type refers to an expression that can be cyclical. For example, the periodic cycle type can be described as Monday, tomorrow, next week, etc. If the time element is "next Wednesday at 22:30", the type of the time element is a periodic cycle type, and the current date information needs to be obtained. The date information refers to the expression of a specific year, month, and day. For example, the current date information is July 29, 2024, and the current cycle day is the cycle day corresponding to the current date information. For example, July 29, 2024 corresponds to Monday.
[0080] If the time element is "22:30 every Wednesday", the type of the time element is also a periodic cycle type, and the current date information also needs to be obtained.
[0081] In this embodiment, the location time refers to the time description of morning, morning, early morning or afternoon. Standard time information refers to the description method of the 24-hour system through the year-month-day cycle day. After obtaining the current date information and the current cycle day, the "next Wednesday" in the time element is processed to obtain the standard time information, and the standard time information at this time is "22:30 on July 31, 2024". You can also process the "every Wednesday" in the time element to obtain the standard time information, and the standard time information at this time is "22:30 on July 31, 2024", "22:30 on August 7, 2024", "22:30 on August 14, 2024", etc. It is executed cyclically every Wednesday.
[0082] In one example, if the type of the time element is a twelve-hour type, the time element is processed according to the type of the time element to obtain standard time information, including:
[0083] If there is a zone time in the time element and the type of the zone time belongs to the first zone, the moment information in the time element is added with a preset value to obtain the standard time information.
[0084] In one example, the twelve-hour type refers to a way of describing time, and further, a way of describing time not exceeding 12. For example, three o'clock. The first zone includes a zone of noon greater than or equal to 1 o'clock and less than or equal to 5 o'clock; afternoon; a zone of evening greater than or equal to 4 o'clock and less than or equal to 10 o'clock; a zone of evening greater than or equal to 5 o'clock and less than or equal to 12 o'clock; a zone of midnight greater than or equal to 10 o'clock and less than or equal to 12 o'clock. The second zone is a zone other than the first zone.
[0085] In one example, the preset value is 12. If the time element contains a zone time and the type of the zone time belongs to the first zone, the time information in the time element is added with 12. For example, if the time element is 3:00 p.m., the standard time information is 15:00.
[0086] S204: Generate a timing time according to the standard time information.
[0087] In one example, generating a timing time according to standard time information includes:
[0088] Convert the standard time information according to the preset expression to generate the timing time.
[0089] In one example, the preset expression is a cron expression, and the standard time information is converted according to the cron expression to generate the scheduled time.
[0090] S205, generating a scheduled task according to the scheduled time, and sending the scheduled task to the terminal to be controlled; the terminal to be controlled is used to perform a corresponding operation at the scheduled time according to the scheduled task.
[0091] In an example, this step can refer to the content of step S103, which will not be repeated here.
[0092] The disclosed embodiment provides a method for generating a terminal timer task, the method comprising: extracting initial time information to obtain time elements, determining the type of the time elements, processing the time elements according to the type of the time elements, and obtaining standard time information. The timer time is generated according to the standard time information. By adopting the technical solution, different conversions can be performed according to different types of time elements, thereby obtaining an accurate timer time, thereby meeting the needs of users.
[0093] Figure 3 1 is a schematic diagram of a structure of a device for generating a terminal scheduled task provided by an embodiment of the present disclosure. The device for generating a terminal scheduled task can be understood as the above-mentioned terminal or some functional modules in the above-mentioned terminal. Figure 3 As shown, the terminal timing task generating device 30 includes:
[0094] The acquisition module 301 is used to acquire the user's input information on the preset interface, and process the user's input information based on the preset large model to obtain the initial time information; wherein the account information of the user logged in on the preset interface; the user's account information is the account information of the terminal to be controlled; the user's input information is used to indicate the control of the terminal to be controlled;
[0095] A determination module 302, used to determine a timing time according to the initial time information;
[0096] The sending module 303 is used to generate a scheduled task according to the scheduled time, and send the scheduled task to the terminal to be controlled; the terminal to be controlled is used to perform corresponding operations at the scheduled time according to the scheduled task.
[0097] In one example, the determination module 302 is used to extract the initial time information, obtain the time element, and determine the type of the time element;
[0098] According to the type of time element, the time element is processed to obtain standard time information;
[0099] Generates a timing time based on standard time information.
[0100] In one example, if the type of the time element is a periodic cycle type, a module is determined to obtain current date information and a current cycle day;
[0101] According to the current date information and the current cycle day, the cycle day or location time in the time element is processed to obtain the standard time information.
[0102] In one example, if the type of the time element is a twelve-hour type, the determination module 302 is used to add a preset value to the moment information in the time element to obtain standard time information if there is a zone time in the time element and the type of the zone time belongs to the first zone.
[0103] In one example, the determination module 302 is used to convert the standard time information according to a preset expression to generate a timing time.
[0104] In one example, the apparatus 30 further includes:
[0105] The processing module 304 is used to process the user's input information based on a preset macro model to obtain address information;
[0106] In one example, the apparatus 30 further includes:
[0107] The adding module 305 is used to add the address information to the scheduled task.
[0108] In one example, the user's input information includes text information and / or audio information.
[0109] The device provided in this embodiment can execute the method of any of the above embodiments, and its execution method and beneficial effects are similar, which will not be repeated here.
[0110] The embodiments of the present disclosure further provide a terminal, which includes: a memory storing a computer program; and a processor for executing the computer program. When the computer program is executed by the processor, the method of any of the above embodiments can be implemented.
[0111] For example, Figure 4 Schematic diagram of a terminal structure in an embodiment of the present disclosure. Figure 4 , which shows a schematic diagram of the structure of the terminal 1000 suitable for implementing the embodiment of the present disclosure. The terminal 1000 in the embodiment of the present disclosure may include but is not limited to mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 4 The terminal shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0112] like Figure 4As shown, the terminal 1000 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 1001, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1002 or a program loaded from a storage device 1008 into a random access memory (RAM) 1003. In the RAM 1003, various programs and data required for the operation of the terminal 1000 are also stored. The processing device 1001, the ROM 1002, and the RAM 1003 are connected to each other via a bus 1004. An input / output (I / O) interface 1005 is also connected to the bus 1004.
[0113] Typically, the following devices may be connected to the I / O interface 1005: an input device 1006 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 1007 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 1008 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 may allow the terminal 1000 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 4 The terminal 1000 is shown with various devices, but it should be understood that it is not required to implement or have all the devices shown. More or fewer devices may be implemented or have instead.
[0114] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device 1009, or installed from a storage device 1008, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.
[0115] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0116] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.
[0117] The computer-readable medium may be included in the terminal, or may exist independently without being installed in the terminal.
[0118] The above-mentioned computer-readable medium carries one or more programs. When the above-mentioned one or more programs are executed by the terminal, the terminal: obtains the user's input information on a preset interface, processes the user's input information based on a preset large model, and obtains initial time information; wherein, the preset interface has the account information of the logged-in user; the user's account information is the account information of the terminal to be controlled; the user's input information is used to indicate the control of the terminal to be controlled; according to the initial time information, the timing time is determined; according to the timing time, a timing task is generated, and the timing task is sent to the terminal to be controlled; the terminal to be controlled is used to perform corresponding operations at the timing time according to the timing task.
[0119] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages or a combination thereof, including but not limited to object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0120] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0121] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware, wherein the name of a unit does not, in some cases, limit the unit itself.
[0122] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0123] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0124] The embodiments of the present disclosure further provide a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the method of any of the above embodiments can be implemented. The execution method and beneficial effects are similar and will not be repeated here.
[0125] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0126] The above description is only a specific embodiment of the present disclosure, so that those skilled in the art can understand or implement the present disclosure. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to the embodiments described herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A method for generating a terminal scheduled task, characterized in that: include: The user's input information is obtained on a preset interface, and the user's input information is processed based on a preset large model to obtain initial time information; wherein the preset interface has account information of a logged-in user; the user's account information is account information of a terminal to be controlled; and the user's input information is used to instruct control of the terminal to be controlled; Determine the timing time according to the initial time information; A scheduled task is generated according to the scheduled time, and the scheduled task is sent to the terminal to be controlled; the terminal to be controlled is used to perform a corresponding operation at the scheduled time according to the scheduled task.
2. The method according to claim 1, characterized in that The determining the timing time according to the initial time information includes: Extracting the initial time information to obtain a time element, and determining the type of the time element; Processing the time element according to the type of the time element to obtain standard time information; Generate a timing time according to the standard time information.
3. The method according to claim 2, characterized in that If the type of the time element is a periodic cycle type, the time element is processed according to the type of the time element to obtain standard time information, including: Get the current date information and the current cycle day; According to the current date information and the current cycle day, the cycle day or the zone time in the time element is processed to obtain the standard time information.
4. The method according to claim 2, characterized in that: If the type of the time element is a twelve-hour type, the time element is processed according to the type of the time element to obtain standard time information, including: If there is a location time in the time element and the type of the location time belongs to the first location, the moment information in the time element is added with a preset value to obtain standard time information.
5. The method according to claim 2, characterized in that: The generating a timing time according to the standard time information comprises: The standard time information is converted according to a preset expression to generate the timing time.
6. The method according to claim 1, characterized in that After the user's input information is processed based on the preset large model to obtain the initial time information, the method further includes: Processing the user's input information based on a preset large model to obtain address information; After generating the scheduled task according to the scheduled time, the method further includes: Add the address information to the scheduled task.
7. The method according to any one of claims 1 to 6, characterized in that The user input information includes text information and / or audio information.
8. A device for generating a terminal scheduled task, characterized in that: include: An acquisition module is used to acquire user input information on a preset interface, process the user input information based on a preset large model, and obtain initial time information; wherein the preset interface has logged in user account information; the user account information is the account information of the terminal to be controlled; the user input information is used to instruct control of the terminal to be controlled; A determination module, used to determine the timing time according to the initial time information; The sending module is used to generate a scheduled task according to the scheduled time and send the scheduled task to the terminal to be controlled; the terminal to be controlled is used to perform a corresponding operation at the scheduled time according to the scheduled task.
9. A terminal, characterized in that: include: A processor and a memory, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor executes the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.
Citation Information
Cited By
Intelligent reminding method, device and equipment based on large model
CN120196733A
Intelligent reminder method, device and equipment based on large model
CN120196733B
