This application is based upon and claims priority to Chinese Patent Application No. 201510866549.3, filed on Dec. 1, 2015, which is incorporated herein by reference in its entirety.
The present disclosure relates to the field of computer technologies, and more particularly, to an information processing method and apparatus and a storage medium.
Currently, there are various software applications (e.g., mobile apps installed on a mobile terminal) that can be used to perform various operations, such as sending short messages, performing a calculation, paying and transferring money, etc. These mobile apps are typically designed to perform a particular type of operation. For example, a calculator app is typically designed to only perform the calculation task. As a result, such calculator app provides limited functionalities.
This Summary is provided to introduce a selection of concepts in a simplified form that are further described below in the Detailed Description. This Summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
In one aspect, a method for processing information is provided. The method is performed by a terminal and comprises: receiving first information inputted on an interface of a calculator application; and generating, based on the first information, second information related to a payment application.
In another aspect, an apparatus for processing information is provided. The apparatus comprises a processor and a memory configured to store instructions executable by the processor. The processor is configured to: receive first information inputted on an interface of a calculator application; and generate, based on the first information, second information related to a payment application.
In another aspect, a non-transitory computer-readable storage medium is provided. The non-transitory computer-readable storage medium stores instructions that, when executed by one or more processors of a terminal, cause the terminal to perform an information processing method. The method comprises: receiving first information inputted on an interface of a calculator application; and generating, based on the first information, second information related to a payment application.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.
The accompanying drawings here, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. The following description refers to the accompanying drawings in which the same numbers in different drawings represent the same or similar elements unless otherwise presented. The embodiments set forth in the following description of exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of apparatuses and methods consistent with aspects related to the invention as recited in the appended claims.
In step S101: the device receives first information input by a user on an interface of the first application.
In step S102: the device processes the first information and generates, based on the first information, second information related to the second application. In some embodiments, as discussed above, the second application may be a payment application, and the second information may include payment information to be processed by the payment application.
With embodiments of the present disclosure, a device can process first information received via an interface of a calculator application and generate, based on the first information, second information related to a payment application. The second information can include, for example, payment information to be transmitted by the payment application. As a result, as the calculator application performs a calculation operation, the output of the calculation operation (or the input to the operation), as displayed on the interface of the calculator application, can be used to generate payment information. The payment information can then be processed by the payment application. The payment information may also be displayed on a display screen of the device, which allows the user to make a payment according to the displayed payment information. As a result, the calculator application can be associated with a wider range of functionalities.
In some embodiments, in step S102, the device may also generate second information based on a two-dimensional code. The two-dimensional code may represent, for example, one or more numeric values displayed in the interface of the calculator application (which can be a part of an input or an output for a calculation operation). The two-dimensional code information can be displayed at a preset position on the display screen of the device, so that another device (e.g., a mobile phone) can receive the two-dimensional code information by, for example, scanning the display screen. For example, the two-dimensional code information may represent payment information. Another device, with a payment application operating, can then scan the display screen to obtain the payment information.
In some embodiments, in step S102, the device may determine whether the device includes a payment application. If the device determines that the payment application is included in the device and is operational, the device can display an identifier of the payment application in the interface of the calculator application. The device can also display an indication to prompt the user to invoke the payment application to process the payment information generated from the first information provided by the calculator application (e.g., by transmitting the payment information to a second device to perform a payment).
With embodiments of the present disclosure, the device can display an identifier of the payment application in the interface of the calculator application. The device can also display an indication to prompt the user to invoke the payment application to process the payment information generated from the first information provided by the calculator application. As a result, the calculator application can be associated with a wider range of functionalities.
In step S201, the device receives first information input by a user on an interface of the calculator application.
In step S202, the device determines whether the device includes a payment application.
In step S203, after determining that the device includes a payment application, the device displays an identifier of the payment application in the interface of the calculator application.
In step S204, the device displays an identifier of the payment application in the interface of the calculator application. The device can also display an indication to prompt the user to invoke the payment application to process the payment information generated from the first information provided by the calculator application (e.g., by transmitting the payment information to a second device to perform a payment).
In some embodiments, prior to displaying an indication to prompt the user to invoke the payment application, in step S204, the device also performs the following: if the first information is determined to include data associated with a mathematical formula, the device can transmit the data associated with the mathematical formula to a location accessible by the payment application. After the payment application is invoked, the payment application can then perform further processing based on the mathematical formula (e.g., calculating a payment amount).
On the other hand, if the first information is determined to include data associated with one or more numeric values, the device can transmit the data associated with the one or more numeric values to a location accessible by the payment application. After the payment application is invoked, the payment application can process the numeric values (e.g., calculating a payment amount).
In some embodiments, when displaying an indication to prompt the user to invoke the payment application, in step S204, the device can also display an indication to prompt the user to select between providing numeric values or providing a mathematical formula to the payment application, and to prompt the user to use the payment application to perform money transfer or payment according to one of the mathematical formula or the numeric values.
In some embodiment, after the payment application is invoked, the device can further display an indication to prompt the user to enter additional information to the payment application. The additional information can include, for example, information about a target recipient for the payment, to complete a transaction.
With embodiments of the present disclosure, an interface can be provided between a calculator application and a payment application. The device can receive an input of a mathematic formula or one or more numeric values on an interface of the calculator application. After receiving the input, the device can display an identifier (e.g., an icon) of the payment application in the interface of the calculator application to prompt the user to determine whether to invoke the payment application to process an amount of money that corresponds to the input. As a result, the functionalities associated with the calculator application can be expanded.
In the following, a use case for the method 200 is presented.
For example, a user inputs a mathematic formula “120/3” in the interface of the calculator application operating on a mobile terminal. In addition to calculating a result as “40” and displaying the calculated result on its interface, the mobile terminal also determines whether a payment application is installed. If the payment application is installed, the mobile terminal can display an identifier of the payment application on the interface of the calculator application, which allows the user to invoke the payment application. The mobile terminal can also display an indication to prompt the user to determine whether to perform money transfer in an amount of “40”. After receiving a selection to perform the money transfer, the device can display another interface that allows the user to provide additional information (e.g., information about a recipient) to complete the money transfer transaction.
The followings are apparatus embodiments of the present disclosure, which may be configured to perform the method embodiments of the present disclosure. For details that are not disclosed in the apparatus embodiments of the present disclosure, reference can be made to the method embodiments of the present disclosure.
In some embodiments, the information receiving module 301 is configured to receive first information input by a user on an interface of the calculator application.
In some embodiments, the information processing module 302 is configured to process the first information and generate, based on the first information, second information related to the payment application. The second information may include payment information to be processed by the payment application.
Optionally, the information processing module 302 may be configured to generate two-dimensional code payment information according to the first information received by the information receiving module 301.
In some embodiments, the information receiving module 401 is configured to receive first information input by a user on an interface of the calculator application.
In some embodiments, the information processing module 402 is configured to process the first information and generate, based on the first information, second information related to the payment application. The second information may include payment information to be processed by the payment application.
In some embodiments, as shown in
In some embodiments, the application determination sub-module 4021 is configured to determine whether the mobile terminal includes a payment application.
In some embodiments, the application identifier generation sub-module 4022 is configured to, after determining that the device includes a payment application, generate and display an identifier of the payment application on the interface of the payment application. The application identifier generation sub-module 4022 can also display an indication to prompt the user to invoke the payment application to process the payment information generated from the first information provided by the calculator application (e.g., by transmitting the payment information to a second device to perform a payment).
In some embodiments, the application invoking module 403 is configured to, after receiving the first information from the calculator application, invoke the payment application. If the first information includes a mathematical formula, the application invoking module 403 can also pass data of the mathematical formula to the payment application, which can then perform further processing based on the mathematical formula.
Optionally, the application determination sub-module 4022 is configured to display an indication to prompt the user to select between providing numeric values or providing a mathematical formula to the payment application, and to prompt the user to use the payment application to perform money transfer or payment according to one of the mathematical formula or the numeric values.
In some embodiments, as shown in
Referring to
The processing component 502 typically controls overall operations of the apparatus 500, such as the operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 502 may include one or more processors 520 to execute instructions to perform all or part of the steps in the above described methods. Moreover, the processing component 502 may include one or more modules which facilitate the interaction between the processing component 502 and other components. For instance, the processing component 502 may include a multimedia module to facilitate the interaction between the multimedia component 508 and the processing component 502.
The memory 504 is configured to store various types of data to support the operation of the apparatus 500. Examples of such data include instructions for any applications or methods operated on the apparatus 500, contact data, phonebook data, messages, pictures, video, etc. The memory 504 may be implemented using any type of volatile or non-volatile memory devices, or a combination thereof, such as a static random access memory (SRAM), an electrically erasable programmable read-only memory (EEPROM), an erasable programmable read-only memory (EPROM), a programmable read-only memory (PROM), a read-only memory (ROM), a magnetic memory, a flash memory, a magnetic or optical disk. The memory 504 can include a non-transitory computer readable medium to store instructions that correspond to any of the modules and sub-modules of
The power component 506 provides power to various components of the apparatus 500. The power component 506 may include a power management device, one or more power sources, and any other components associated with the generation, management, and distribution of power in the apparatus 500.
The multimedia component 508 includes a screen providing an output interface between the apparatus 500 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes the touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may not only sense a boundary of a touch or swipe action, but also sense a period of time and a pressure associated with the touch or swipe action. In some embodiments, the multimedia component 508 includes a front camera and/or a rear camera. The front camera and the rear camera may receive an external multimedia datum while the apparatus 500 is in an operation mode, such as a photographing mode or a video mode. Each of the front camera and the rear camera may be a fixed optical lens device or have focus and optical zoom capability.
The audio component 510 is configured to output and/or input audio signals. For example, the audio component 510 includes a microphone (MIC) configured to receive an external audio signal when the apparatus 500 is in an operation mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may be further stored in the memory 504 or transmitted via the communication component 516. In some embodiments, the audio component 510 further includes a speaker to output audio signals.
The I/O interface 512 provides an interface between the processing component 502 and peripheral interface modules, such as a keyboard, a click wheel, buttons, and the like. The buttons may include, but are not limited to, a home button, a volume button, a starting button, and a locking button.
The sensor component 514 includes one or more sensors to provide status assessments of various aspects of the apparatus 500. For instance, the sensor component 514 may detect an open/closed status of the apparatus 500, relative positioning of components, e.g., the display and the keypad, of the apparatus 500, a change in position of the apparatus 500 or a component of the apparatus 500, a presence or absence of user contact with the apparatus 500, an orientation or an acceleration/deceleration of the apparatus 500, and a change in temperature of the apparatus 500. The sensor component 514 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor component 514 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor component 514 may also include an accelerometer sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 516 is configured to facilitate communication, wired or wirelessly, between the apparatus 500 and other devices. The apparatus 500 may access a wireless network based on a communication standard, such as WiFi, 2G, or 3G, or a combination thereof. In one exemplary embodiment, the communication component 516 receives a broadcast signal or broadcast associated information from an external broadcast management system via a broadcast channel In one exemplary embodiment, the communication component 516 further includes a near field communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on a radio frequency identification (RFID) technology, an infrared data association (IrDA) technology, an ultra-wideband (UWB) technology, a Bluetooth (BT) technology, and other technologies.
In exemplary embodiments, the apparatus 500 may be implemented with one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, micro-controllers, microprocessors, or other electronic components, for performing the above described methods.
In exemplary embodiments, there is also provided a non-transitory computer-readable storage medium including instructions, such as included in the memory 504, executable by the processor 520 in the apparatus 500, for performing the above-described methods. For example, the non-transitory computer-readable storage medium may be a ROM, a RAM, a CD-ROM, a magnetic tape, a floppy disc, an optical data storage device, and the like.
A non-transitory computer-readable storage medium is provided, and when instructions in the storage medium are executed by a processor of an apparatus 500, the apparatus 500 is enabled to perform the above-described information processing method.
It will be appreciated that the present invention is not limited to the exact construction that has been described above and illustrated in the accompanying drawings, and that various modifications and changes may be made without departing from the scope thereof. It is intended that the scope of the invention only be limited by the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
201510866549.3 | Dec 2015 | CN | national |