[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN108304113B - Interface interaction configuration method and terminal - Google Patents

Interface interaction configuration method and terminal Download PDF

Info

Publication number
CN108304113B
CN108304113B CN201711471077.7A CN201711471077A CN108304113B CN 108304113 B CN108304113 B CN 108304113B CN 201711471077 A CN201711471077 A CN 201711471077A CN 108304113 B CN108304113 B CN 108304113B
Authority
CN
China
Prior art keywords
control
output
value
policy
strategy
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.)
Active
Application number
CN201711471077.7A
Other languages
Chinese (zh)
Other versions
CN108304113A (en
Inventor
周群辉
刘远荣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SHENZHEN IDREAMSKY TECHNOLOGY Co.,Ltd.
Original Assignee
Shenzhen Idreamsky Technology Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shenzhen Idreamsky Technology Co ltd filed Critical Shenzhen Idreamsky Technology Co ltd
Priority to CN201711471077.7A priority Critical patent/CN108304113B/en
Publication of CN108304113A publication Critical patent/CN108304113A/en
Application granted granted Critical
Publication of CN108304113B publication Critical patent/CN108304113B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses an interface interaction configuration method and a terminal, wherein the method comprises the following steps: outputting a first interface, wherein the first interface comprises at least one control, the attribute of one control corresponds to at least one candidate value, and one candidate value is associated with at least one output strategy; receiving a first input of a user for a first control, wherein the first input is used for changing the value of a first attribute of the control; the value is from the at least one candidate value; the first control is included with the at least one control; in response to the first input, determining an interface output policy associated with a current value of the attribute of the first control; and calling and executing the code corresponding to the determined output strategy. By providing the interface interaction configuration method, the interaction function of various control combinations can be realized, and the workload of configuring codes for the interface controls by a user is reduced.

Description

Interface interaction configuration method and terminal
Technical Field
The present application relates to the field of computer program technologies, and in particular, to an interface interaction configuration method and a terminal.
Background
In recent years, with the rapid development of information technology and computer technology, the rapid advance of network technology, and the design, development and configuration of human-computer interface interaction have become more active research directions in the computer field.
As the interactive interface becomes richer and more diversified at present, the interactive logic of the interface becomes more and more complex. In order to implement complex interface interaction logic, developers often need to configure a large number of instruction codes for the interface, and if the interaction logic on the interface needs to be modified, the developers also need to modify the whole instruction codes of the interface, which increases the burden of the developers.
Disclosure of Invention
The embodiment of the application provides an interface interaction configuration method, which can realize the interaction function of various control combinations and reduce the workload of configuring codes for interface controls by a user.
In a first aspect, an embodiment of the present application provides an interface interaction configuration method, where the method includes:
outputting a first interface, wherein the first interface comprises at least one control, the attribute of one control corresponds to at least one candidate value, and one candidate value is associated with at least one output strategy;
receiving a first input of a user for a first control, wherein the first input is used for changing the value of a first attribute of the control; the value is from the at least one candidate value; the first control is included with the at least one control;
in response to the first input, determining an output policy associated with a current value of the attribute of the first control;
and calling and executing the code corresponding to the determined output strategy.
With reference to the first aspect, in a first implementation manner of the first aspect, the output policy is associated with at least one second control; the second control is included with the at least one control; the output strategy is specifically used for setting the value of the attribute of the second control;
the calling and executing the code corresponding to the determined output policy specifically includes:
and calling and executing code for setting the value of the attribute of the second control.
With reference to the first aspect, in a second implementation manner of the first aspect, the output policy is associated with at least one second control; the second control is included with the at least one control; the output strategy is specifically used for setting a display mode of the attribute value of the second control;
the calling and executing the code corresponding to the determined output policy specifically includes: and calling and executing code for setting the display mode of the attribute value of the second control.
With reference to the first aspect, in a third implementation manner of the first aspect, the output policy is associated with at least one second control; the second control is included with the at least one control; the output policy is specifically for enabling or disabling the second control;
the calling and executing the code corresponding to the determined output policy specifically includes:
code for enabling or disabling the second control is invoked and executed.
With reference to the first aspect, in a fourth implementation manner of the first aspect, the output policy includes at least one of: a display output strategy, an audio output strategy and/or a mechanical vibration output strategy;
when the output policy includes the display output policy, the invoking and executing a code corresponding to the determined output policy specifically includes:
calling and executing a code corresponding to the display output strategy;
when the output policy includes the audio output policy, the invoking and executing the code corresponding to the determined output policy specifically includes:
calling and executing codes corresponding to the audio output strategies;
when the output policy includes the mechanical vibration output policy, the invoking and executing a code corresponding to the determined output policy specifically includes:
and calling and executing the code corresponding to the mechanical vibration output strategy.
In a second aspect, the present application provides a terminal, comprising:
the output unit is used for outputting a first interface, the first interface comprises at least one control, the attribute of one control corresponds to at least one candidate value, and one candidate value is associated with at least one output strategy;
the control system comprises a receiving unit, a control unit and a control unit, wherein the receiving unit is used for receiving a first input aiming at a first control input by a user, and the first input is used for changing the value of a first attribute of the control; the value is from the at least one candidate value; the first control is included with the at least one control;
a processing unit, configured to determine, in response to the first input, an output policy associated with a current value of the attribute of the first control;
and the execution unit is used for calling and executing the code corresponding to the determined output strategy.
With reference to the second aspect, in a first implementation manner of the second aspect, the output policy is associated with at least one second control; the second control is included with the at least one control; the output strategy is specifically used for setting the value of the attribute of the second control;
the execution unit is specifically configured to invoke and execute a code for setting a value of the attribute of the second control.
With reference to the second aspect, in a second implementation manner of the second aspect, the output policy is associated with at least one second control; the second control is included with the at least one control; the output strategy is specifically used for setting a display mode of the attribute value of the second control;
the execution unit is specifically configured to invoke and execute a code for setting a display mode of the attribute value of the second control.
With reference to the second aspect, in a third implementation manner of the second aspect, the output policy is associated with at least one second control; the second control is included with the at least one control; the output strategy is specifically used for setting the enabling or disabling of the second control; the execution unit is specifically configured to invoke and execute a code for enabling or disabling the second control.
With reference to the second aspect or the first to third implementations of the second aspect, in a fourth implementation of the second aspect, the output policy includes at least one of: a display output strategy, an audio output strategy and/or a mechanical vibration output strategy;
when the output policy includes the display output policy, the execution unit is specifically configured to call and execute a code corresponding to the display output policy;
when the output policy includes the audio output policy, the execution unit is specifically configured to call and execute a code corresponding to the audio output policy;
when the output strategy comprises the mechanical vibration output strategy, the execution unit is specifically configured to call and execute a code corresponding to the mechanical vibration output strategy.
In a third aspect, the present application provides another terminal, including a processor, an input device, an output device, and a memory, where the processor, the input device, the output device, and the memory are connected to each other, where the memory is used for storing application program codes that support the terminal to execute the above method, and the processor is configured to execute the above method of the first aspect.
In a fourth aspect, the present application provides a computer-readable storage medium storing a computer program comprising program instructions which, when executed by a processor, cause the processor to perform the method of the first aspect described above.
In a fifth aspect, the present application provides a computer program comprising program instructions which, when executed by a processor, cause the processor to perform the method of the first aspect described above.
The embodiment of the application has the following beneficial effects:
the terminal outputs a first interface comprising at least one control, the attribute of the control corresponds to at least one candidate value, and the candidate value is associated with at least one output strategy. And the terminal receives a first input of a user for the first control, and changes the value of the first attribute of the control, wherein the value can be from the at least one candidate value. The terminal rod can respond to the first input, determine an output strategy, and call and execute codes corresponding to the determined output strategy. The method and the device can realize the interactive function of various control combinations, and reduce the workload of configuring codes for the interface controls by a user.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic flow chart diagram of a method for configuring interface interaction provided by the present application;
FIG. 2A is a schematic diagram of an interface effect of an interface interaction configuration method provided by the present application;
FIG. 2B is a schematic diagram of another interface effect of the interface interaction configuration method provided in the present application;
FIG. 2C is a schematic diagram of another interface effect of the interface interaction configuration method provided by the present application;
FIG. 2D is a schematic diagram illustrating another interface effect of the interface interaction configuration method provided by the present application;
FIG. 2E is another schematic diagram of an interface effect of the interface interaction configuration method provided by the present application
Fig. 3 is a schematic structural diagram of a terminal provided in the present application;
fig. 4 is a schematic structural diagram of another terminal provided in the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It is to be understood that the terminology used in the embodiments of the present application is for the purpose of describing particular embodiments only, and is not intended to be limiting of the application. As used in the examples of this application and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
The terminal in the present application includes, but is not limited to, a mobile phone, a mobile computer, a tablet computer, a Personal Digital Assistant (PDA), a media player, a smart tv, a smart watch, smart glasses, a smart bracelet, and the like. It should be noted that the terminal can output an interactive interface, the interface has a control capable of receiving user input, and the terminal can receive user editing and modifying of the control configuration code on the interface. Therefore, different interactive functions can be realized according to the free combination of the control configuration codes, and the workload of configuring the codes for the interface by a user can be reduced.
The following describes the interface interaction configuration method provided by the present application in detail through several embodiments
Referring to fig. 1, which is a schematic flow chart of an interface interaction configuration method provided in the present application, as shown in fig. 1, the method may include, but is not limited to, the following steps: S101-S104.
S101, a terminal outputs a first interface, wherein the first interface comprises at least one control. Specifically, the attribute of one control corresponds to at least one candidate value, and one candidate value is associated with at least one output policy.
S102, a terminal receives a first input of a user for a first control, wherein the first input is used for changing the value of a first attribute of the control. Specifically, the value is derived from the at least one candidate value; the first control is included with the at least one control. The first input may be an input of a user received by the terminal through an input device (e.g., keyboard, mouse).
S103, the terminal responds to the first input, and determines an output strategy associated with the current value of the attribute of the first control.
And S104, the terminal calls and executes the code corresponding to the determined output strategy.
First, the control in the first interface and the candidate values corresponding to the properties of the control pair are described below.
For example, as shown in FIG. 2A, the first interface may include a "push time setting" control, a "push date" control, a "push time" control, a "current date" control, and a "current time" control. The properties of the "push time setting" control may correspond to two candidate values, custom and immediate.
The output policy associated with the candidate value "custom" may be to display a "date pushed" control, display a "time pushed" control, hide a "current date" control, and/or a "current time" control. For example, when the first attribute of the "push time setting" control receives a user selection of the candidate value "self-definition", the first interface is as shown in fig. 2B, the terminal may display a "push date" control and a "push time" control, and the terminal may hide the "current date" control and the "current time" control.
Wherein the output policy associated with the candidate value "immediately" may be to display a "current date" control, to display a "current time" control, to hide a "push date" control, and/or to hide a "push time" control. For example, when the first property of the "push time setting" control receives a user selection of the candidate value "immediately", the first interface is as shown in fig. 2B, the terminal may display a "current date" control and a "current time" control, and the terminal may hide the "push date" control and the "push time" control.
The examples are merely illustrative of the present application and should not be construed as limiting.
Next, how the terminal accepts the first input will be described in detail below.
The first input may be an input of a user received by the terminal through an input device (e.g., keyboard, mouse). Optionally, the first input may be that the terminal receives the first input by the user through a mouse, or that the terminal receives the input by the user through a touch screen.
The first input may include, but is not limited to, the following input modes.
(1) The first input may be an input for selecting a value of a first attribute of the first control by the user.
For example, as shown in fig. 2B, the first input may be an input by the user for a "push time setting" control, and the user may select and click a value of a first attribute of the "push time setting" control through a left mouse button. The candidate value of the first attribute of the "push time setting" can be "self-defined" or "immediate", and the user can click a "self-defined" button through a left mouse button to select "self-defined" as the value of the first attribute of the "push time setting" control. As shown in fig. 2D, the user may also click an "now" button via the left mouse button to select the first attribute value of the "immediately" to "push time setting" control. The examples are merely illustrative of the present application and should not be construed as limiting.
(2) The first input may be an input for the user to deselect the first property value of the first control.
For example, as shown in fig. 2B, the first input may be an input by a user with respect to a "push time setting" control, and when the first attribute value of the "push time setting" control is "custom", the user may cancel the selection of "custom" by double-clicking a "custom" button on a left button of a mouse. The examples are merely illustrative of the present application and should not be construed as limiting.
(3) The first input may be an input for a user to change a value of a first attribute of the first control.
For example, as shown in fig. 2B, the first input may be an input by a user with respect to a "push time setting" control, and when the first attribute value of the "push time setting" control is "immediate", the user may click a "custom" button through a left mouse button to change the first attribute value to "custom". The examples are merely illustrative of the present application and should not be construed as limiting.
In an alternative embodiment, the output policy may be associated with at least one second control, the second control being included with the at least one control. Here, the output policy may be used to set the manner of interaction between the second control and the user. In particular, the output policy described above may be used to set the manner of interaction between the second control and the user by, but not limited to, the following.
(1) The output policy may be specifically used to set a value of an attribute of the second control.
For example, as shown in FIG. 2D, the first control may be a "push time setup" control, and the second control may be a "current date" control and a "current time" control. When the attribute value of the "push time setting" control is changed to "immediately", the output policy associated with the attribute value of the "push time setting" immediately "may be to set the attribute value of the" current date "control to" 2017-08-09 ", and set the attribute value of the" current time "control to" 17:12:00 ". The examples are merely illustrative of the present application and should not be construed as limiting.
(2) The output policy may be specifically used to set a display mode of the attribute of the second control.
For example, as shown in FIG. 2B, the first control may be a "push time setup" control, and the second control may be a "push date" control, a "push time" control, a "current date" control, and a "current time" control. When the attribute value of the "push time setting" control is changed to "self-defining", the output policy associated with the attribute value "self-defining" of the "push time setting" control may be displaying the "push date" control, displaying the "push time" control, hiding the "current date" control, and hiding the "current time" control. The examples are merely illustrative of the present application and should not be construed as limiting.
For another example, as shown in fig. 2D, the first control may be a "push time setting" control, and the second control may be a "current date" control, a "current time" control, a "push date" control, and a "push time" control. If the attribute value of the "push time setting" control is changed to "immediate", the output policy associated with the attribute value of the "push time setting" control may be to display the "current date" control, display the "current time" control, hide the "push date" control, and hide the "push time" control. The examples are merely illustrative of the present application and should not be construed as limiting.
For another example, as shown in FIG. 2C, the first control may be a "push date" control and the second control may be a "push time" control. When the attribute value of the "date pushed" control is changed to "2017-08-07", the output policy associated with the attribute value "2017-08-07" of the "date pushed" control may be to set the "display transparency of the attribute of the" time pushed "control to 50%", and if the attribute value of the "date pushed" control is changed to "2017-08-09", the output policy associated with the attribute value "2017-08-09" of the "date pushed" control may be to set the "display transparency of the attribute of the" time pushed "control to 100%". The examples are merely illustrative of the present application and should not be construed as limiting.
(3) The output policy may specifically be used to enable or disable the second control.
For example, as shown in FIG. 2B, the first control may be a "push date" control and the second control may be a "push time" control. When the attribute value of the "date pushing" control is changed to "2017-08-07", the output strategy associated with the attribute value of the "date pushing" control "2017-08-07" may be to enable the "time pushing" control, that is, the "time pushing" control may not receive the input of the user. If the attribute value of the "date pushing" control is changed to be "2017-08-09", the output strategy associated with the attribute value of the "date pushing" control "2017-08-09" can enable the "time pushing" control, that is, the "time pushing" control can receive the input of the user. The examples are merely illustrative of the present application and should not be construed as limiting.
Finally, how the terminal calls and executes the code corresponding to the determined output policy is described below.
Specifically, a listener may be associated with the candidate value of the first attribute of the first control, and the listener may be configured to capture a user input that the candidate value is selected, and call and execute a code corresponding to a corresponding output policy (an output policy corresponding to the candidate value). When the candidate value is selected by the user, the corresponding listener is triggered, and the terminal can call and execute the code corresponding to the corresponding output policy.
Optionally, each control on the first interface may be associated with a code database, and the code database may include codes corresponding to at least one output policy of the control on the first interface.
For example, as shown in fig. 2B and 2D, it is assumed that the first control is a "push time setting" control, and the second controls are a "push date control", a "push time" control, a "current date" control, and a "current time" control. The candidate values of the first attribute of the "push time setting" control are "self-defining" and "immediate", etc. In the above example, the following table shows: the code database of the "push time setting" control may include code corresponding to at least one output policy.
Figure BDA0001531220510000081
TABLE 1
Wherein, the output policy of the candidate value "self-defined" (displaying the "push date" control and the "push time" control) may correspond to "code 1". The output policy of candidate value "custom" (hiding the "current date" control and the "current time" control) may correspond to "code 2". The output policy for candidate value "immediate" (displaying the "current date" control and the "current time" control) may correspond to "code 3". The output policy for candidate value "immediate" (hiding the "date pushed" control and the "time pushed" control) may correspond to "code 4". Table 1 is merely illustrative of the present application and should not be construed as limiting.
Optionally, the second control may also receive user input to set the interaction mode between the other controls and the user. That is, the second control may also be used to receive the first input.
For example, as shown in fig. 2B and 2C, the second control may be a "push date" control and the other controls may be "push time" controls. The candidate values of the first attribute of the 'push date' control comprise 'before current date-2017-08-07 (current date) ",' 2017-08-07 (current date) -after current date", and the like.
The terminal may display a "push date" control and a "push time" control on the first interface. The code database of the "push date" control can have at least one code corresponding to an output policy. For example, as shown in the following table:
Figure BDA0001531220510000091
TABLE 2
Wherein the output policy of 2017-08-07 (current date) before the current date, which is the candidate value of the "push date" control (to enable the "push time" control) may correspond to "code 5". The output policy of 2017-08-07 (current date) before the candidate value of the "push date" control "current date (setting the display transparency of the" push time "control to 50%) may correspond to" code 6 ". The output policy of the candidate value of the "push date" control "2017-08-07 (current date) — after the current date" (enable "push time" control) may correspond to "code 7". The output policy of the candidate value "2017-08-07 (current date) — after the current date" of the "push date" control (setting the setting of the "push time" control shows transparency to 100%) may correspond to "code 8". Table 2 is merely illustrative of the present application and should not be construed as limiting.
Optionally, the terminal may receive a code corresponding to the output policy input by the user. The terminal can output a code adding interface, and the code adding interface can be used for displaying codes of at least one output strategy associated with each control in the first interface. The code adding interface can receive that a user adds a code corresponding to an output strategy to a control on the first interface, and can also receive modification and deletion of the user aiming at the code corresponding to the existing output strategy.
In some optional embodiments, the output policy may include: a display output strategy, an audio output strategy, and/or a mechanical vibration output strategy.
And aiming at the display output strategy, the terminal can call and execute the determined code corresponding to the display output strategy. Here, the code corresponding to the display output policy is used to drive the terminal (specifically, the display) to display according to the code corresponding to the display output policy.
For the audio output policy, the terminal may call and execute the determined code corresponding to the audio output policy. Here, the code corresponding to the audio output policy is used to drive a terminal (specifically, an audio output circuit) to perform audio output according to the code corresponding to the audio output policy.
And aiming at the mechanical vibration output strategy, the terminal can call and execute the code corresponding to the determined mechanical vibration output strategy. Here, the code corresponding to the mechanical output strategy is used to drive the terminal (specifically, the mechanical vibration device) to perform mechanical vibration according to the code corresponding to the mechanical vibration strategy.
For example, as shown in fig. 2E, the first control is an "alarm triggering mode" control for setting an alarm triggering mode, and candidate values of the triggering mode may be "self-defined" and "immediate". The second controls are an alarm clock date control and an alarm clock time control, the alarm clock date control is used for receiving the date of the alarm clock set by the user, and the alarm clock time control is used for receiving the time of the alarm clock set by the user.
When the attribute value of the alarm clock trigger mode control is changed to be 'immediate', the terminal can determine that the output strategy associated with the attribute value 'immediate' of the 'push time setting' control comprises a display output strategy for displaying an 'alarm clock date' control and an 'alarm clock time' control, an audio output strategy for playing 'music 1' and a mechanical vibration strategy with the frequency of '3 HZ'. The examples are merely illustrative of the present application and should not be construed as limiting.
When the attribute value of the alarm clock triggering mode control is changed into self-definition, the alarm clock date can be 2017-08-09, the alarm clock time can be 19:00:00, the current date is 2017-08-07 and the current time is 19:00: 00. The terminal can time, when the time reaches '2017-08-0919: 00: 00', the terminal can display an interface triggered by the preset alarm clock, output the audio triggered by the preset alarm clock (music 1) and output the vibration effect triggered by the preset alarm clock (mechanical vibration with the frequency of '3 HZ'). The terminal can trigger execution of the code corresponding to the determined output strategy, and delay execution of the determined output strategy. The codes corresponding to the output strategies can be specifically used for timing, when the alarm clock time is up, an interface triggered by the preset alarm clock is displayed according to the display output strategy, the audio triggered by the preset alarm clock is output according to the audio output strategy, and the vibration effect triggered by the preset alarm clock is output according to the vibration output strategy. By the implementation mode, the interface interaction effect can be output to the user at regular time, and the user experience is improved.
By the embodiment, the terminal can realize the declarative code configuration method for the interface control, is easy to read, can realize the interactive function of various control combinations, and reduces the workload of configuring codes for the interface control by a user.
Fig. 3 is a schematic structural diagram of a terminal provided in the present application. As shown in fig. 3, the terminal 30 may include: an output unit 310, a receiving unit 320, a processing unit 330, an execution unit 340, wherein,
an output unit 310, configured to output a first interface, where the first interface includes at least one control, where an attribute of one control corresponds to at least one candidate value, and one candidate value is associated with at least one output policy;
a receiving unit 320, configured to receive a first input, which is input by a user and is directed to a first control, where the first input is used to change a value of a first attribute of the control; the value is from the at least one candidate value; the first control is included with the at least one control;
a processing unit 330, configured to determine, in response to the first input, an interface output policy associated with a current value of the attribute of the first control;
the executing unit 340 may be configured to call and execute a code corresponding to the determined output policy.
Optionally, the output policy is associated with at least one second control; the second control is included with the at least one control; the output policy is specifically used for setting a value of the attribute of the second control.
The executing unit 340 may be configured to set a value of the attribute of the second control according to the output policy.
Optionally, the output policy is associated with at least one second control; the second control is included with the at least one control; the output strategy is specifically used for setting a display mode of the attribute value of the second control;
the executing unit 340 may be configured to set a display mode of the attribute value of the second control according to the output policy.
Optionally, the output policy is associated with at least one second control; the second control is included in the at least one second control; the second control is included with the at least one control; the output strategy is specifically used for setting the enabling or disabling of the second control;
the executing unit 340 may be configured to set enabling or disabling of the second control according to the output policy.
Optionally, the output policy may include: a display output strategy, a volume output strategy, and/or a mechanical vibration output strategy.
Referring to fig. 4, a schematic structural diagram of another terminal provided in the present application is shown. As shown in fig. 4, the terminal 40 may include: at least one processor 401, e.g. a CPU, at least one network interface 404, a memory 405, a clock module 403, at least one communication bus 402, input means 406, output means 407. The clock module 403 is mainly used for generating clocks required for data transmission and timing control for the processor 401. Memory 405 is coupled to processor 401 via communication bus 402. memory 405 may be a high-speed RAM memory or a non-volatile memory, such as at least one disk memory. The network interface 404 may communicate with other terminals.
The processor 401 may be a Central Processing Unit (CPU), and may also be other general purpose processors, Digital Signal Processors (DSP), Application Specific Integrated Circuits (ASIC), Field-Programmable Gate arrays (FPGA) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, and so forth. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The output device 407 may be used to output a representation of the interface interaction output policy. The output device 407 may include a Display screen 4071, an audio circuit 4072, a mechanical output device 4073, and the like, and optionally, the Display screen 4071 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), and the like. The display screen 4071 may output a picture-like and/or video-like representation of the output policy. Optionally, the audio circuitry 4072 may be used to provide an audio interface between the user and the terminal 40. The audio circuitry 4072 may also include an earpiece jack to provide communication of a peripheral headset with the terminal 40. The audio circuitry 4072 may implement an audio special effect that outputs the output strategy. The output device 4073 may further comprise a mechanical output device 4073, the mechanical output device 4073 may be a vibrator, the mechanical output device 4073 may output a representation of the output strategy vibration class, and the like.
Input device 406 may be used to receive input numeric or character information and generate input of keyboard, mouse, joystick, optical or trackball signals related to user settings, interface control property selections, and interface control associated code configurations. In particular, terminal 40 may also include other input devices, which may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
In this application, processor 401 may be used to read and execute computer readable instructions. Specifically, the processor 401 may be configured to call a program in the memory 405, for example, an implementation program of the interface interaction configuration method (in the embodiment corresponding to fig. 1) provided in the present application, and execute instructions included in the program.
It should be noted that the terminal 40 shown in fig. 4 is only one implementation manner of the embodiment of the present application, and in practical applications, the terminal 40 may also include more or less components, and is not limited herein.
In another embodiment of the present application, a computer-readable storage medium is provided, which stores a computer program that, when executed by a processor, implements the method of fig. 1 described above.
The computer readable storage medium may be an internal storage unit of the terminal according to any of the foregoing embodiments, for example, a hard disk or a memory of the terminal. The computer readable storage medium may also be an external storage device of the terminal, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like provided on the terminal. Further, the computer-readable storage medium may also include both an internal storage unit and an external storage device of the terminal. The computer-readable storage medium is used for storing the computer program and other programs and data required by the terminal. The computer readable storage medium may also be used to temporarily store data that has been output or is to be output.
Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be embodied in electronic hardware, computer software, or combinations of both, and that the components and steps of the examples have been described in a functional general in the foregoing description for the purpose of illustrating clearly the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the server, the terminal and the unit described above may refer to corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed method, server and terminal may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may also be an electric, mechanical or other form of connection.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the scheme of the application.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially or partially contributed by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
While the invention has been described with reference to specific embodiments, the scope of the invention is not limited thereto, and those skilled in the art can easily conceive various equivalent modifications or substitutions within the technical scope of the invention. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. An interface interaction configuration method is characterized by comprising the following steps:
outputting a code adding interface;
receiving code of adding an output strategy for a control on a first interface on the code adding interface by a user;
outputting the first interface, wherein the first interface comprises at least one control, the attribute of one control corresponds to at least one candidate value, and one candidate value is associated with at least one output strategy;
receiving a first input of a user for a first control, wherein the first input is used for changing the value of a first attribute of the control; the value is from the at least one candidate value; the first control is included with the at least one control; the first control is used for setting a push type, and the at least one candidate value comprises 'custom' and 'immediate';
in response to the first input, determining an output policy associated with a current value of the attribute of the first control;
and calling and executing a code corresponding to the determined output strategy, wherein the output strategy is used for enabling or disabling a second control, and the second control comprises a control for displaying the current time and a control for setting the push time.
2. The method of claim 1, wherein the output policy is associated with at least one second control; the second control is included with the at least one control; the output strategy is also used for setting the value of the attribute of the second control;
the calling and executing the code corresponding to the determined output policy specifically includes:
and calling and executing code for setting the value of the attribute of the second control.
3. The method of claim 1, wherein the output policy is associated with at least one second control; the second control is included with the at least one control; the output strategy is also used for setting the display mode of the attribute value of the second control;
the calling and executing the code corresponding to the determined output policy specifically includes: and calling and executing code for setting the display mode of the attribute value of the second control.
4. The method of claim 1, wherein the output policy is associated with at least one second control; the second control is included with the at least one control;
the calling and executing the code corresponding to the determined output policy specifically includes:
code for enabling or disabling the second control is invoked and executed.
5. The method according to any of claims 1-4, wherein the output policy comprises at least one of: a display output strategy, an audio output strategy and/or a mechanical vibration output strategy;
when the output policy includes the display output policy, the invoking and executing a code corresponding to the determined output policy specifically includes:
calling and executing a code corresponding to the display output strategy;
when the output policy includes the audio output policy, the invoking and executing the code corresponding to the determined output policy specifically includes:
calling and executing codes corresponding to the audio output strategies;
when the output policy includes the mechanical vibration output policy, the invoking and executing a code corresponding to the determined output policy specifically includes:
and calling and executing the code corresponding to the mechanical vibration output strategy.
6. A terminal, comprising:
the output unit is used for outputting a code adding interface;
the receiving unit is used for receiving a code of adding an output strategy on the code adding interface by a user aiming at a control on a first interface;
the output unit is further configured to output a first interface, where the first interface includes at least one control, where an attribute of one control corresponds to at least one candidate value, and one candidate value is associated with at least one output policy;
the receiving unit is further configured to receive a first input, which is input by a user and is directed at a first control, where the first input is used to change a value of a first attribute of the control; the value is from the at least one candidate value; the first control is included with the at least one control; the first control is used for setting a push type, and the at least one candidate value comprises 'custom' and 'immediate';
a processing unit, configured to determine, in response to the first input, an output policy associated with a current value of the attribute of the first control;
and the execution unit is used for calling and executing the code corresponding to the determined output strategy, the output strategy is used for enabling or disabling a second control, and the second control comprises a control for displaying the current time and a control for setting the push time.
7. The terminal of claim 6, wherein the output policy is associated with at least one second control; the second control is included with the at least one control; the output strategy is also used for setting the value of the attribute of the second control; the execution unit is specifically configured to invoke and execute a code corresponding to a value for setting the attribute of the second control.
8. The terminal of claim 6, wherein the output policy is associated with at least one second control; the second control is included with the at least one control; the output strategy is also used for setting the display mode of the attribute value of the second control;
the execution unit is specifically configured to invoke and execute a code corresponding to a display mode for setting the attribute value of the second control.
9. The terminal of claim 6, wherein the output policy is associated with at least one second control; the second control is included with the at least one control; the execution unit is specifically configured to invoke and execute a code corresponding to the second control, where the code is used to enable or disable the second control.
10. The terminal according to any of claims 6-9, wherein the output policy comprises at least one of: a display output strategy, an audio output strategy and/or a mechanical vibration output strategy;
when the output policy includes the display output policy, the execution unit is specifically configured to call and execute a code corresponding to the display output policy;
when the output policy includes the audio output policy, the execution unit is specifically configured to call and execute a code corresponding to the audio output policy;
when the output strategy comprises the mechanical vibration output strategy, the execution unit is specifically configured to call and execute a code corresponding to the mechanical vibration output strategy.
CN201711471077.7A 2017-12-28 2017-12-28 Interface interaction configuration method and terminal Active CN108304113B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711471077.7A CN108304113B (en) 2017-12-28 2017-12-28 Interface interaction configuration method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711471077.7A CN108304113B (en) 2017-12-28 2017-12-28 Interface interaction configuration method and terminal

