US2024338360A1PendingUtilityA1

Method of querying information, electronic device, and storage medium

Assignee: BEIJING BAIDU NETCOM SCI & TECH CO LTDPriority: Mar 13, 2024Filed: Jun 20, 2024Published: Oct 10, 2024
Est. expiryMar 13, 2044(~17.6 yrs left)· nominal 20-yr term from priority
Inventors:Jing Qu
G06F 16/2453G06F 16/258G06F 16/2386G06F 11/3409G06F 16/31G06F 16/335G06F 16/9537G06F 16/9535
54
PatentIndex Score
0
Cited by
0
References
0
Claims

Abstract

A method of querying an information, an electronic device, and a storage medium are provided, which relate to a field of artificial intelligence technology, in particular to fields of large language model, information processing and intelligent office technologies. The method includes: acquiring a time period to be queried, a number of items to be queried and an object identification of a target object corresponding to the information query request, in response to receiving the information query request from the target object; processing the time period to be queried, the number of items to be queried, the object identification and a predetermined parameter format text to obtain a target parameter, where the target parameter represents an input parameter of a query interface of an information query system; and acquiring, by invoking the query interface, a target information from the information query system based on the target parameter.

Claims

exact text as granted — not AI-modified
What is claimed is: 
     
         1 . A method of querying an information, comprising:
 acquiring a time period to be queried corresponding to an information query request, a number of items to be queried corresponding to the information query request and an object identification of a target object corresponding to the information query request, in response to receiving the information query request from the target object;   processing the time period to be queried, the number of items to be queried, the object identification and a predetermined parameter format text to obtain a target parameter, wherein the target parameter represents an input parameter of a query interface of an information query system; and   acquiring, by invoking the query interface, a target information from the information query system based on the target parameter.   
     
     
         2 . The method according to  claim 1 , wherein the acquiring, by invoking the query interface, a target information from the information query system based on the target parameter comprises:
 parsing the target parameter to obtain a parsing result, wherein the parsing result comprises a target query period, a target number of items and the object identification;   acquiring a query attribute information according to the parsing result; and   acquiring the target information from the information query system according to the query attribute information;   wherein the query attribute information comprises the target query period, the target number of items and the object identification, in response to the parsing result being matched with the information query request; and   wherein the query attribute information comprises a predetermined query period, a predetermined number of query items and the object identification, in response to the parsing result being not matched with the information query request.   
     
     
         3 . The method according to  claim 2 , wherein the information query system comprises historical item download information of at least two target objects; and
 wherein the acquiring the target information from the information query system according to the query attribute information comprises:
 determining a target historical item download information corresponding to the object identification from the historical item download information of the at least two target objects; and 
 determining, from the target historical item download information, the target information corresponding to the query attribute information. 
   
     
     
         4 . The method according to  claim 1 , wherein the information query system comprises a mapping relationship between an information and an information storage address; and
 wherein the method further comprises:
 determining a storage address information of the target information based on the mapping relationship; 
 acquiring a network environment information of the target object; and 
 concatenating the storage address information and the network environment information to generate a target link information, wherein the target link information is generated for the target object to download the target information. 
   
     
     
         5 . The method according to  claim 1 , wherein the processing the time period to be queried, the number of items to be queried, the object identification and a predetermined parameter format text to obtain a target parameter comprises:
 constructing a prompt text according to the time period to be queried, the number of items to be queried, the object identification and the predetermined parameter format text; and   processing the prompt text by using a generative large model to obtain the target parameter.   
     
     
         6 . The method according to  claim 1 , further comprising:
 acquiring a content information of a target item and a predetermined template, wherein the predetermined template comprises a filling position corresponding to a content, a name field, and a content field; and   filling the content information into the content field corresponding to the name field according to the filling position, so as to generate an information of the target item.   
     
     
         7 . The method according to  claim 6 , further comprising:
 configuring a target storage address according to a download object identification of the target item; and   storing the information of the target item according to the target storage address.   
     
     
         8 . An electronic device, comprising:
 at least one processor; and   a memory communicatively connected to the at least one processor, wherein the memory stores instructions executable by the at least one processor, and the instructions are configured to, when executed by the at least one processor, cause the at least one processor to:   acquire a time period to be queried corresponding to an information query request, a number of items to be queried corresponding to the information query request and an object identification of a target object corresponding to the information query request, in response to receiving the information query request from the target object;   process the time period to be queried, the number of items to be queried, the object identification and a predetermined parameter format text to obtain a target parameter, wherein the target parameter represents an input parameter of a query interface of an information query system; and   acquire, by invoking the query interface, a target information from the information query system based on the target parameter.   
     
     
         9 . The electronic device according to  claim 8 , wherein the at least one processor is further configured to:
 parse the target parameter to obtain a parsing result, wherein the parsing result comprises a target query period, a target number of items and the object identification;   acquire a query attribute information according to the parsing result; and   acquire the target information from the information query system according to the query attribute information;   wherein the query attribute information comprises the target query period, the target number of items and the object identification, in response to the parsing result being matched with the information query request; and   wherein the query attribute information comprises a predetermined query period, a predetermined number of query items and the object identification, in response to the parsing result being not matched with the information query request.   
     
     
         10 . The electronic device according to  claim 9 , wherein the information query system comprises historical item download information of at least two target objects; and
 wherein the at least one processor is further configured to:
 determine a target historical item download information corresponding to the object identification from the historical item download information of the at least two target objects; and 
 determine, from the target historical item download information, the target information corresponding to the query attribute information. 
   
     
     
         11 . The electronic device according to  claim 8 , wherein the information query system comprises a mapping relationship between an information and an information storage address; and
 wherein the at least one processor is further configured to:
 determine a storage address information of the target information based on the mapping relationship; 
 acquire a network environment information of the target object; and 
 concatenate the storage address information and the network environment information to generate a target link information, wherein the target link information is generated for the target object to download the target information. 
   
     
     
         12 . The electronic device according to  claim 8 , wherein the at least one processor is further configured to:
 construct a prompt text according to the time period to be queried, the number of items to be queried, the object identification and the predetermined parameter format text; and   process the prompt text by using a generative large model to obtain the target parameter.   
     
     
         13 . The electronic device according to  claim 8 , wherein the at least one processor is further configured to:
 acquire a content information of a target item and a predetermined template, wherein the predetermined template comprises a filling position corresponding to a content, a name field, and a content field; and   fill the content information into the content field corresponding to the name field according to the filling position, so as to generate an information of the target item.   
     
     
         14 . The electronic device according to  claim 13 , wherein the at least one processor is further configured to:
 configure a target storage address according to a download object identification of the target item; and   store the information of the target item according to the target storage address.   
     
     
         15 . A non-transitory computer-readable storage medium having computer instructions therein, wherein the computer instructions are configured to cause a computer to:
 acquire a time period to be queried corresponding to an information query request, a number of items to be queried corresponding to the information query request and an object identification of a target object corresponding to the information query request, in response to receiving the information query request from the target object;   process the time period to be queried, the number of items to be queried, the object identification and a predetermined parameter format text to obtain a target parameter, wherein the target parameter represents an input parameter of a query interface of an information query system; and   acquire, by invoking the query interface, a target information from the information query system based on the target parameter.   
     
     
         16 . The non-transitory computer-readable storage medium according to  claim 15 , wherein the computer instructions are further configured to cause the computer to:
 parse the target parameter to obtain a parsing result, wherein the parsing result comprises a target query period, a target number of items and the object identification;   acquire a query attribute information according to the parsing result; and   acquire the target information from the information query system according to the query attribute information;   wherein the query attribute information comprises the target query period, the target number of items and the object identification, in response to the parsing result being matched with the information query request; and   wherein the query attribute information comprises a predetermined query period, a predetermined number of query items and the object identification, in response to the parsing result being not matched with the information query request.   
     
     
         17 . The non-transitory computer-readable storage medium according to  claim 16 , wherein the information query system comprises historical item download information of at least two target objects; and
 wherein the computer instructions are further configured to cause the computer to:
 determine a target historical item download information corresponding to the object identification from the historical item download information of the at least two target objects; and 
 determine, from the target historical item download information, the target information corresponding to the query attribute information. 
   
     
     
         18 . The non-transitory computer-readable storage medium according to  claim 15 , wherein the information query system comprises a mapping relationship between an information and an information storage address; and
 wherein the computer instructions are further configured to cause the computer to:
 determine a storage address information of the target information based on the mapping relationship; 
 acquire a network environment information of the target object; and 
 concatenate the storage address information and the network environment information to generate a target link information, wherein the target link information is generated for the target object to download the target information. 
   
     
     
         19 . The non-transitory computer-readable storage medium according to  claim 15 , wherein the computer instructions are further configured to cause the computer to:
 construct a prompt text according to the time period to be queried, the number of items to be queried, the object identification and the predetermined parameter format text; and   process the prompt text by using a generative large model to obtain the target parameter.   
     
     
         20 . The non-transitory computer-readable storage medium according to  claim 15 , wherein the computer instructions are further configured to cause the computer to:
 acquire a content information of a target item and a predetermined template, wherein the predetermined template comprises a filling position corresponding to a content, a name field, and a content field; and   fill the content information into the content field corresponding to the name field according to the filling position, so as to generate an information of the target item.

Join the waitlist — get patent alerts

Track US2024338360A1 — get alerts on status changes and closely related new filings.

We store only your email — no account needed. See our privacy policy.