Method and device for processing service using request, and computer readable storage medium
AssigneeApollo Intelligent Driving Technology (Beijing) Co., Ltd.
InventorBo Zhu
Life of this patent
Estimating the term…
Abstract
A method and apparatus for processing a service using a request in a computer readable storage medium. An embodiment of the method comprises: acquiring a service using a request for a vehicle-mounted device; determining a to-be-processed request from unprocessed service using requests; determining, using a preset navigation status service layer, a service type to which the to-be-processed request belongs; and calling, using the navigation status service layer, a service module corresponding to the service type to process the to-be-processed request, the navigation status service layer recording corresponding relationships between different service types and different service modules.
Claims20
A method for processing service using requests, comprising:
- determining a to-be-processed service using request from unprocessed service using requests for a vehicle-mounted device;
- determining, using a preset navigation status service layer, a service type to which the to-be-processed service using request belongs;
- determining, using the preset navigation status service layer, a target service module corresponding to the service type and for executing the to-be-processed service using request, wherein the preset navigation status service layer records corresponding relationships between service types including the service type and service modules including the target service module;
- issuing the to-be-processed service using request to the target service module;
- controlling the target service module to determine a time difference between an actual request time and an actual execution time of the to-be-processed service using request;
- and
- controlling the target service module to compensate an execution parameter of the to-be-processed service using request according to the time difference,
- wherein the method further comprises:
- in response to the time difference satisfying a threshold, returning a prompt requesting re-input of the to-be-processed service using request and adding a flag to a re-input to-be-processed service using request, and controlling the preset navigation status service layer to issue the re-input to-be-processed service using request to the target service module with priority according to the flag.
An electronic device, comprising:
- at least one processor;
- and
- a storage device, in communication with the at least one processor,
- wherein the storage device stores instructions executable by the at least one processor, and the instructions when executed by the at least one processor, cause the at least one processor to perform operations, the operations comprising:
- determining a to-be-processed service using request from unprocessed service using requests for a vehicle-mounted device;
- determining, using a preset navigation status service layer, a service type to which the to-be-processed service using request belongs;
- determining, using the preset navigation status service layer, a target service module corresponding to the service type and for executing the to-be-processed service using request, wherein the preset navigation status service layer records corresponding relationships between service types including the service type and service modules including the target service module;
- issuing the to-be-processed service using request to the target service module;
- controlling the target service module to determine a time difference between an actual request time and an actual execution time of the to-be-processed service using request;
- and
- controlling the target service module to compensate an execution parameter of the to-be-processed service using request according to the time difference,
- wherein the operations further comprise:
- in response to the time difference satisfying a threshold, returning a prompt requesting re-input of the to-be-processed service using request and adding a flag to a re-input to-be-processed service using request, and controlling the preset navigation status service layer to issue the re-input to-be-processed service using request to the target service module with priority according to the flag.
A non-transitory computer readable storage medium, storing computer instructions, wherein the computer instructions are used to cause a computer to perform operations, the operations comprising:
- determining a to-be-processed service using request from unprocessed service using requests for a vehicle-mounted device;
- determining, using a preset navigation status service layer, a service type to which the to-be-processed service using request belongs;
- determining, using the preset navigation status service layer, a target service module corresponding to the service type and for executing the to-be-processed service using request, wherein the preset navigation status service layer records corresponding relationships between service types including the service type and service modules including the target service module;
- issuing the to-be-processed service using request to the target service module;
- controlling the target service module to determine a time difference between an actual request time and an actual execution time of the to-be-processed service using request;
- and
- controlling the target service module to compensate an execution parameter of the to-be-processed service using request according to the time difference,
- wherein the operations further comprise:
- in response to the time difference satisfying a threshold, returning a prompt requesting re-input of the to-be-processed service using request and adding a flag to a re-input to-be-processed service using request, and controlling the preset navigation status service layer to issue the re-input to-be-processed service using request to the target service module with priority according to the flag.
Dependencies are inferred from the claim text.