Disclosure of Invention
The disclosure provides a comment interface display method and device. The technical scheme is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a comment interface display method, including:
receiving a trigger signal for triggering the comment through an operating system;
detecting whether an application program in foreground operation exists through an operating system;
and if the application program running in the foreground exists, switching the application program running in the foreground into an application store client through the operating system, and displaying a comment interface corresponding to the application program through the application store client.
Optionally, switching an application program running in the foreground into an application store client through the operating system, and displaying a comment interface corresponding to the application program through the application store client, includes:
providing identification information of an application program to an application store client through an operating system;
acquiring identification information provided by an operating system through an application store client;
detecting whether the application program identified by the identification information is contained in the application store through the application store client;
and if the application store comprises the application program, displaying a comment interface through the application store client.
Optionally, providing, by the operating system, identification information of the application program to the application store client includes:
and calling the application store client through the operating system, and sending the identification information to the called application store client.
Optionally, the trigger signal comprises:
the click signal acts on a preset key, the preset key comprises a menu key or a Home key, the click signal comprises a signal for clicking N times, and N is more than or equal to 1; or,
presetting a voice signal; or,
presetting a shaking signal; or,
a blowing signal is preset.
Optionally, the method further comprises:
and receiving comments input in the comment interface by the user through the application store client.
According to a second aspect of the embodiments of the present disclosure, there is provided a comment interface display apparatus including:
a signal receiving module configured to receive a trigger signal for triggering the comment through an operating system;
the detection module is configured to detect whether an application program running in a foreground exists through an operating system;
and the interface display module is configured to switch the application program running in the foreground into the application store client through the operating system and display the comment interface corresponding to the application program through the application store client when the detection result of the detection module indicates that the application program running in the foreground exists.
Optionally, the interface display module includes:
an information providing sub-module configured to provide identification information of the application program to the application store client through the operating system;
the information acquisition submodule is configured to acquire identification information provided by the operating system through the application store client;
the detection submodule is configured to detect whether the application program identified by the identification information is contained in the application store through the application store client;
and the interface display sub-module is configured to display a comment interface through the application store client when the detection result of the detection sub-module indicates that the application store contains the application program.
Optionally, the information providing sub-module is configured to invoke the application store client through the operating system, and send the identification information to the invoked application store client.
Optionally, the trigger signal comprises:
the click signal acts on a preset key, the preset key comprises a menu key or a Home key, the click signal comprises a signal for clicking N times, and N is more than or equal to 1; or,
presetting a voice signal; or,
presetting a shaking signal; or,
a blowing signal is preset.
Optionally, the apparatus further comprises:
the comment receiving module is configured to receive comments input in the comment interface by the user through the application store client.
According to a third aspect of the embodiments of the present disclosure, there is provided a comment interface display apparatus including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
receiving a trigger signal for triggering the comment through an operating system;
detecting whether an application program in foreground operation exists through an operating system;
and if the application program running in the foreground exists, switching the application program running in the foreground into an application store client through the operating system, and displaying a comment interface corresponding to the application program through the application store client.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
after a trigger signal for triggering comments is received, when the application program running in the foreground is detected to exist, the application program running in the foreground is switched to an application store client through an operating system, and then a comment interface corresponding to the application program is displayed through the application store client; the method and the device solve the problem that in the related art, when a user needs to comment on the currently used application program, the user needs to perform a series of complex operations such as quitting the application program, opening an application store client, finding the application program in the application store client, opening a comment interface of the application program and the like; after the user applies the trigger signal, the operating system can automatically switch the application program running in the foreground into the application store client, and then the comment interface corresponding to the application program is displayed through the application store client, so that the operation effect of the user is simplified.
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 disclosure.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
Fig. 1 is a flowchart illustrating a comment interface display method according to an exemplary embodiment, which, as shown in fig. 1, includes:
in step 101, a trigger signal for triggering a comment is received by an operating system.
In step 102, the operating system detects whether an application program in foreground is running.
In step 103, if there is an application running in the foreground, the application running in the foreground is switched to the application store client through the operating system, and the comment interface corresponding to the application is displayed through the application store client.
In summary, in the comment interface display method provided in the embodiment of the present disclosure, after receiving a trigger signal for triggering a comment, when detecting that there is an application program running in a foreground, the application program running in the foreground is switched to an application store client by an operating system, and then a comment interface corresponding to the application program is displayed by the application store client; the method and the device solve the problem that in the related art, when a user needs to comment on the currently used application program, the user needs to perform a series of complex operations such as quitting the application program, opening an application store client, finding the application program in the application store client, opening a comment interface of the application program and the like; after the user applies the trigger signal, the operating system can automatically switch the application program running in the foreground into the application store client, and then the comment interface corresponding to the application program is displayed through the application store client, so that the operation effect of the user is simplified.
Fig. 2A is a flowchart illustrating a comment interface display method according to an exemplary embodiment, which, as shown in fig. 2A, includes:
in step 201, a trigger signal for triggering a comment is received by an operating system.
When a user wants to comment on an application program in the process of using the application program, the user can apply a trigger signal for triggering the comment in the terminal, and accordingly the terminal can receive the trigger signal applied by the user through the operating system.
Wherein the trigger signal may include any one of the following signals:
(1) and the click signal acts on the preset key, the preset key comprises a menu key or a Home key, the click signal comprises a signal for clicking N times, and N is more than or equal to 1. For example, referring to fig. 2B, when a user uses a new version of a microblog in a mobile phone and wants to comment on the new version of the microblog, the user may double-click a menu key 21 in the terminal, and accordingly, the terminal may receive the double-click signal through the operating system.
(2) And presetting a voice signal. Optionally, when the user wants to comment on the application running in the foreground, the user may also speak a preset voice signal that triggers the comment. For example, a user may speak 'i want to comment' into the terminal. Accordingly, the terminal may receive the preset voice signal through the operating system.
(3) Presetting a shaking signal. Optionally, when the user wants to comment on the application running in the foreground, the user may shake the terminal through a preset gesture. For example, a user draws a circle with a mobile phone. Accordingly, the terminal may receive a shaking signal of the user.
(4) And presetting a blowing signal. Alternatively, when the user wants to comment on an application running in the foreground, the user may also blow one blow against the microphone of the terminal. For example, the user blows 3S against the microphone of the cell phone. Accordingly, the terminal may receive a user's blowing signal.
It should be noted that, in this embodiment, the trigger signal is only taken as an example of the several possible signals, optionally, the trigger signal may also be another signal, and this embodiment does not limit this.
In step 202, it is detected by the operating system whether there is an application running in the foreground.
In step 203, if there is an application running in the foreground, the identification information of the application is provided to the application store client through the operating system.
If the detection result of the operating system is that the application program running in the foreground exists, the operating system can determine the identification information of the application program and then provide the identification information to the application store client through the operating system. The identification information of the application program may be a name of the application program or a name of an installation package of the application program. The application store client refers to a client which is installed in the terminal in advance and used for providing the application program downloading service for the user. For example, the APP Store client may be replaced with an android market, APP treasure, an android market, a cell phone assistant, or an APP Store, among others.
Optionally, this step may include:
and calling the application store client through the operating system, and sending the identification information to the called application store client.
And if the detection result of the operating system is that no application program running in the foreground exists, the operating system displays prompt information to the user, and the process is ended.
In step 204, identification information provided by the operating system is obtained by the application store client.
In step 205, it is detected by the application store client whether the application program identified by the identification information is contained in the application store.
After the terminal receives the identification information through the application store client, the terminal can automatically search the database of the application store through the application store client, and detect whether the database contains the application program corresponding to the identification information.
In step 206, if the application store contains the application program, a comment interface is displayed through the application store client.
If the application program is contained in the application store, the terminal can directly open a comment interface of the application program through the application store client and display the comment interface.
For example, when the terminal detects that the microblog in the application store contains the version through the application store client, the terminal may display the comment interface shown in fig. 2C.
In step 207, the comments entered by the user in the comment interface are received by the application store client.
After the application store client displays the comment interface, the user can input own comments on the application program in the displayed comment interface. Accordingly, the terminal can receive the comment input by the user in the comment interface.
For example, after the terminal displays the comment interface shown in fig. 2C, the user clicks the comment button 22 in the comment interface, after the terminal receives the click signal, the terminal displays a comment input box, and the user inputs a comment in the comment input box.
In summary, in the comment interface display method provided in the embodiment of the present disclosure, after receiving a trigger signal for triggering a comment, when detecting that there is an application program running in a foreground, the application program running in the foreground is switched to an application store client by an operating system, and then a comment interface corresponding to the application program is displayed by the application store client; the method and the device solve the problem that in the related art, when a user needs to comment on the currently used application program, the user needs to perform a series of complex operations such as quitting the application program, opening an application store client, finding the application program in the application store client, opening a comment interface of the application program and the like; after the user applies the trigger signal, the operating system can automatically switch the application program running in the foreground into the application store client, and then the comment interface corresponding to the application program is displayed through the application store client, so that the operation effect of the user is simplified.
According to the embodiment, the comment interface is directly displayed after the trigger signal is received, so that the complex operation of the user when the user comments the application program is reduced, the comment efficiency of the user for commenting the application program is improved, and the enthusiasm of the user for commenting the application program is improved.
The following are embodiments of the disclosed apparatus that may be used to perform embodiments of the disclosed methods. For details not disclosed in the embodiments of the apparatus of the present disclosure, refer to the embodiments of the method of the present disclosure.
Fig. 3 is a block diagram illustrating a review interface display apparatus according to an example embodiment. As shown in fig. 3, the comment interface display device may include, but is not limited to: a signal receiving module 310, a detecting module 320 and an interface display module 330.
A signal receiving module 310 configured to receive a trigger signal for triggering the comment through an operating system;
a detection module 320 configured to detect, by the operating system, whether there is an application running in the foreground;
and the interface display module 330 is configured to, when the detection result of the detection module 320 is that there is an application program running in the foreground, switch the application program running in the foreground to an application store client through the operating system, and display a comment interface corresponding to the application program through the application store client.
In summary, the comment interface display device provided in the embodiment of the present disclosure switches, by the operating system, an application program running in the foreground into an application store client when detecting that there is an application program running in the foreground after receiving a trigger signal for triggering a comment, and then displays, by the application store client, a comment interface corresponding to the application program; the method and the device solve the problem that in the related art, when a user needs to comment on the currently used application program, the user needs to perform a series of complex operations such as quitting the application program, opening an application store client, finding the application program in the application store client, opening a comment interface of the application program and the like; after the user applies the trigger signal, the operating system can automatically switch the application program running in the foreground into the application store client, and then the comment interface corresponding to the application program is displayed through the application store client, so that the operation effect of the user is simplified.
Fig. 4 is a block diagram illustrating a review interface display apparatus according to an example embodiment. As shown in fig. 4, the comment interface display device may include, but is not limited to: a signal receiving module 410, a detecting module 420 and an interface display module 430.
A signal receiving module 410 configured to receive, through an operating system, a trigger signal for triggering a comment;
a detection module 420 configured to detect, by the operating system, whether there is an application running in the foreground;
and the interface display module 430 is configured to, when the detection result of the detection module 420 is that there is an application program running in the foreground, switch the application program running in the foreground to an application store client through the operating system, and display a comment interface corresponding to the application program through the application store client.
Optionally, the interface display module 430 includes:
an information providing submodule 431 configured to provide the identification information of the application program to the application store client through the operating system;
an information acquisition sub-module 432 configured to acquire identification information provided by the operating system through the application store client;
a detection submodule 433 configured to detect, by the app store client, whether the app identified by the identification information is contained in the app store;
and the interface display sub-module 434 is configured to display a comment interface through the application store client when the detection result of the detection sub-module indicates that the application program is included in the application store.
Optionally, the information providing sub-module 431 is configured to invoke the application store client through the operating system, and send the identification information to the invoked application store client.
Optionally, the trigger signal comprises:
the click signal acts on a preset key, the preset key comprises a menu key or a Home key, the click signal comprises a signal for clicking N times, and N is more than or equal to 1; or,
presetting a voice signal; or,
presetting a shaking signal; or,
a blowing signal is preset.
Optionally, the apparatus further comprises:
a comment receiving module 440 configured to receive, through the application store client, a comment input by the user in the comment interface.
In summary, the comment interface display device provided in the embodiment of the present disclosure switches, by the operating system, an application program running in the foreground into an application store client when detecting that there is an application program running in the foreground after receiving a trigger signal for triggering a comment, and then displays, by the application store client, a comment interface corresponding to the application program; the method and the device solve the problem that in the related art, when a user needs to comment on the currently used application program, the user needs to perform a series of complex operations such as quitting the application program, opening an application store client, finding the application program in the application store client, opening a comment interface of the application program and the like; after the user applies the trigger signal, the operating system can automatically switch the application program running in the foreground into the application store client, and then the comment interface corresponding to the application program is displayed through the application store client, so that the operation effect of the user is simplified.
According to the embodiment, the comment interface is directly displayed after the trigger signal is received, so that the complex operation of the user when the user comments the application program is reduced, the comment efficiency of the user for commenting the application program is improved, and the enthusiasm of the user for commenting the application program is improved.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
FIG. 5 is a block diagram illustrating an apparatus 500 for displaying a comment interface in accordance with an exemplary embodiment. For example, the apparatus 500 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 5, the apparatus 500 may include one or more of the following components: processing component 502, memory 504, power component 506, multimedia component 508, audio component 510, input/output (I/O) interface 512, sensor component 514, and communication component 516.
The processing component 502 generally controls overall operation of the device 500, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 502 may include one or more processors 518 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 502 can include one or more modules that facilitate interaction between the processing component 502 and other components. For example, the processing component 502 can include a multimedia module to facilitate interaction between the multimedia component 508 and the processing component 502.
The memory 504 is configured to store various types of data to support operations at the apparatus 500. Examples of such data include instructions for any application or method operating on device 500, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 504 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 506 provides power to the various components of the device 500. The power components 506 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 500.
The multimedia component 508 includes a screen that provides an output interface between the device 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 a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 508 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 500 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 510 is configured to output and/or input audio signals. For example, audio component 510 includes a Microphone (MIC) configured to receive external audio signals when apparatus 500 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 504 or transmitted via the communication component 516. In some embodiments, audio component 510 further includes a speaker for outputting audio signals.
The I/O interface 512 provides an interface between the processing component 502 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 514 includes one or more sensors for providing various aspects of status assessment for the device 500. For example, the sensor assembly 514 may detect an open/closed state of the apparatus 500, the relative positioning of the components, such as a display and keypad of the apparatus 500, the sensor assembly 514 may also detect a change in the position of the apparatus 500 or a component of the apparatus 500, the presence or absence of user contact with the apparatus 500, orientation or acceleration/deceleration of the apparatus 500, and a change in the temperature of the apparatus 500. The sensor assembly 514 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 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 assembly 514 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 516 is configured to facilitate communication between the apparatus 500 and other devices in a wired or wireless manner. The apparatus 500 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 516 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an 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 Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 500 may be implemented by 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 an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 504 comprising instructions, executable by the processor 518 of the apparatus 500 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.