CPC G06F 16/9035 (2019.01) [G06F 9/4881 (2013.01); G06F 2209/486 (2013.01)] | 20 Claims |
1. A method implemented by an electronic device, wherein the method comprises:
receiving first request information from a first user, wherein the first request information comprises target key information;
storing the target key information in a shared parameter list in a non-transitory computer-readable storage memory of the electronic device, wherein the shared parameter list comprises first identifiers of first task engines, second identifiers of second users of the first task engines, third identifiers of slots, and a plurality of first parameters corresponding to each of the first task engines, wherein each of the slots comprises one of the first identifiers of the first task engines and a corresponding one of a plurality of slot types, wherein the plurality of slot types comprises a time type, a location type, a behavior type, and a character type, wherein the plurality of first parameters comprises the target key information, wherein the shared parameter list comprises a plurality of rows of entries, wherein a first one of the plurality of rows of entries comprises a first user identifier, a first one of the slots corresponding to the time type, and a time value corresponding to the first one of the slots, wherein a second one of the plurality of rows of entries comprises a second user identifier, a second one of the slots corresponding to the location type, and a location value corresponding to the second one of the slots, wherein a third one of the plurality of rows of entries comprises a third user identifier, a third one of the slots corresponding to the behavior type, and a behavior value corresponding to the third one of the slots, and wherein a fourth one of the plurality of rows of entries comprises a fourth user identifier, a fourth one of the slots corresponding to the character type, and a character value corresponding to the fourth one of the slots;
receiving second request information from the first user, wherein the second request information corresponds to completing a computing task, wherein the second request information comprises intent information and key information, and wherein the second request information is received at a first time;
identifying, based on the intent information, from the first task engines, and by one or more processors of the electronic device, a second task engine for the second request information, wherein a first slot is set in the second task engine, and wherein the first slot corresponds to one of the plurality of slot types;
obtaining, based on an intersection of the first task engines and third task engines that have been used within a preset time of the first time of receiving the second request information, a subset of the first task engines;
obtaining, based on the subset of the first task engines, the first user, and the one of the plurality of slot types, the target key information from the shared parameter list in the non-transitory computer-readable storage memory of the electronic device when the target key information is not extracted from the second request information based on the first slot or when the key information is extracted from the second request information based on the first slot and the key information does not meet a condition, wherein the shared parameter list comprises a first correspondence between a second slot and the target key information, wherein the second slot and the first slot have the same slot type, wherein the second slot is in a fourth task engine from the first task engines, and wherein the second task engine is different from the fourth task engine; and
executing, in response to receiving the second request information and by the one or more processors of the electronic device, the computing task using the target key information from the shared parameter list and not from the second request information.
|