Publications (2)

Publication Number Publication Date
CN108304113A CN108304113A (en) 2018-07-20
CN108304113B true CN108304113B (en) 2020-11-06

Family

ID=62867551

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711471077.7A Active CN108304113B (en) 2017-12-28 2017-12-28 Interface interaction configuration method and terminal

Country Status (1)

Country Link
CN (1) CN108304113B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11531748B2 (en) * 2019-01-11 2022-12-20 Beijing Jingdong Shangke Information Technology Co., Ltd. Method and system for autonomous malware analysis
CN111258569A (en) * 2020-01-09 2020-06-09 卓望数码技术(深圳)有限公司 Webpage component editing method, device, equipment and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1954287A (en) * 2003-04-03 2007-04-25 汤姆森许可贸易公司 Method for presenting menu buttons
CN101055586A (en) * 2006-04-11 2007-10-17 国际商业机器公司 Method for selectively starting small window and system for displaying Web content
CN104904163A (en) * 2012-10-05 2015-09-09 甲骨文国际公司 Method and system for communicating within a messaging architecture using a structured data object
CN106855970A (en) * 2015-12-09 2017-06-16 正大天晴药业集团股份有限公司 Method for sending information and device

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100487645C (en) * 2007-06-29 2009-05-13 中兴通讯股份有限公司 Automatically generating method based on data driving interface
US8781436B2 (en) * 2011-08-09 2014-07-15 Htc Corporation Method and system for enabling a user to configure custom voice alarms/events for mobile communication devices
US9197888B2 (en) * 2012-03-13 2015-11-24 Dolby Laboratories Licensing Corporation Overlapped rate control for video splicing applications
CN102866890B (en) * 2012-09-11 2015-03-11 哈尔滨商业大学 System and method for generating Android embedded interface and program framework based on object correlation
CN103955366B (en) * 2014-04-18 2017-04-19 南威软件股份有限公司 Producing method of visualized website template
CN106162344A (en) * 2015-03-25 2016-11-23 中兴通讯股份有限公司 Interface processing method, Apparatus and system
CN106708482A (en) * 2015-07-30 2017-05-24 北京奇虎科技有限公司 Date information display method and apparatus
CN107479783A (en) * 2017-07-28 2017-12-15 深圳市元征科技股份有限公司 A kind of picture upload method and terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1954287A (en) * 2003-04-03 2007-04-25 汤姆森许可贸易公司 Method for presenting menu buttons
CN101055586A (en) * 2006-04-11 2007-10-17 国际商业机器公司 Method for selectively starting small window and system for displaying Web content
CN104904163A (en) * 2012-10-05 2015-09-09 甲骨文国际公司 Method and system for communicating within a messaging architecture using a structured data object
CN106855970A (en) * 2015-12-09 2017-06-16 正大天晴药业集团股份有限公司 Method for sending information and device

