CN103294351A - Display method and electronic device - Google Patents
Display method and electronic device Download PDFInfo
- Publication number
- CN103294351A CN103294351A CN2012100454931A CN201210045493A CN103294351A CN 103294351 A CN103294351 A CN 103294351A CN 2012100454931 A CN2012100454931 A CN 2012100454931A CN 201210045493 A CN201210045493 A CN 201210045493A CN 103294351 A CN103294351 A CN 103294351A
- Authority
- CN
- China
- Prior art keywords
- application
- information
- instruction
- displaying
- window
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 46
- 238000001514 detection method Methods 0.000 claims description 3
- 230000008569 process Effects 0.000 description 15
- 230000005540 biological transmission Effects 0.000 description 6
- 238000010586 diagram Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 230000002452 interceptive effect Effects 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 238000012217 deletion Methods 0.000 description 2
- 230000037430 deletion Effects 0.000 description 2
- 230000001960 triggered effect Effects 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000004064 recycling Methods 0.000 description 1
Images
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
An embodiment of the invention provides a display method and an electronic device. The display method is applied to the electronic device. The electronic device comprises at least one application. The method comprises the steps as follows: at least one application identifier is displayed, and the application identifier corresponds to the application; an operation to the application identifier corresponding to a first application is detected; when the operation is a first operation, a first instruction corresponding to the first operation is determined, and first information is obtained according to the first instruction and then displayed; when the operation is a second operation, a second instruction corresponding to a second operation is determined, and second information is obtained according to the second instruction and then displayed; and the second operation is different from the first operation, and the first information is not completely identical to the second information. The electronic device supports to operation of the application, and for the same application, the device supports different operations and performs query operation on the application, and each query operation can obtain different service information of the application; and further, different manners for displaying the service information can be customized, and the usage experience of a user is improved.
Description
Technical Field
The present invention relates to mobile terminal technologies, and in particular, to a display method and an electronic device.
Background
Electronic devices such as mobile terminals refer to computer devices that can be used in mobile, including mobile phones, notebooks, POS devices, and in-vehicle computers, and mostly refer to mobile phones or smart terminals having multiple application functions. With the rapid development of integrated circuit technology, mobile terminals have strong processing capabilities, and are changing from simple communication tools to an integrated information processing platform.
In many scenarios, the user only wants to conveniently view some brief information on the electronic device, such as the latest short message, the latest message, the headline news, the current location, the current weather, and so on.
The prior art has the following problems: the mode of viewing the information contained in the application is realized through a Widget (Widget) positioned on a desktop, and the information contained in the application can only be viewed by entering an operation interface of the application after the application is started, so that the viewing process speed is low, and the use experience of a user is influenced; and the widget requires the user to configure the addition by himself, but many users cannot actually master the application skill.
Disclosure of Invention
The technical problem to be solved by the present invention is to provide a display method and an electronic device, which are used for solving the defects that in the prior art, when summary data of an application needs to be queried, the information contained in the application can only be viewed by entering an operation interface of the application after the application is started, so that the speed of the viewing process is slow, and the use experience of a user is affected.
To solve the above technical problem, an embodiment of the present invention provides a display method applied to an electronic device, where the electronic device includes at least one application, and the method includes: displaying at least one application identifier, wherein the application identifier corresponds to the application; detecting operation of an application identifier corresponding to a first application; when the operation is a first operation, determining a first instruction corresponding to the first operation, obtaining first information according to the first instruction, and displaying the first information; when the operation is a second operation, determining a second instruction corresponding to the second operation, obtaining second information according to the second instruction, and displaying the second information; wherein the second operation is different from the first operation, and the first information and the second information are not identical.
In the method, the first information and the second information are not completely the same, and specifically includes: the data volume of the first information is smaller than that of the second information, and the second information includes all data of the first information.
In the method, an operation of an application identifier corresponding to a first application is detected, and then the method further includes: when the operation is a third operation, determining a third instruction corresponding to the third operation, and changing the display state of the application identifier in the current page according to the third instruction; or when the operation is a fourth operation, determining a fourth instruction corresponding to the fourth operation, and changing the existing state of the application identifier in the current page according to the fourth instruction.
In the method, displaying the first information further includes: displaying a state window at the application identifier, wherein the position of the state window on a display screen of the electronic equipment is positioned at one side of the application identifier; displaying the first information in the status window.
In the method, when the operation is a first operation, determining a first instruction corresponding to the first operation, obtaining first information according to the first instruction, and displaying the first information, specifically including: the first instruction comprises a first type starting parameter, and the first type starting parameter can call the first information and display the first information in a state window when the first application runs; when the operation is a second operation, determining a second instruction corresponding to the second operation, obtaining second information according to the second instruction, and displaying the second information, specifically including: and the second instruction comprises a second type starting parameter, and the second type starting parameter can call the second information and display the second information in a corresponding window when the first application runs.
In the method, the first application corresponds to a first interface and a second interface; when the operation is a first operation, determining a first instruction corresponding to the first operation, obtaining first information according to the first instruction, and displaying the first information, specifically including: starting the first application through the first interface according to the first instruction, and displaying the first information in a state window when the first application runs; when the operation is a second operation, determining a second instruction corresponding to the second operation, obtaining second information according to the second instruction, and displaying the second information, specifically including: and starting the first application through the second interface according to the second instruction, and displaying the second information in a corresponding window when the first application runs.
According to the method, the electronic equipment further comprises a desktop application; the displaying at least one application identification comprises: displaying at least one application identifier in the desktop application; when the operation is a first operation, determining a first instruction corresponding to the first operation, obtaining first information according to the first instruction, and displaying the first information, specifically including: generating the first instruction by the desktop application according to the first operation, designating to access the first application in the first instruction, and acquiring the first information from the first application; and displaying the first information in a corresponding window generated by the desktop application.
In the method, the electronic device further comprises a desktop application; the displaying at least one application identification comprises: displaying at least one application identifier in the desktop application; when the operation is a first operation, determining a first instruction corresponding to the first operation, specifically including: generating the first instruction according to the first operation by a desktop application, specifying a source of querying data of the first application in the first instruction, and acquiring the first information from the source; and displaying the first information in a corresponding window generated by the desktop application.
An electronic device comprising at least one application, the electronic device comprising: the display unit is used for displaying at least one application identifier, and the application identifier corresponds to the application; the detection unit is used for detecting the operation of an application identifier corresponding to a first application; the first instruction unit is used for determining a first instruction corresponding to the first operation when the operation is the first operation, acquiring first information according to the first instruction and displaying the first information; the second instruction unit is used for determining a second instruction corresponding to the second operation when the operation is the second operation, acquiring second information according to the second instruction and displaying the second information; wherein the second operation is different from the first operation, and the first information and the second information are not identical.
The electronic device further comprises: the state window management unit is used for displaying a state window at the application identifier, and the position of the state window on the display screen of the electronic equipment is positioned on one side of the application identifier; displaying the first information in the status window.
The electronic device further comprises: the first instruction editing unit is configured to, when the operation is a first operation, determine a first instruction corresponding to the first operation, obtain first information according to the first instruction, and display the first information, and specifically includes: the first instruction comprises a first type starting parameter, and the first type starting parameter can call the first information and display the first information in a state window when the first application runs; a second instruction editing unit, configured to determine, when the operation is a second operation, a second instruction corresponding to the second operation, obtain second information according to the second instruction, and display the second information, where the second instruction editing unit specifically includes: and the second instruction comprises a second type starting parameter, and the second type starting parameter can call the second information and display the second information in a corresponding window when the first application runs.
The electronic device further comprises: the desktop application unit is displayed on the display unit and used for displaying at least one application identifier; generating the first instruction according to the first operation, designating to access the first application in the first instruction, and acquiring the first information from the first application; displaying the first information in a corresponding window generated by the desktop application; generating the first instruction according to the first operation, specifying a source of the data of the first application in the first instruction, and acquiring the first information from the source; and displaying the first information in a corresponding window generated by the desktop application.
The technical scheme of the invention has the following beneficial effects: the electronic equipment supports running of applications, for the same application, different operations are supported to perform query operation on the same application, and each query operation can acquire different service information of the application; furthermore, different modes of displaying the service information can be customized, and the use experience of the user is improved.
Drawings
Fig. 1 is a schematic flow chart illustrating a method for acquiring current service information of an electronic device;
FIG. 2 is a schematic diagram illustrating detection of a first operation and a second operation of an application identifier;
FIG. 3 is a diagram illustrating a display content of an application identifier after a first operation or a second operation;
FIG. 4 is a diagram illustrating an application identification display status window;
fig. 5 shows a schematic structural diagram of an electronic device.
Detailed Description
In order to make the technical problems, technical solutions and advantages of the present invention more apparent, the following detailed description is given with reference to the accompanying drawings and specific embodiments.
The operating system of the electronic equipment is used as an open source mobile operating system and comprises all business logic, namely an operating system, a user interface and application programs, required by the operation of the mobile electronic equipment.
An embodiment of the present invention provides a display method, as shown in fig. 1, applied to an electronic device, where the electronic device includes at least one application, and the method includes:
102, detecting an operation of an application identifier corresponding to a first application;
103, when the operation is a first operation, determining a first instruction corresponding to the first operation, obtaining first information according to the first instruction, and displaying the first information;
step 104, when the operation is a second operation, determining a second instruction corresponding to the second operation, obtaining second information according to the second instruction, and displaying the second information; wherein the second operation is different from the first operation, and the first information and the second information are not identical.
According to the technical scheme, the electronic equipment supports running of the application, for the same application, the query operation of the same application through different operations is supported, each query operation can obtain different service information of the application, the display modes of the different service information can be customized, and the use experience of a user is improved.
In a preferred embodiment, the electronic device further comprises a desktop application (Launcher); the displaying at least one application identification comprises: and displaying at least one application identifier in the desktop application. Wherein each of the application identifications corresponds to an application.
In a preferred embodiment, the first information and the second information are not identical, and specifically includes: the data volume of the first information is smaller than that of the second information, and the second information includes all data of the first information.
The first information may be summary data of the application; the second information may be detailed data of the application; the detailed data at least comprises the summary data.
In the embodiment of the present invention, without loss of generality, as shown in fig. 2, operations on application identifiers are divided into two types, the first type is a query operation: comprises a first operation and a second operation; the method comprises the steps of obtaining first information and second information of an application corresponding to an application identifier by operating the application identifier;
the second class is non-query operations, including: the third operation, the fourth operation and other operations are suitable for changing the display state of the application identifier in the page.
In a preferred embodiment, the detecting an operation of an application identifier corresponding to a first application further includes: when the operation is a third operation, determining a third instruction corresponding to the third operation, and changing the display state of the application identifier in the current page according to the third instruction; and when the operation is a fourth operation, determining a fourth instruction corresponding to the fourth operation, and changing the existing state of the application identifier in the current page according to the fourth instruction.
In the process of detecting different operations by the electronic device, it is necessary to determine which of the first operation, the second operation, the third operation, and the fourth operation corresponds to each of the various trigger modes.
In the process of query operation, without loss of generality, key input is set, and if the condition that the corresponding key is clicked once is detected, the first operation is represented, and if the condition that the corresponding key is clicked twice is detected, the second operation is represented.
The above-mentioned corresponding relationship between the trigger mode and the specific operation is not the only selectable technology, and it may also be set that the first operation in the query operation specifically adopts the key input, and no matter how many times the key is clicked, the first operation is determined, the second operation adopts the touch input, and the second operation is determined if the touch to the application identifier is detected.
In the non-inquiry operation process, the generality is not lost, the input is set to be performed by sliding, and the track is the track of an application identifier which is slid on a touchable display screen: the finger contact application mark slides to a predetermined direction. The third operation and the fourth operation have different stroking trajectories, for example, if the stroking trajectory of the third operation is a vertical line, the stroking trajectory of the fourth operation may be a horizontal straight line.
The correspondence between the above-described trigger mode and the specific operation is not the only alternative technique, and it may be set that the third operation is a long press input, that is, after it is detected that the duration of a long press input exceeds a predetermined time interval, it is determined that the long press input is the third operation; the fourth operation is a stroke input, and the stroke trajectory may be arbitrary.
In an application scene, a display screen of the electronic equipment is internally provided with a touch sensing unit, and the touch sensing unit can detect various acting forces on the display screen; as shown in fig. 2, at least one application is displayed on the display screen, and each application corresponds to an application identifier. The appearance form, the Chinese character or English name and even the ID of the application identifier can be changed to adapt to the requirements of different occasions and the aesthetic habits and the use habits of users; the process comprises the following steps:
the touch sensing unit detects input to the display screen, specifically long-press input, determines that the third operation is a non-query operation, enters an editing state of the application identifier, and sets specific parameters of the appearance form of the changed application identifier, such as the size of the application identifier, the specific position in the display screen, and a picture embedded in the application identifier.
The edited application identifier can change the position of the application identifier on the display screen or change the appearance form of the application identifier, for example, the application identifier can be enabled to flash in the process of displaying so as to attract the attention of a user.
As shown in fig. 4, a status window of an application identifier is displayed around the application identifier, and may be located on any side of the top, bottom, left, and right sides; taking the mail manager as an example, the status window of the application identifier is displayed in the upper right direction of the application identifier, the size of the window is fixed, and the displayed content is summary data of three unread mails, including: sender, mail title, and may include other content.
In an application scenario, in the process of changing the status window of the application identifier, the display position of the status window is specifically determined according to the following rules:
rule one, determine the location of the application identifier on the display screen, the status window should be in the vicinity of the application identifier.
Determining the number of attribute columns in the status window, wherein the number of the attribute columns directly determines the specific content of the summary data acquired from the unread mails; for example, if the number of property bars is three, the summary data may include: sender, mail title, and time of arrival; if the number of attribute fields is two, the summary data may include: sender, mail title.
A third rule, after the first rule is satisfied, calculating display areas which can be occupied by the state window in the directions of up, down, left, right, left-up, right-down, left-down and the like of the application identifier respectively;
if at least two directions exist, enough display areas can display the status window; a decision is made by rule three.
Rule four is to determine the final display position of the status window in the above-mentioned directions in a predetermined order, for example, to display the status window most preferentially in the upper right direction.
In the electronic device, the area of the desktop application may be larger than that of the display screen, and the number of the application identifiers received by the electronic device is large, and the application identifiers cannot be displayed on the display screen at the same time, so that adjustment of positions of different application identifiers on the desktop application should be supported.
In a preferred embodiment, a stroking track is detected, the initial position of the stroking track is located at an application identifier, and the end position of the stroking track is located at a place different from the application identifier on the desktop application;
and judging that the stroking track is a fourth operation, and moving the application identifier to the end position of the stroking track in a fourth instruction.
Because developers in the global scope are developing various applications, one page cannot bear and manage all the applications borne by one electronic device, and needs to be managed in a paging mode; and when the application in the current page does not need to be operated, displaying the application identification of each application on the next page through page turning.
Further, if the area of the desktop application is larger than that of the display screen, page display is required, the desktop application at least comprises one page, and a certain number of application identifiers are displayed in each page; the user may switch between different pages of the desktop application through one page switching operation.
When it is detected that the operation is a fifth operation, namely a deletion operation, indicating that it is desired to delete an application identifier in the current page, for example, the fifth operation is specifically a cross-shaped stroking track, the application identifier is deleted from the current page according to a corresponding fifth instruction, and the application identifier after deletion can be put into a recycling bin of the electronic device.
In the process of obtaining the first information according to the first instruction and displaying the first information, the first information may be displayed in different manners, and specifically, the first information may be displayed near the application identifier corresponding to the first operation, for example, a status bar or a prompt bar is displayed at the top end or the bottom end of the application identifier, and the first information is displayed in the status bar or the prompt bar.
In a preferred embodiment, displaying the first information further comprises: displaying a state window at the application identifier, wherein the position of the state window on a display screen of the electronic equipment is positioned at one side of the application identifier; displaying the first information in a status window.
The status window should be located in the vicinity of the triggered application identifier or block a portion of the application identifier to reveal that there is an association between the status window and the application identifier.
In an application scenario, as shown in fig. 3, a plurality of application identifiers are displayed on a display screen, and when a touch action from a user is detected, a corresponding prompt message may be displayed. If the first application is a mail manager, the application id of the mail manager may be indicated by displaying the number of unread mails as the indication information, for example, if three mails are unread, the indication information is 3. The process comprises the following steps:
step 1, displaying at least one application identifier, wherein the application identifier corresponds to the application; the application identifier of the mail manager is included, which is abbreviated as: a mail manager identification.
Step 2, detecting the trigger of the mail manager identifier; before the specific operation corresponding to the trigger is determined, the number of unread mails is displayed as the prompt message, for example, if three mails are unread, the prompt message is 3.
And 3, when the operation is a first operation, determining a first instruction corresponding to the first operation, and acquiring first information-summary data of the mail manager according to the first instruction.
In the process of acquiring the summary data, each unread mail (Item) in the mail manager is detected, and several attributes of the mail are acquired, which generally comprise the sender, the title and the time of the incoming mail.
Step 4, displaying a status window near the mail manager identifier, and displaying summary data in the status window, specifically including:
acquiring the number of attribute columns in the status window and the data format supported by each attribute column, obviously, the attribute columns in the status window should be matched with a plurality of attributes of the mail acquired before;
and placing a plurality of attributes of the acquired mails in corresponding attribute columns in the status window for displaying.
And 5, when the operation is a second operation, determining a second instruction corresponding to the second operation, and acquiring second information-detailed data of the mail manager according to the second instruction.
At this time, the status window has failed to meet the need for displaying detailed data, and therefore, it is determined that the status window is not displayed any more, but the interface of the mail manager is directly displayed, all mails are displayed in the interface of the mail manager, and three unread mails are arranged at the front end of the mail manager.
In a preferred embodiment, when the operation is a first operation, determining a first instruction corresponding to the first operation, obtaining first information according to the first instruction, and displaying the first information specifically includes:
the first instruction comprises a first type starting parameter, and the first type starting parameter can call the first information and display the first information in a state window when the first application runs;
when the operation is a second operation, determining a second instruction corresponding to the second operation, obtaining second information according to the second instruction, and displaying the second information, specifically including:
and the second instruction comprises a second type starting parameter, and the second type starting parameter can call the second information and display the second information in a corresponding window when the first application runs.
In an application scenario, as shown in fig. 2, a status window of an application identifier is displayed around the application identifier, and may be located at any side of the upper side, the lower side, the left side and the right side, because generally, the area occupied by the status window is small, the first information is used as summary data, the data volume is also small, and the first information may be displayed in the status window;
in the process of generating a corresponding first instruction according to a first operation, the first instruction comprises a first type starting parameter, the first type starting parameter is usually a data structure, the first type starting parameter can call a state window, and required first information is respectively assigned to each variable in the data structure;
the first instruction informs the first application that the first information should be displayed;
when the first application runs, after receiving the notice from the first instruction, a status window is displayed around the first application;
the first type of starting parameter transmits the first information to a state window when the first application runs, and the state window displays the first information.
A status window is displayed around the application identifier and can be positioned at any side of the application identifier, and as the area occupied by the status window is smaller, the second information is taken as detailed data, and the data volume of the second information is larger than that of the summary data, the second information is not displayed in the status window any more;
in the process of generating a corresponding second instruction according to the second operation, the second instruction comprises a second type starting parameter;
the second type of starting parameter can trigger the first application to display the running interface or window of the first application; for example, if the first application is a mail browser, the second message is all mail messages in the mail browser.
The second type of starting parameter can trigger the mail browser to display a mail browser window; the mail browser displays the second information in its own interface.
In an application scenario, the first information is different from the second information in content, and the first information may be summary data of the application; the second information may be detailed data of the application; the detailed data at least comprises summary data; the display modes are different and comprise brief display and detailed display, wherein the summary data are displayed on a display screen of the electronic equipment in a brief mode, and the detailed data are displayed on the display screen of the electronic equipment in a detailed mode.
For an application, the summary data is displayed in the vicinity of the application identifier, and the summary data includes: new update messages with applications, push messages and version information, etc.
The detailed data is displayed on the display screen of the electronic device in detail, that is, an interactive interface of the application is opened, a user realizes various functions of the application through the interactive interface, and current operation buttons, menus, images, real-time data, sounds and the like of the application are displayed on the interactive interface.
In a preferred embodiment, the first application corresponds to a first interface and a second interface; when the operation is a first operation, determining a first instruction corresponding to the first operation, obtaining first information according to the first instruction, and displaying the first information, specifically including:
starting the first application through the first interface according to the first instruction, and displaying the first information in a state window when the first application runs;
when the operation is a second operation, determining a second instruction corresponding to the second operation, obtaining second information according to the second instruction, and displaying the second information, specifically including:
and starting the first application through the second interface according to the second instruction, and displaying the second information in a corresponding window when the first application runs.
In an application scenario, an application has an application identifier corresponding to the application, and the application has two access interfaces:
one entry interface is a LightRun interface as a first interface and the other entry interface is a main program interface as a second interface. Judging to start a LightRun interface of the application or start a main program interface according to different query operations of a user on a display screen; after the application identifier is triggered, if the application is started through the LightRun interface, the electronic device constructs a process to manage the hardware resources and other resources related to the application, and then query operation can directly acquire shared data related to the application through the LightRun interface;
if the application is started through the main program interface, the electronic device constructs a process to manage the hardware resources and other resources related to the application, and then the inquiry operation can directly acquire the shared data related to the application through the main program interface.
In a preferred embodiment, the electronic device further comprises a desktop application (Launcher); the displaying at least one application identification comprises: displaying at least one application identifier in the desktop application;
when the operation is a first operation, determining a first instruction corresponding to the first operation, obtaining first information according to the first instruction, and displaying the first information, specifically including:
generating the first instruction by the desktop application according to the first operation, designating to access the first application in the first instruction, and acquiring the first information from the first application; and displaying the first information in a corresponding window generated by the desktop application.
In an application scene, the desktop application at least supports a system starting function, bears and displays a plurality of application icons, and starts and manages corresponding applications through the application icons; an application icon corresponding to the first application is located on the desktop application;
step 1, the desktop application is in a running state, and the operation of an application identifier corresponding to a first application is detected, wherein the operation is a first operation;
step 2, determining a first instruction corresponding to the first operation, wherein the first instruction comprises: designating a state window to be generated by the desktop application, wherein the state window is positioned on the desktop application; the state window is a corresponding window generated by the desktop application.
step 4, at this time, the first application is in a completely started state or in a partially started state; when the first application is in a fully started state, various supported functions can be realized; when the first application is in a partially started state, the first application cannot realize all functions supported by the first application, but should allow data transmission connection with other applications to be established, so as to realize data sharing and allow other applications to access;
and 5, the Launcher transmits the acquired first information to a status window, and the status window displays the first information on an interface of the Launcher.
In a preferred embodiment, the electronic device further comprises a desktop application; the displaying at least one application identification comprises: displaying at least one application identifier in the desktop application;
when the operation is a first operation, determining a first instruction corresponding to the first operation, specifically including:
generating the first instruction according to the first operation by a desktop application, specifying a source of querying data of the first application in the first instruction, and acquiring the first information from the source;
and displaying the first information in a corresponding window generated by the desktop application.
In an application scene, the desktop application at least supports a system starting function, bears and displays a plurality of application icons, and starts and manages corresponding applications through the application icons; an application icon corresponding to the first application is located on the desktop application;
step 1, desktop application is in a running state, and operation of an application identifier corresponding to a first application is detected; the operation is a first operation;
step 2, determining a first instruction corresponding to the first operation, wherein the first instruction comprises: designating a state window to be generated by the desktop application, wherein the state window is positioned on the desktop application; the state window is a corresponding window generated by the desktop application.
and 4, the Launcher inquires the data of the first application again at the local data source of the electronic equipment or the data source on the network according to the application ID.
Step 5, at this moment, the first application is in the non-starting state, when the first application is in the state of partial starting, various functions supported by the first application cannot be realized; therefore, a data transmission connection cannot be established with other applications, and thus data cannot be transmitted with other applications.
And 6, the Launcher transmits the acquired first information to a status window, and the status window displays the first information on an interface of the Launcher.
It should be noted that the status window may be generated by an operating system of the electronic device, or by a desktop application, or by the first application.
Therefore, in a preferred embodiment, determining a first instruction corresponding to the first operation further includes:
and in the first instruction, the desktop application is appointed to generate a state window, and the state window is used for storing and displaying first information.
Or,
and in the first instruction, the first application is appointed to generate a state window, and the state window is used for storing and displaying first information.
In an application scenario, as shown in fig. 3, the first application is a mail browser, and the mail browser is located on a Launcher;
step 1, the desktop application is in a running state, and the operation of an application identifier corresponding to a mail browser is detected, wherein the operation is a first operation;
step 2, determining a first instruction corresponding to the first operation, wherein the first instruction comprises:
designating a state window to be generated by the desktop application, wherein the state window is positioned on the desktop application; the state window is a corresponding window generated by the desktop application; the desktop application can call a window construction function provided by an operating system and specify parameters required for constructing a state window;
turning to the step 3;
or,
in the first instruction, the first application is appointed to generate a state window, and the state window is used for storing and displaying first information; turning to the step 4;
step 4, the Launcher acquires the position information of the mail browser, and constructs a state window near the application identifier corresponding to the mail browser according to the position information; turning to step 5;
step 5, the Launcher requests the mail browser to establish data transmission connection, and after the data transmission connection is established, requests the mail browser to acquire first information;
or the Launcher inquires the data of the mail browser again at the local data source of the electronic device or the data source on the network according to the ID of the mail browser.
And 6, the Launcher transmits the acquired first information to a status window, and the status window displays the first information on an interface of the Launcher.
An embodiment of the present invention provides an electronic device, including at least one application, as shown in fig. 5, the electronic device includes:
a display unit 501, configured to display at least one application identifier, where the application identifier corresponds to the application;
a detecting unit 502, configured to detect an operation on an application identifier corresponding to a first application;
a first instruction unit 503, configured to determine a first instruction corresponding to the first operation when the operation is a first operation, obtain first information according to the first instruction, and display the first information;
a second instruction unit 504, configured to determine, when the operation is a second operation, a second instruction corresponding to the second operation, obtain second information according to the second instruction, and display the second information; wherein the second operation is different from the first operation, and the first information and the second information are not identical.
In a preferred embodiment, the electronic device further comprises:
the state window management unit is used for displaying a state window at the application identifier, and the position of the state window on the display screen of the electronic equipment is positioned on one side of the application identifier; displaying the first information in the status window.
The first instruction editing unit is configured to, when the operation is a first operation, determine a first instruction corresponding to the first operation, obtain first information according to the first instruction, and display the first information, and specifically includes: the first instruction comprises a first type starting parameter, and the first type starting parameter can call the first information and display the first information in a state window when the first application runs;
a second instruction editing unit, configured to determine, when the operation is a second operation, a second instruction corresponding to the second operation, obtain second information according to the second instruction, and display the second information, where the second instruction editing unit specifically includes: and the second instruction comprises a second type starting parameter, and the second type starting parameter can call the second information and display the second information in a corresponding window when the first application runs.
The first instruction editing unit is specifically configured to assist the first instruction unit 503 in editing the first instruction, and the second instruction editing unit is specifically configured to assist the second instruction unit 504 in editing the second instruction; for example, if there are multiple trigger modes for the first operation, different first instruction editing units may be adopted in the first instruction unit, and the different first instruction editing units support editing of a corresponding first instruction for one of the multiple trigger modes.
A desktop application unit, which is displayed on the display unit 501 and is used for displaying at least one application identifier;
generating the first instruction according to the first operation, designating to access the first application in the first instruction, and acquiring the first information from the first application; displaying the first information in a corresponding window generated by the desktop application;
generating the first instruction according to the first operation, specifying a source of the data of the first application in the first instruction, and acquiring the first information from the source; and displaying the first information in a corresponding window generated by the desktop application.
Part of the functions in the desktop application unit are similar to or even identical to those of the first instruction unit 503 and the second instruction unit 504, and may be implemented by calling the first instruction unit 503 or the second instruction unit 504, or may be directly embedded in the desktop application unit.
The advantages after adopting this scheme are: the electronic equipment supports running of various applications, the same application supports different types of operation, each operation can acquire different service information of the application, display modes of different service information can be customized, and use experience of a user is improved.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention as defined in the appended claims.
Claims (12)
1. A display method is applied to an electronic device, the electronic device comprises at least one application, and the method comprises the following steps:
displaying at least one application identifier, wherein the application identifier corresponds to the application;
detecting operation of an application identifier corresponding to a first application;
when the operation is a first operation, determining a first instruction corresponding to the first operation, obtaining first information according to the first instruction, and displaying the first information;
when the operation is a second operation, determining a second instruction corresponding to the second operation, obtaining second information according to the second instruction, and displaying the second information; wherein the second operation is different from the first operation, and the first information and the second information are not identical.
2. The method according to claim 1, wherein the first information and the second information are not identical, specifically comprising:
the data volume of the first information is smaller than that of the second information, and the second information includes all data of the first information.
3. The method of claim 1, wherein detecting an operation on an application identifier corresponding to a first application further comprises:
when the operation is a third operation, determining a third instruction corresponding to the third operation, and changing the display state of the application identifier in the current page according to the third instruction;
or,
and when the operation is a fourth operation, determining a fourth instruction corresponding to the fourth operation, and changing the existing state of the application identifier in the current page according to the fourth instruction.
4. The method of claim 1, wherein displaying the first information further comprises:
displaying a state window at the application identifier, wherein the position of the state window on a display screen of the electronic equipment is positioned at one side of the application identifier;
displaying the first information in the status window.
5. The method according to claim 1, wherein when the operation is a first operation, determining a first instruction corresponding to the first operation, obtaining first information according to the first instruction, and displaying the first information specifically includes:
the first instruction comprises a first type starting parameter, and the first type starting parameter can call the first information and display the first information in a state window when the first application runs;
when the operation is a second operation, determining a second instruction corresponding to the second operation, obtaining second information according to the second instruction, and displaying the second information, specifically including:
and the second instruction comprises a second type starting parameter, and the second type starting parameter can call the second information and display the second information in a corresponding window when the first application runs.
6. The method of claim 1, wherein the first application corresponds to a first interface and a second interface;
when the operation is a first operation, determining a first instruction corresponding to the first operation, obtaining first information according to the first instruction, and displaying the first information, specifically including:
starting the first application through the first interface according to the first instruction, and displaying the first information in a state window when the first application runs;
when the operation is a second operation, determining a second instruction corresponding to the second operation, obtaining second information according to the second instruction, and displaying the second information, specifically including:
and starting the first application through the second interface according to the second instruction, and displaying the second information in a corresponding window when the first application runs.
7. The method of claim 1, further comprising a desktop application in the electronic device; the displaying at least one application identification comprises: displaying at least one application identifier in the desktop application;
when the operation is a first operation, determining a first instruction corresponding to the first operation, obtaining first information according to the first instruction, and displaying the first information, specifically including:
generating the first instruction by the desktop application according to the first operation, designating to access the first application in the first instruction, and acquiring the first information from the first application;
and displaying the first information in a corresponding window generated by the desktop application.
8. The method of claim 1, further comprising a desktop application in the electronic device; the displaying at least one application identification comprises: displaying at least one application identifier in the desktop application;
when the operation is a first operation, determining a first instruction corresponding to the first operation, specifically including:
generating the first instruction according to the first operation by a desktop application, specifying a source of querying data of the first application in the first instruction, and acquiring the first information from the source;
and displaying the first information in a corresponding window generated by the desktop application.
9. An electronic device comprising at least one application, the electronic device comprising:
the display unit is used for displaying at least one application identifier, and the application identifier corresponds to the application;
the detection unit is used for detecting the operation of an application identifier corresponding to a first application;
the first instruction unit is used for determining a first instruction corresponding to the first operation when the operation is the first operation, acquiring first information according to the first instruction and displaying the first information;
the second instruction unit is used for determining a second instruction corresponding to the second operation when the operation is the second operation, acquiring second information according to the second instruction and displaying the second information; wherein the second operation is different from the first operation, and the first information and the second information are not identical.
10. The electronic device of claim 9, further comprising:
the state window management unit is used for displaying a state window at the application identifier, and the position of the state window on the display screen of the electronic equipment is positioned on one side of the application identifier;
displaying the first information in the status window.
11. The electronic device of claim 9, further comprising:
the first instruction editing unit is configured to, when the operation is a first operation, determine a first instruction corresponding to the first operation, obtain first information according to the first instruction, and display the first information, and specifically includes: the first instruction comprises a first type starting parameter, and the first type starting parameter can call the first information and display the first information in a state window when the first application runs;
a second instruction editing unit, configured to determine, when the operation is a second operation, a second instruction corresponding to the second operation, obtain second information according to the second instruction, and display the second information, where the second instruction editing unit specifically includes: and the second instruction comprises a second type starting parameter, and the second type starting parameter can call the second information and display the second information in a corresponding window when the first application runs.
12. The electronic device of claim 9, further comprising:
the desktop application unit is displayed on the display unit and used for displaying at least one application identifier;
generating the first instruction according to the first operation, designating to access the first application in the first instruction, and acquiring the first information from the first application; displaying the first information in a corresponding window generated by the desktop application;
generating the first instruction according to the first operation, specifying a source of the data of the first application in the first instruction, and acquiring the first information from the source; and displaying the first information in a corresponding window generated by the desktop application.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210045493.1A CN103294351B (en) | 2012-02-24 | 2012-02-24 | A kind of display packing and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210045493.1A CN103294351B (en) | 2012-02-24 | 2012-02-24 | A kind of display packing and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103294351A true CN103294351A (en) | 2013-09-11 |
CN103294351B CN103294351B (en) | 2016-12-14 |
Family
ID=49095331
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210045493.1A Active CN103294351B (en) | 2012-02-24 | 2012-02-24 | A kind of display packing and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103294351B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103870193A (en) * | 2014-02-17 | 2014-06-18 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN104238878A (en) * | 2014-09-05 | 2014-12-24 | 广东欧珀移动通信有限公司 | Method and device for starting application program or application program function |
CN104571800A (en) * | 2013-10-28 | 2015-04-29 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN104572058A (en) * | 2013-10-28 | 2015-04-29 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN104965692A (en) * | 2014-05-08 | 2015-10-07 | 腾讯科技(深圳)有限公司 | Method and system for displaying data across multiple processes in a desktop application |
CN110753156A (en) * | 2019-09-27 | 2020-02-04 | 维沃移动通信有限公司 | Information processing method and terminal equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070136462A1 (en) * | 1999-05-19 | 2007-06-14 | Transparence, Inc. | Non-intrusive interactive notification system and method |
US20110179387A1 (en) * | 2009-03-16 | 2011-07-21 | Shaffer Joshua L | Event Recognition |
CN103246470A (en) * | 2012-02-02 | 2013-08-14 | Lg电子株式会社 | Mobile terminal and controlling method thereof |
-
2012
- 2012-02-24 CN CN201210045493.1A patent/CN103294351B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070136462A1 (en) * | 1999-05-19 | 2007-06-14 | Transparence, Inc. | Non-intrusive interactive notification system and method |
US20110179387A1 (en) * | 2009-03-16 | 2011-07-21 | Shaffer Joshua L | Event Recognition |
CN103246470A (en) * | 2012-02-02 | 2013-08-14 | Lg电子株式会社 | Mobile terminal and controlling method thereof |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104571800A (en) * | 2013-10-28 | 2015-04-29 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN104572058A (en) * | 2013-10-28 | 2015-04-29 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN103870193A (en) * | 2014-02-17 | 2014-06-18 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN104965692A (en) * | 2014-05-08 | 2015-10-07 | 腾讯科技(深圳)有限公司 | Method and system for displaying data across multiple processes in a desktop application |
CN104965692B (en) * | 2014-05-08 | 2018-09-14 | 腾讯科技(深圳)有限公司 | The method and system of striding course display data in desktop application |
CN104238878A (en) * | 2014-09-05 | 2014-12-24 | 广东欧珀移动通信有限公司 | Method and device for starting application program or application program function |
CN104238878B (en) * | 2014-09-05 | 2018-01-16 | 广东欧珀移动通信有限公司 | A kind of method and device for starting application program or function of application |
CN110753156A (en) * | 2019-09-27 | 2020-02-04 | 维沃移动通信有限公司 | Information processing method and terminal equipment |
Also Published As
Publication number | Publication date |
---|---|
CN103294351B (en) | 2016-12-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103294351B (en) | A kind of display packing and electronic equipment | |
CN112162807B (en) | Function execution method and device | |
CN104699378A (en) | Information browsing method and information browsing system in multi-person chatting | |
CN112269798B (en) | Information display method and device and electronic equipment | |
CN103593116A (en) | Method and device for displaying and controlling portable terminal toolbar | |
CN112399006B (en) | File sending method and device and electronic equipment | |
CN112286612B (en) | Information display method and device and electronic equipment | |
CN113127773A (en) | Page processing method and device, storage medium and terminal equipment | |
CN112286614A (en) | User interface display method and device, electronic equipment and storage medium | |
CN113114845B (en) | Notification message display method and device | |
CN112286416A (en) | Information display method and device and electronic equipment | |
CN112099694B (en) | Desktop control processing method and device | |
CN113504859A (en) | Transmission method and device | |
CN108563416B (en) | Application display method and device, storage medium and electronic equipment | |
CN113849092A (en) | Content sharing method and device and electronic equipment | |
WO2022213945A1 (en) | Application reminding method and apparatus, and electronic device | |
CN113325978B (en) | Message display method and device and electronic equipment | |
CN111857466B (en) | Message display method and device | |
CN112291412B (en) | Application program control method and device and electronic equipment | |
CN112286611B (en) | Icon display method and device and electronic equipment | |
CN113836089A (en) | Application program display method and device, electronic equipment and readable storage medium | |
CN112286615A (en) | Information display method and device of application program | |
CN112286616A (en) | Dynamic wallpaper setting method and device and electronic equipment | |
CN103150083A (en) | Display method and device for user-defined desktop icons | |
EP4351117A1 (en) | Information display method and apparatus, and electronic device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |