Method and apparatus for transmitting data and method and apparatus for processing data
First Claim
Patent Images
1. A method of transmitting data to a server by using an open application programming interface (API) including at least one field, the method comprising:
- acquiring basic data corresponding to a field from among the at least one field defined in the open API and extended data not corresponding to the field;
appending the extended data to the basic data to generate a message;
generating a Hypertext Transfer Protocol (HTTP) request message describing the message as a field value of the field; and
transmitting the HTTP request message to the server,wherein the message comprises identification information indicating a position of the extended data in the message,wherein the open API is an API which is published by a service provider operating the server for providing a service related to the at least one field defined in the open API,wherein the basic data is processed by a first module and the extended data is processed by a second module, andwherein the message comprises identification information regarding the second module for processing the extended data.
1 Assignment
0 Petitions
Accused Products
Abstract
A method of transmitting data and a method of processing data, the methods including acquiring basic data of a type defined in the open API and extended data of a type not defined in the open API; converting the extended data to data of a type defined in the open API; and invoking the open API and transmitting the basic data and the converted extended data to the server.
-
Citations
7 Claims
-
1. A method of transmitting data to a server by using an open application programming interface (API) including at least one field, the method comprising:
-
acquiring basic data corresponding to a field from among the at least one field defined in the open API and extended data not corresponding to the field; appending the extended data to the basic data to generate a message; generating a Hypertext Transfer Protocol (HTTP) request message describing the message as a field value of the field; and transmitting the HTTP request message to the server, wherein the message comprises identification information indicating a position of the extended data in the message, wherein the open API is an API which is published by a service provider operating the server for providing a service related to the at least one field defined in the open API, wherein the basic data is processed by a first module and the extended data is processed by a second module, and wherein the message comprises identification information regarding the second module for processing the extended data. - View Dependent Claims (2)
-
-
3. A method of processing data received from a server by using an open API including at least one field, the method comprising:
-
receiving, from the server, a Hypertext Transfer Protocol (HTTP) request message describing a message as data of a field from among the at least one field defined in the open API, the message comprising basic data corresponding to the field, extended data not corresponding to the field, and identification information indicating a position of the extended data in the message; obtaining the message from the HTTP request message based on the field; obtaining the basic data and the extended data from the message based on the identification information; performing a basic function defined in the open API based on the basic data, and an extended function not defined in the open API based on the extended data, wherein the open API is an API which is published by a service provider operating the server for providing a service related to the at least one field defined in the open API, wherein the basic data is processed by a first module and the extended data is processed by a second module, and wherein the message comprises identification information regarding the second module for processing the extended data.
-
-
4. A device for transmitting data to a server by using an open application programming interface (API) including at least one field, the device comprising:
-
a memory configured to store programmed instructions; and a processor coupled to the memory, the processor being configured to execute the programmed instructions stored in the memory to perform a method of acquiring basic data corresponding to a field from among the at least one field defined in the open API and extended data not corresponding to the field; appending the extended data to the basic data to generate a message; generating a Hypertext Transfer Protocol (HTTP) request message describing the message as a field value of the field; and transmitting the HTTP request message to the server; wherein the message comprises identification information indicating a position of the extended data in the message, wherein the open API is an API which is published by a service provider operating the server for providing a service related to the at least one field defined in the open API, wherein the basic data is processed by a first module and the extended data is processed by a second module, and wherein the message comprises identification information regarding the second module for processing the extended data. - View Dependent Claims (5)
-
-
6. A device for processing data received from a server by using an open application programming interface (API) including at least one field, the device comprising:
-
a memory configured to store programmed instructions; and a processor coupled to the memory, the processor being configured to execute the programmed instructions stored in the memory to perform a method of; receiving, from the server, a Hypertext Transfer Protocol (HTTP) request message describing a message as data of a field from among the at least one field defined in the open API, the message comprising basic data corresponding to the field, extended data not corresponding to the field, and identification information indicating a position of the extended data in the message; obtaining the message from the HTTP request message based on the field; obtaining the basic data and the extended data from the message based on the identification information, and performing a basic function defined in the open API based on the basic data, and an extended function not defined in the open API based on the extended data, wherein the open API is an API which is published by a service provider operating the server for providing a service related to the at least one field defined in the open API, wherein the basic data is processed by a first module and the extended data is processed by a second module, and wherein the message comprises identification information regarding the second module for processing the extended data.
-
-
7. A non-transitory computer readable recording medium having recorded thereon instructions which, when executed, cause a computer to perform a method of transmitting data to a server by using an open application programming interface (API) including at least one field, the method comprising:
-
acquiring basic data corresponding to a field from among the at least one field defined in the open API and extended data not corresponding to the field; appending the extended data to the basic data to generate a message; generating a Hypertext Transfer Protocol (HTTP) request message describing the message as a field value of the field; and transmitting the HTTP request message to the server, wherein the message comprises identification information indicating a position of the extended data in the message, wherein the open API is an API which is published by a service provider operating the server for providing a service related to the at least one field defined in the open API, wherein the basic data is processed by a first module and the extended data is processed by a second module, wherein the message comprises identification information regarding the second module for processing the extended data.
-
Specification