Also Published As

Publication number Publication date
CN108304113A (en) 2018-07-20

Similar Documents

Publication Publication Date Title
TWI590145B (en) User-resizable icons
CA2736830C (en) Management of device settings via a plurality of interfaces
CN107741820B (en) Input method keyboard display method and mobile terminal
EP3074861A1 (en) Application activation method and apparatus and electronic equipment
JP2016500175A (en) Method and apparatus for realizing floating object
CN106648326B (en) The method and mobile terminal of screen time is put out in adjustment
CN105912232B (en) Information processing method and electronic equipment
CN108228061B (en) Information display method based on double screens, mobile terminal and storage medium
CN108304113B (en) Interface interaction configuration method and terminal
US20150109210A1 (en) Control method, and input device of touch screen terminal
CN106297836B (en) A kind of audio frequency playing method and terminal
JP2019208952A (en) Program, recording medium, and control method
CN112394901A (en) Audio output mode adjusting method and device and electronic equipment
CN109271156B (en) Bottom layer calling method of game platform and related product
CN109684011B (en) Interface display control method, electronic device and computer readable storage medium
CN103383622B (en) The method of mobile terminal of touch screen response operation and mobile terminal of touch screen
CN106254677A (en) A kind of scene mode setting method and terminal
CN105739771A (en) Display interface management method and device as well as terminal
WO2024104081A1 (en) Wallpaper display method and apparatus, and electronic device
CN106201639A (en) A kind of replacing application drawing calibration method and terminal
US20170123629A1 (en) Icon sequencing method and device for intelligent television desktop
CN115509698A (en) Application program switching method and device, terminal and storage medium
CN112328351A (en) Animation display method, animation display device and terminal equipment
CN106775396A (en) Input operation method and apparatus based on mobile terminal, mobile terminal
CN107241488B (en) Data interaction method and mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

Address after: 518000 unit 01, 16 / F, unit 2, building a, Kexing Science Park, Keyuan Road, Central District, Nanshan District, Shenzhen City, Guangdong Province

Patentee after: SHENZHEN IDREAMSKY TECHNOLOGY Co.,Ltd.

Address before: 518000 unit 01, 16 / F, unit 2, building a, Kexing Science Park, Keyuan Road, Central District, Nanshan District, Shenzhen City, Guangdong Province

Patentee before: SHENZHEN IDREAMSKY TECHNOLOGY Co.,Ltd.

CP03 Change of name, title or address