Device and information processing method
Abstract
A device includes a device control unit that controls the device to execute a process based on setting information received via a first interface for accepting a process execution request, and an application unit that displays a first screen for accepting a specific setting relating to the process from a user and sends to the device control unit, via the first interface, the setting information that is based on the specific setting accepted via the first screen. The application unit accepts from an application program installed in the device, via a second interface, a display request for displaying the first screen, and sends information indicating the specific setting accepted via the first screen to the application program as a response to the display request. The information indicating the specific setting sent to the application program has the same configuration as the setting information sent to the device control unit.
Claims
exact text as granted — not AI-modifiedWhat is claimed is:
1. A device comprising:
a first processor and a second processor, different from the first processor; and
at least one memory that stores a first application program and a second application program, wherein
the first application program causes the first processor to
display a first screen configured to accept a specific setting, relating to a process to be executed by the device, from a user,
generate setting information based on the specific setting accepted from the user via the first screen,
send the setting information to the second processor via an application programming interface configured to accept a process execution request for the device from the first processor, and
switch from displaying the first screen to displaying a second screen upon sending the setting information to the second processor via the application programming interface, the second screen being a main screen of the second application configured to accept operations by the user; and
the second application program causes the second processor to
execute the process based on the received setting information, received via the application programming interface, upon receiving an execution start request via a user operation on the second screen,
accept a display request for displaying the first screen from the second application program, via an interface published by the second application, and
send acceptance information that indicates the acceptance of the specific setting to the second application program as a response to the display request, wherein
the acceptance information that is sent to the second application program has the same configuration as the setting information that is sent to the second processor via the application programming interface, and
upon receiving the execution start request, the second application sends an execution request to the first application via the interface published by the second application, the execution start request being based on the setting information as sent from the first application.
2. The device according to claim 1 , wherein the first application further causes the first processor to
accept the display request that includes an initial setting value for the first screen having the same configuration as the setting information, and
display the first screen that reflects the initial setting value.
3. The device according to claim 1 , wherein the first application further causes the first processor to
accept the process execution request from the second application program, via the published interface, along with the information indicating the specific setting that has been sent to the second application program, and
send to the second processor, via the application programming interface, the setting information that is based on the information indicating the specific setting that has been accepted along with the process execution request.
4. The device according to claim 3 , wherein the first application program further causes the first processor to
display a third screen indicating that the process is in progress, in response to accepting the process execution request.
5. The device according to claim 3 , wherein the first application program further causes the first processor to
send identification information identifying data that has been generated by the process to the first application program as a response to the process execution request.
6. The device according to claim 1 , wherein the first application program further causes the first processor to
convert a format of the setting information set up via an interface published by the first application to a format of the setting information to be set up via the interface published by the second application before sending the setting information to the second processor in a case where the format of the setting information to be set up via the interface published by the second application differs from the format of the setting information set up via the interface published by the first application, and
send the setting information to the second processor without modification in a case where the format of the setting information to be set up via the interface published by the second application is the same as the format of the setting information set up via the interface published by the first application.
7. An information processing method that is implemented by a device including a first processor and a second processor, the information processing method comprising:
a second application program causing the second processor to
control the device to execute a process based on setting information received via an application programming interface that is configured to accept a process execution request for the device from the first processor; and
a first application program causing the first processor to
display a first screen that is configured to accept a specific setting relating to the process from a user,
generate the setting information based on the specific setting accepted from the user via the first screen,
send the setting information to the second processor via the application programming interface,
switch from displaying the first screen to displaying a second screen upon sending the setting information to the second processor via the application programming interface, the second screen being a main screen of the second application configured to accept operations by the user; and
accept a display request for displaying the first screen from the second application program, via an interface published by the second application program, and
send acceptance information that indicates the acceptance of the specific setting to the second application program as a response to the display request, wherein
the acceptance information sent to the second application program has the same configuration as the setting information sent to the second processor via the application programming interface, and
upon receiving the execution start request input via a user operation on the second screen, the second application sends an execution request to the first application via the interface published by the second application, the execution request being based on the setting information as sent from the first application.
8. The information processing method according to claim 7 , wherein the first application program further causes the first processor to
accept the display request that includes an initial setting value for the first screen having the same configuration as the setting information, and
display the first screen that reflects the initial setting value.
9. The information processing method according to claim 7 , wherein the first application further causes the first processor to
accept from the second application program, via the published interface, the process execution request along with the information indicating the specific setting that has been sent to the second application program, and sends to the second processor, via the application programming interface, the setting information that is based on the information indicating the specific setting that has been accepted along with the process execution request.
10. The information processing method according to claim 9 , wherein the first application program further causes the first processor to
display a third screen indicating that the process is in progress in response to accepting the process execution request.
11. The information processing method according to claim 9 , wherein the first application program further causes the first processor to
send identification information identifying data that has been generated by the process to the second application program as a response to the process execution request.
12. The information processing method according to claim 7 , wherein the first application program further causes the first processor to
convert a format of the setting information set up via an interface published by the first application to a format of the setting information to be set up via the interface published by the second application before sending the setting information to the second processor in a case where the format of the setting information to be set up via the interface published by the second application differs from the format of the setting information set up via the interface published by the first application, and
send the setting information to the second processor without modification in a case where the format of the setting information to be set up via the interface published by the second application is the same as the format of the setting information set up via the interface published by the first application.
13. A computer program product comprising a non-transitory computer-readable medium having a program recorded thereon that is executable by a device that includes a first processor and a second processor, the program when executed causing the second processor to
control the device to execute a process based on setting information received via an application programming interface configured to accept a process execution request for the device from the first processor; and
the first processor to
display a first screen configured to accept a specific setting relating to the process from a user,
generate the setting information based on the specific setting accepted from the user via the first screen,
send the setting information to the second processor via the application programming interface,
switch from displaying the first screen to displaying a second screen upon sending the setting information to the second processor via the application programming interface, the second screen being a main screen of the second application configured to accept operations by the user; and
accept a display request for displaying the first screen from a second application program installed in the device, via an interface published by the second application program, and
send acceptance information that indicate the acceptance of the specific setting to the second application program as a response to the display request,
wherein
the acceptance information sent to the second application program has the same configuration as the setting information sent to the second processor via the application programming interface, and
upon receiving the execution start request input via a user operation on the second screen, the second application sends an execution request to the first application via the interface published by the second application, the execution start request being based on the setting information as sent from the first application.
14. The computer program product according to claim 13 , wherein the program further causes the first processor to
accept the display request that includes an initial setting value for the first screen having the same configuration as the setting information, and
display the first screen that reflects the initial setting value.
15. The computer program product according to claim 13 , wherein the program further causes the first processor to
accept from the second application program, via the published interface, the process execution request along with the information indicating the specific setting that has been sent to the second application program, and sends to the second processor, via the application programming interface, the setting information that is based on the information indicating the specific setting that has been accepted along with the process execution request.
16. The computer program product according to claim 15 , wherein the program further causes the first processor to
display a third screen indicating that the process is in progress in response to accepting the process execution request.
17. The computer program product according to claim 15 , wherein the program further causes the first processor to
send identification information identifying data that has been generated by the process to the second application program as a response to the process execution request.
18. The computer program product according to claim 13 , wherein the program further causes the first processor to
convert a format of the setting information set up via an interface published by the first application to a format of the setting information to be set up via the interface published by the second application before sending the setting information to the second processor in a case where the format of the setting information to be set up via the interface published by the second application differs from the format of the setting information set up via the interface published by the first application, and
send the setting information to the second processor without modification in a case where the format of the setting information to be set up via the interface published by the second application is the same as the format of the setting information set up via the interface published by the first application.Cited by (0)
No later patents cite this yet.
References (0)
No backward citations on record.