CN108304113A - A kind of interface alternation configuration method and terminal - Google Patents

A kind of interface alternation configuration method and terminal Download PDF

Info

Publication number
CN108304113A
CN108304113A CN201711471077.7A CN201711471077A CN108304113A CN 108304113 A CN108304113 A CN 108304113A CN 201711471077 A CN201711471077 A CN 201711471077A CN 108304113 A CN108304113 A CN 108304113A
Authority
CN
China
Prior art keywords
control
output policy
output
value
attribute
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
Application number
CN201711471077.7A
Other languages
Chinese (zh)
Other versions
CN108304113B (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 Dream World Polytron Technologies Inc
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 Dream World Polytron Technologies Inc filed Critical Shenzhen Dream World Polytron Technologies Inc
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

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)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

This application discloses a kind of interface alternation configuration method and terminal, wherein method includes:The first interface is exported, first interface includes at least one control, wherein the attribute of a control corresponds at least one candidate value, and a candidate value is associated at least one output policy;Receive first input of the user for the first control, the value of first attribute of first input for changing the control;The value comes from least one candidate value;First control is contained at least one control;In response to first input, the associated interface output policy of the current value of the attribute of first control is determined;It calls and executes the corresponding code of output policy determined.The application may be implemented the interactive function of many controls combination, reduce workload of the user to interface control configuration code by providing a kind of interface alternation configuration method.

Description

A kind of interface alternation configuration method and terminal
Technical field
This application involves technical field of computer programs more particularly to a kind of interface alternation configuration methods and terminal.
Background technology
In recent years, with the rapid development of information technology and computer technology, network technology is advanced by leaps and bounds, man-machine interface Interaction design has become the more active research direction of computer realm with exploitation configuration.
Become more and more rich and varied due to current interactive interface, the interaction logic at interface also becomes to become increasingly complex. In order to realize that complicated interface alternation logic, developer generally require to give interface configurations a large amount of instruction code, to modification Interaction logic on interface, it is also necessary to which developer modifies to the entire instruction code at interface, increases developer's Burden.
Invention content
The embodiment of the present application provides a kind of interface alternation configuration method, it can be achieved that the interactive function that many controls combine, drop Low workload of the user to interface control configuration code.
In a first aspect, the embodiment of the present application provides a kind of interface alternation configuration method, this method includes:
The first interface is exported, first interface includes at least one control, wherein the attribute of a control corresponds at least One candidate value, a candidate value are associated at least one output policy;
First input of the user for the first control is received, described first inputs the first attribute for changing the control Value;The value comes from least one candidate value;First control is contained at least one control;
In response to first input, the associated output plan of the current value of the attribute of first control is determined Slightly;
It calls and executes the corresponding code of output policy determined.
With reference to first aspect, in the first realization method of first aspect, output policy association at least one the Two controls;Second control is contained at least one control;The output policy is specifically used for that second control is arranged The value of the attribute of part;
The calling simultaneously executes the corresponding code of output policy determined, specifically includes:
Call and execute the code of the value of the attribute for second control to be arranged.
With reference to first aspect, in second of realization method of first aspect, output policy association at least one the Two controls;Second control is contained at least one control;The output policy is specifically used for that second control is arranged The display mode of the attribute value of part;
The calling simultaneously executes the corresponding code of output policy determined, specifically includes:It calls and executes and be used for The code of the display mode of the attribute value of second control is set.
With reference to first aspect, in the third realization method of first aspect, output policy association at least one the Two controls;Second control is contained at least one control;The output policy is specifically used for enabled or goes to enabled institute State the second control;
The calling simultaneously executes the corresponding code of output policy determined, specifically includes:
It calls and executes the code for enabling or going to enable second control.
With reference to first aspect, in the 4th kind of realization method of first aspect, the output policy includes following at least one :Show output policy, audio output strategy and/or mechanical oscillation output policy;
When the output policy includes the display output policy, the calling simultaneously executes the output plan determined Slightly corresponding code, specifically includes:
It calls and executes the corresponding code of the display output policy;
When the output policy includes the audio output strategy, the calling simultaneously executes the output plan determined Slightly corresponding code, specifically includes:
It calls and executes the corresponding code of the audio output strategy;
When the output policy includes the mechanical oscillation output policy, the calling and execute it is described determine it is defeated Go out the corresponding code of strategy, specifically includes:
It calls and executes the corresponding code of the mechanical oscillation output policy.
Second aspect, this application provides a kind of terminal, which includes:
Output unit, for exporting the first interface, first interface includes at least one control, wherein a control Attribute correspond at least one candidate value, a candidate value is associated at least one output policy;
Receiving unit, for receive the first control of user's input pin pair first input, it is described first input for changing The value of first attribute of the control;The value comes from least one candidate value;First control is contained in At least one control;
Processing unit, in response to first input, determining the current value of the attribute of first control Associated output policy;
Execution unit, for calling and executing the corresponding code of output policy determined.
In conjunction with second aspect, in the first realization method of second aspect, output policy association at least one the Two controls;Second control is contained at least one control;The output policy is specifically used for that second control is arranged The value of the attribute of part;
The execution unit, the generation of the value specifically for calling and executing the attribute for second control to be arranged Code.
In conjunction with second aspect, in second of realization method of second aspect, output policy association at least one the Two controls;Second control is contained at least one control;The output policy is specifically used for that second control is arranged The display mode of the attribute value of part;
The execution unit, specifically for calling and executing the display mode of the attribute value for second control to be arranged Code.
In conjunction with second aspect, in the third realization method of second aspect, which is characterized in that the output policy association At least one second control;Second control is contained at least one control;The output policy is specifically used for setting Second control enabled goes to enable;The execution unit is used to enable or go enabled institute specifically for calling and executing State the code of the second control.
In conjunction with second aspect or second aspect first to the third realization method, in the 4th kind of realization side of second aspect In formula, which is characterized in that the output policy includes at least one of following:Show output policy, audio output strategy and/or machine Tool vibrates output policy;
When the output policy includes the display output policy, the execution unit, specifically for calling and executing The corresponding code of the display output policy;
When the output policy includes the audio output strategy, the execution unit, specifically for calling and executing The corresponding code of the audio output strategy;
When the output policy includes the mechanical oscillation output policy, the execution unit is specifically used for calling simultaneously Execute the corresponding code of the mechanical oscillation output policy.
The third aspect, this application provides another terminal, including processor, input equipment, output equipment and memory, The processor, input equipment, output equipment and memory are connected with each other, wherein the memory supports terminal for storing The application code of the above method is executed, the processor is configured for the method for executing above-mentioned first aspect.
Fourth aspect, this application provides a kind of computer readable storage medium, the computer storage media is stored with Computer program, the computer program include program instruction, and described program instruction makes the processing when being executed by a processor The method that device executes above-mentioned first aspect.
5th aspect, this application provides a kind of computer program, the computer program includes program instruction, the journey Sequence instruction makes the method that the processor executes above-mentioned first aspect when being executed by a processor.
Implement the embodiment of the present application, has the advantages that:
Terminal output includes the first interface of at least one control, and the attribute of a control corresponds at least one candidate Value, a candidate value are associated at least one output policy.Terminal receives user and is inputted for the first of the first control, described in change The value of first attribute of control, value can come from least one candidate value.Terminal pole can be inputted in response to first, It determines output policy, call and executes the corresponding code of the determining output policy.Many controls group may be implemented in the application The interactive function of conjunction reduces workload of the user to interface control configuration code.
Description of the drawings
It, below will be to needed in embodiment description in order to illustrate more clearly of the embodiment of the present application technical solution Attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is some embodiments of the present application, general for this field For logical technical staff, without creative efforts, other drawings may also be obtained based on these drawings.
Fig. 1 is a kind of schematic flow diagram of interface alternation configuration method provided by the present application;
Fig. 2A is a kind of interfacial effect schematic diagram of interface alternation configuration method provided by the present application;
Fig. 2 B are a kind of another interfacial effect schematic diagrames of interface alternation configuration method provided by the present application;
Fig. 2 C are a kind of another interfacial effect schematic diagrames of interface alternation configuration method provided by the present application;
Fig. 2 D are a kind of another interfacial effect schematic diagrames of interface alternation configuration method provided by the present application;
Fig. 2 E are a kind of another interfacial effect schematic diagrames of interface alternation configuration method provided by the present application
Fig. 3 is a kind of structural schematic diagram of terminal provided by the present application;
Fig. 4 is the structural schematic diagram of another terminal provided by the present application.
Specific implementation mode
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation describes, it is clear that described embodiment is some embodiments of the present application, instead of all the embodiments.Based on this Shen Please in embodiment, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall in the protection scope of this application.
It should be noted that the term used in the embodiment of the present application is the mesh only merely for description specific embodiment , it is not intended to be limiting the application." the one of the embodiment of the present application and singulative used in the attached claims Kind ", " described " and "the" are also intended to including most forms, unless context clearly shows that other meanings.It is also understood that this Term "and/or" used herein refers to and includes one or more associated any or all possible group of list items purposes It closes.
Terminal in the application includes but not limited to mobile phone, removable computer, tablet computer, personal digital assistant (Personal Digital Assistant, PDA), media player, smart television, smartwatch, intelligent glasses, intelligent hand Ring etc..It should be noted that the interface that can be interacted can be exported in terminal, there is receivable control input by user on interface, Terminal can receive user to the editor of control configuration code and modification on interface.In this way can according to control configuration code from By combining, realizes different interactive functions, workload of the user to interface configurations code can be reduced.
Interface alternation configuration method provided by the present application is described in detail below by several embodiments
It is that the application provides a kind of schematic flow diagram of interface alternation configuration method, as shown in Figure 1, this method referring to Fig. 1 It may include but be not limited to following steps:S101-S104.
S101, terminal export the first interface, and first interface includes at least one control.Specifically, control Attribute corresponds at least one candidate value, and a candidate value is associated at least one output policy.
S102, terminal receive first input of the user for the first control, and first input is for changing the control The first attribute value.Specifically, the value comes from least one candidate value;First control is contained in institute State at least one control.First input can be the input that terminal receives user by input unit (such as keyboard, mouse).
S103, terminal determine the current value association of the attribute of first control in response to first input Output policy.
S104, terminal are called and execute the corresponding code of output policy determined.
First, the candidate value that the attribute of the control and control pair that are described below in the first interface is answered.
For example, as shown in Figure 2 A, the first interface may include " setting of push time " control, " push date " control, " push away Send the time " control, " current date " control and " current time " control.The attribute of " setting of push time " control can be corresponding with " self-defined " and " at once " the two candidate values.
Wherein, candidate value " self-defined " associated output policy can be display " push date " control, display " when push Between " control, hiding " current date " control and/or " current time " control.For example, when the first of " setting of push time " control When attribute reception user selects candidate value " self-defined ", the first interface is as shown in Figure 2 B, and terminal can show " push date " control Part and " push time " control, terminal can hide " current date " control and " current time " control.
Wherein, associated output policy can be display " current date " control, display " when current to candidate value " at once " Between " control, hiding " push date " control and/or hiding " push time " control.For example, when " setting of push time " control When first attribute reception user selects candidate value " at once ", the first interface is as shown in Figure 2 B, and terminal can be shown " current date " Control and " current time " control, terminal can hide " push date " control and " push time " control.
Example is used only for explaining the application, should not constitute restriction.
Secondly, how to receive above-mentioned first input the following detailed description of terminal.
First input can be the input that terminal receives user by input unit (such as keyboard, mouse).Optionally, first Input can be terminal, and to receive user for the first input by mouse can also be that terminal passes through touch screen and receives the defeated of user Enter.
Above-mentioned first input can include but is not limited to following several input modes.
(1) above-mentioned first input can be the input that user selects first control the first attribute value.
For example, as shown in Figure 2 B, the first input can be input of the user for " setting of push time " control, Yong Huke To click the value of first attribute of " setting of push time " control by left mouse button selection.The first of " setting of push time " The candidate value of attribute can be " self-defined ", " at once ", and user can click the button of " self-defined " by left mouse button, come Select " self-defined " for the first attribute value of " setting of push time " control.As shown in Figure 2 D, user can also pass through mouse Left button clicks button " at once ", to select " at once " as the first attribute value of " setting of push time " control.Example is only used In explaining the application, restriction should not be constituted.
(2) above-mentioned first input can be the input that user cancels first control the first attribute value of selection.
For example, as shown in Figure 2 B, the first input can be user for the input of " setting of push time " control, when " pushing away The time is sent to be arranged " when being " self-defined ", user can double-click " self-defined " by left mouse button and press for the first attribute value of control Button cancels the selection to " self-defined ".Example is used only for explaining the application, should not constitute restriction.
(3) above-mentioned first input can be the input that user changes first control the first attribute value.
For example, as shown in Figure 2 B, the first input can be user for the input of " setting of push time " control, when " pushing away The time is sent to be arranged " when being " at once ", user can click the Custom button by left mouse button for the first attribute value of control It is " self-defined " to change the first attribute value.Example is used only for explaining the application, should not constitute restriction.
In a kind of optional embodiment, output policy can be associated at least one second control, the second control packet Contained in above-mentioned at least one control.Here, the interactive mode that output policy can be used for being arranged between the second control and user.Tool Body, above-mentioned output policy can be used for that the interaction side between the second control and user is arranged through but not limited to following manner Formula.
(1) above-mentioned output policy specifically can be used for being arranged the value of the attribute of the second control.
For example, as shown in Figure 2 D, the first control can be " setting of push time " control, and the second control can be " current Date " control and " current time " control.When the attribute value of " setting of push time " control is changed into " at once ", then " push away Send the time to be arranged " attribute value " at once " associated output policy can be arranged " current date " control attribute value be The attribute value of " 2017-08-09 ", setting " current time " control are " 17:12:00”.Example is used only for explaining the application, Restriction should not be constituted.
(2) above-mentioned output policy specifically can be used for being arranged the display mode of the attribute of the second control.
For example, as shown in Figure 2 B, the first control can be " setting of push time " control, and the second control can be " push Date " control, " push time " control, " current date " control and " current time " control.When " setting of push time " control Attribute value when changing into " self-defined ", then the associated output plan of attribute value " self-defined " of " setting of push time " control It slightly can be display " push date " control, display " push time " control, hide " current date " control and hide " when current Between " control.Example is used only for explaining the application, should not constitute restriction.
In another example as shown in Figure 2 D, the first control can be " setting of push time " control, the second control can be " when Control of preceding date ", " current time " control, " push date " control and " push time " control." if the setting of push time " When the attribute value of control is changed into " at once ", then the attribute value of " push time setting " control associated output plan " at once " It slightly can be display " current date " control, display " current time " control, hide " push date " control and hide " when push Between " control.Example is used only for explaining the application, should not constitute restriction.
In another example as shown in Figure 2 C, the first control can be " push date " control, and the second control can be " when push Between " control.When the attribute value of " push date " control changes into " 2017-08-07 ", then the attribute of " push date " control Value " 2017-08-07 " associated output policy can be the attribute of setting " push time " control " display transparency is 50% ", if the attribute value of " push date " control changes into " 2017-08-09 ", the attribute of " push date " control Value " 2017-08-09 " associated output policy can be the attribute of setting " push time " control " display transparency is 100% ".Example is used only for explaining the application, should not constitute restriction.
(3) above-mentioned output policy specifically can be used for enabled or remove enabled second control.
For example, as shown in Figure 2 B, the first control can be " push date " control, the second control can be " push time " Control.When the attribute value of " push date " control changes into " 2017-08-07 ", then the attribute of " push date " control takes Value " 2017-08-07 " associated output policy can enable " push time " control, i.e., " push time " control cannot Receive the input of user.The attribute value of " if push date " control changes into " 2017-08-09 ", " push date " Attribute value " 2017-08-09 " associated output policy of control can be to enable " push time " control, i.e. " push time " control Part can receive the input of user.Example is used only for explaining the application, should not constitute restriction.
Finally, it is described below how terminal is called and execute the corresponding code of output policy determined.
Specifically, the candidate value of the first attribute of the first control can be associated with monitor, monitor can be used for capturing The selected user's input of candidate value, and call and execute corresponding output policy (the corresponding output policy of candidate value) and correspond to Code.When candidate value is easily selected by a user, corresponding monitor can be triggered, and terminal can be called and execute corresponding output The corresponding code of strategy.
Optionally, each control on the first interface can be associated with code database, which can be with The corresponding code of at least one output policy including the control on first interface.
For example, as shown in figs.2 b and 2d, it is assumed that the first control is " setting of push time " control, and the second control is " push date control " control, " push time " control, " current date " control and " current time " control.Wherein, " when push Between be arranged " candidate value of the first attribute of control has " self-defined " and " at once " etc..In the examples described above, as shown in the table:" push The code database of time setting " control may include the corresponding code of at least one output policy.
Table 1
Wherein, the output policy (display " push date " control and " push time " control) of candidate value " self-defined " can be with Corresponding " code 1 ".The output policy (hide " current date " control and " current time " control) of candidate value " self-defined " can be with Corresponding " code 2 ".The output policy (display " current date " control and " current time " control) of candidate value " at once " can be with Corresponding " code 3 ".The output policy (hiding " push date " control and " push time " control) of candidate value " at once " can be right It answers " code 4 ".Table 1 is used only for explaining the application, should not constitute restriction.
Optionally, the second control can also receive user's input, the interactive mode between other controls and user is arranged. In other words, the second control can be used for receiving the first input.
For example, as illustrated by figures 2 b and 2 c, the second control can be " push date " control, other controls can be " push time " control.Wherein, the candidate value of " push date " first attribute of control have " before current date --- 2017-08- 07 (current date) ", " 2017-08-07 (current date) --- after current date " etc..
Terminal can show " push date " control and " push time " control on the first interface." push date " control Code database in can have the corresponding code of at least one output policy.For example, as shown in the table:
Table 2
Wherein, the candidate value " before current date --- 2017-08-07 (current date) " of " push date " control is defeated Going out strategy (going to enable " push time " control) can correspond to " code 5 "." push date " control candidate value " current date it Before --- 2017-08-07 (current date) " output policy (display transparency of setting " push time " control is 50%) can With correspondence " code 6 ".The candidate value " 2017-08-07 (current date) --- after current date " of " push date " control Output policy (enabled " push time " control) can correspond to " code 7 ".Candidate value " the 2017-08-07 of " push date " control (current date) --- after current date " output policy (setting of setting " push time " control shows that transparency is 100%) it can correspond to " code 8 ".Table 2 is used only for explaining the application, should not constitute restriction.
Optionally, terminal can receive the corresponding code of output policy input by user.Terminal can be added with output code Interface, code addition interface are displayed for the generation of each associated at least one output policy of control in the first interface Code.Code addition interface can receive the addition output policy of the control on the first interface of user couple and correspond to code, can also connect It receives user and is directed to and have modification and deletion that output policy corresponds to code.
In some optional embodiments, above-mentioned output policy may include:Show output policy, audio output strategy And/or mechanical oscillation output policy.
For display output policy, terminal can be called and execute the corresponding code of display output policy determined. Here, which corresponds to for drives terminal (being specially display) according to the display output policy Code shown.
For audio output strategy, terminal can be called and execute the corresponding code of audio output strategy determined. Here, which is used for drives terminal (being specially audio output circuit) according to the audio output plan Slightly corresponding code carries out audio output.
For mechanical oscillation output policy, terminal can be called and to execute the mechanical oscillation output policy determined corresponding Code.Here, which is used for drives terminal (being specially mechanical vibrator) according to the machinery The corresponding code of vibration strategy carries out mechanical oscillation.
By taking alarm clock is arranged as an example, as shown in Figure 2 E, above-mentioned first control is that " alarm clock triggering mode " control is noisy for being arranged Clock triggering mode, triggering mode candidate value can have " self-defined " and " at once ".Above-mentioned second control is " alarm clock date " control " alarm time " control, " alarm clock date " control are used to receive the date of user setting alarm clock, and " alarm time " control is used for Receive the time of user setting alarm clock.
Wherein, when the attribute value of " alarm clock triggering mode " control is changed into " at once ", terminal can determine " when push Between be arranged " associated output policy includes display " alarm clock date " control and display " when alarm clock " at once " for the attribute value of control Between " the display output policy of control, it can also include the audio output strategy for playing " music 1 ", can also be including frequency The mechanical oscillation strategy of " 3HZ ".Example is used only for explaining the application, should not constitute restriction.
Wherein, when the attribute value of " alarm clock triggering mode " control changes into " self-defined ", when the alarm clock date can be " 2017-08-09 ", alarm time can be " 19:00:00 ", current date is " 2017-08-07 ", and current time is " 19: 00:00”.Terminal can reach " 2017-08-0919 with timing when the time:00:When 00 ", terminal can show that pre-set alarm clock touches The interface of hair, the audio (music 1) of output pre-set alarm clock triggering, (frequency is " 3HZ " to the vibrating effect of output pre-set alarm clock triggering Mechanical oscillation).Terminal, which can trigger, executes the corresponding code of the above-mentioned output policy determined, delay execution is determined defeated Go out strategy.The corresponding code of above-mentioned output policy can be specifically used for carrying out timing, and when alarm time reaches, defeated according to display Go out the interface that strategy shows pre-set alarm clock triggering, according to the audio of audio output strategy output pre-set alarm clock triggering, according to vibration Output policy exports the vibrating effect of pre-set alarm clock triggering.By this realization method, user's timing output interface can be given to hand over Mutual effect improves the experience of user.
Through this embodiment, the statement formula code configuration method to interface control may be implemented in terminal, is easy to read, can be with The interactive function for realizing many controls combination, reduces workload of the user to interface control configuration code.
It is a kind of structural schematic diagram of terminal provided by the present application referring to Fig. 3.As shown in figure 3, terminal 30 may include: Output unit 310, receiving unit 320, processing unit 330, execution unit 340, wherein
Output unit 310 can be used for exporting the first interface, and first interface includes at least one control, wherein one The attribute of control corresponds at least one candidate value, and a candidate value is associated at least one output policy;
Receiving unit 320, can be used for receiving the first input of user's the first control of input pin pair, and first input is used for Change the value of the first attribute of the control;The value comes from least one candidate value;The first control packet Contained at least one control;
Processing unit 330 can be used for, in response to first input, determining the current of the attribute of first control The associated interface output policy of value;
Execution unit 340 can be used for calling and execute the corresponding code of output policy determined.
Optionally, the output policy is associated at least one second control;Second control is contained in described at least one A control;The output policy is specifically used for that the value of the attribute of second control is arranged.
The execution unit 340 can be used for being arranged according to the output policy value of the attribute of second control.
Optionally, the output policy is associated at least one second control;Second control is contained in described at least one A control;The output policy is specifically used for that the display mode of the attribute value of second control is arranged;
The execution unit 340 can be used for being arranged according to the output policy display of the attribute value of second control Mode.
Optionally, the output policy is associated at least one second control;Second control is contained in described at least one A second control;Second control is contained at least one control;The output policy is specifically used for being arranged described the Two controls enabled goes to enable;
The execution unit 340 can be used for, according to the output policy, the enabled of second control being arranged or goes to make Energy.
Optionally, the output policy may include:Show that output policy, volume output policy and/or mechanical oscillation are defeated Go out strategy.
It is the structural schematic diagram of another terminal provided by the present application referring to Fig. 4.As shown in figure 4, terminal 40 can wrap It includes:At least one processor 401, such as CPU, at least one network interface 404, memory 405, clock module 403, at least one A communication bus 402, input unit 406, output device 407.Clock module 403 is mainly used for generating data for processor 401 Transmission and the required clock of timing control.Memory 405 is coupled with processor 401 by communication bus 402, memory 405 It can be high-speed RAM memory, can also be non-labile memory (non-volatile memory), for example, at least one A magnetic disk storage.Network interface 404 can be communicated with other-end.
Processor 401 can be central processing unit (Central Processing Unit, CPU), which may be used also To be other general processors, digital signal processor (Digital Signal Processor, DSP), application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor can also be any conventional processor Deng.
Output device 407 can be used for the performance of output interface interaction output policy.Output device 407 may include display screen 4071, liquid crystal display may be used in voicefrequency circuit 4072, mechanical output arrangement 4073 etc., optionally, display screen 4071 (Liquid Crystal Display, LCD), Organic Light Emitting Diode (Organic Light-Emitting Diode, ) etc. OLED forms configure.Display screen 4071 can export the performance of the picture category and/or video class of the output policy.It can Choosing, voicefrequency circuit 4072 can be used for providing the audio interface between user and terminal 40.Voicefrequency circuit 4072 can also include Earphone jack, to provide the communication of peripheral hardware earphone and terminal 40.Voicefrequency circuit 4072 may be implemented to export the output policy Audio special efficacy.Output device 4073 can also include mechanical output arrangement 4073, and mechanical output arrangement 4073 can be vibrator, Then mechanical output arrangement 4073 can export the performance etc. of the output policy vibration class.
Input unit 406 can be used for receiving the number or character information of input, and generate and user setting, interface control Attributions selection and interface control association code configure the defeated of related keyboard, mouse, operating lever, optics or trace ball signal Enter.Specifically, terminal 40 can also include other input equipments, other input equipments can include but is not limited to physical keyboard, It is one or more in function key (such as volume control button, switch key etc.), trace ball, mouse, operating lever etc..
In the application, processor 401 can be used for reading and executing computer-readable instruction.Specifically, processor 401 can For calling the program in memory 405, such as interface alternation configuration method provided by the present application (the corresponding embodiments of Fig. 1) Realization program, and execute the instruction that the program includes.
It should be noted that terminal 40 shown in Fig. 4 is only a kind of realization method of the embodiment of the present application, practical application In, terminal 40 can also include more or fewer components, not be restricted here.
A kind of computer readable storage medium, the computer-readable storage medium are provided in another embodiment of the application Matter is stored with computer program, and the computer program realizes above-mentioned Fig. 1 methods when being executed by processor.
The computer readable storage medium can be the internal storage unit of the terminal described in aforementioned any embodiment, example Such as the hard disk or memory of terminal.The computer readable storage medium can also be the External memory equipment of the terminal, such as The plug-in type hard disk being equipped in the terminal, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card) etc..Further, the computer readable storage medium can also be wrapped both The internal storage unit for including the terminal also includes External memory equipment.The computer readable storage medium is described for storing Other programs needed for computer program and the terminal and data.The computer readable storage medium can be also used for temporarily When store the data that has exported or will export.
Those of ordinary skill in the art may realize that lists described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware With the interchangeability of software, each exemplary composition and step are generally described according to function in the above description.This A little functions are implemented in hardware or software actually, depend on the specific application and design constraint of technical solution.Specially Industry technical staff can use different methods to achieve the described function each specific application, but this realization is not It is considered as exceeding scope of the present application.
It is apparent to those skilled in the art that for convenience of description and succinctly, the clothes of foregoing description The specific work process of business device, terminal and unit, can refer to corresponding processes in the foregoing method embodiment, no longer superfluous herein It states.
In several embodiments provided herein, it should be understood that disclosed method, server and terminal, it can To realize by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit Division, only a kind of division of logic function, formula that in actual implementation, there may be another division manner, such as multiple units or group Part can be combined or can be integrated into another system, or some features can be ignored or not executed.In addition, it is shown or The mutual coupling, direct-coupling or communication connection discussed can be the indirect coupling by some interfaces, device or unit It closes or communicates to connect, can also be electricity, mechanical or other forms connections.
The unit illustrated as separating component may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, you can be located at a place, or may be distributed over multiple In network element.Some or all of unit therein can be selected according to the actual needs to realize the mesh of application scheme 's.
In addition, each functional unit in each embodiment of the application can be integrated in a processing unit, it can also It is that each unit physically exists alone, can also be during two or more units are integrated in one unit.It is above-mentioned integrated The form that hardware had both may be used in unit is realized, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can be stored in a computer read/write memory medium.Based on this understanding, the technical solution of the application is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer Equipment (can be personal computer, server or the network equipment etc.) executes the complete of each embodiment the method for the application Portion or part steps.And storage medium above-mentioned includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey The medium of sequence code.
The above, the only specific implementation mode of the application, but the protection domain of the application is not limited thereto, it is any Those familiar with the art can readily occur in various equivalent modifications or replace in the technical scope that the application discloses It changes, these modifications or substitutions should all cover within the protection domain of the application.Therefore, the protection domain of the application should be with right It is required that protection domain subject to.

Claims (10)

1. a kind of interface alternation configuration method, which is characterized in that including:
The first interface is exported, first interface includes at least one control, wherein the attribute of a control corresponds at least one Candidate value, a candidate value are associated at least one output policy;
First input of the user for the first control is received, described first inputs taking for the first attribute for changing the control Value;The value comes from least one candidate value;First control is contained at least one control;
In response to first input, the associated output policy of current value of the attribute of first control is determined;
It calls and executes the corresponding code of output policy determined.
2. method according to claim 1, which is characterized in that the output policy is associated at least one second control;It is described Second control is contained at least one control;The output policy is specifically used for that taking for the attribute of second control is arranged Value;
The calling simultaneously executes the corresponding code of output policy determined, specifically includes:
Call and execute the code of the value of the attribute for second control to be arranged.
3. method according to claim 1, which is characterized in that the output policy is associated at least one second control;It is described Second control is contained at least one control;The output policy is specifically used for that the attribute value of second control is arranged Display mode;
The calling simultaneously executes the corresponding code of output policy determined, specifically includes:It calls and executes for being arranged The code of the display mode of the attribute value of second control.
4. method according to claim 1, which is characterized in that the output policy is associated at least one second control;It is described Second control is contained at least one control;The output policy is specifically used for enabled or goes to enable second control;
The calling simultaneously executes the corresponding code of output policy determined, specifically includes:
It calls and executes the code for enabling or going to enable second control.
5. according to any one of claim 1-4 the methods, which is characterized in that the output policy includes following at least one :Show output policy, audio output strategy and/or mechanical oscillation output policy;
When the output policy includes the display output policy, the calling simultaneously executes the output policy pair determined The code answered, specifically includes:
It calls and executes the corresponding code of the display output policy;
When the output policy includes the audio output strategy, the calling simultaneously executes the output policy pair determined The code answered, specifically includes:
It calls and executes the corresponding code of the audio output strategy;
When the output policy includes the mechanical oscillation output policy, the calling simultaneously executes the output plan determined Slightly corresponding code, specifically includes:
It calls and executes the corresponding code of the mechanical oscillation output policy.
6. a kind of terminal, which is characterized in that including:
Output unit, for exporting the first interface, first interface includes at least one control, wherein the category of a control Property correspond at least one candidate value, a candidate value is associated at least one output policy;
Receiving unit, the first input for receiving the first control of user's input pin pair, first input is for changing described The value of first attribute of control;The value comes from least one candidate value;First control is contained in described At least one control;
Processing unit, in response to first input, determining the current value association of the attribute of first control Output policy;
Execution unit, for calling and executing the corresponding code of output policy determined.
7. method according to claim 6, which is characterized in that the output policy is associated at least one second control;It is described Second control is contained at least one control;The output policy is specifically used for that taking for the attribute of second control is arranged Value;The execution unit, specifically for calling and executing the corresponding code of value of the attribute for second control to be arranged.
8. method according to claim 6, which is characterized in that the output policy is associated at least one second control;It is described Second control is contained at least one control;The output policy is specifically used for that the attribute value of second control is arranged Display mode;
The execution unit, the display mode specifically for calling and executing the attribute value for second control to be arranged correspond to Code.
9. method according to claim 1, which is characterized in that the output policy is associated at least one second control;It is described Second control is contained at least one control;The output policy is specifically used for that the enabled of second control is arranged or goes It is enabled;The execution unit is used to enable or go the corresponding code of enabled second control specifically for calling and executing.
10. according to any one of the claim 6-9 terminals, which is characterized in that the output policy includes following at least one :Show output policy, audio output strategy and/or mechanical oscillation output policy;
When the output policy includes the display output policy, the execution unit is described specifically for calling and executing Show the corresponding code of output policy;
When the output policy includes the audio output strategy, the execution unit is described specifically for calling and executing The corresponding code of audio output strategy;
When the output policy includes the mechanical oscillation output policy, the execution unit, specifically for calling and executing The corresponding code of the mechanical oscillation output policy.
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 true CN108304113A (en) 2018-07-20
CN108304113B 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)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111258569A (en) * 2020-01-09 2020-06-09 卓望数码技术(深圳)有限公司 Webpage component editing method, device, equipment and computer readable storage medium
CN113849241A (en) * 2020-06-10 2021-12-28 Oppo(重庆)智能科技有限公司 Audio playing control method, intelligent watch and device with storage function

Citations (12)

* 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
CN101082865A (en) * 2007-06-29 2007-12-05 中兴通讯股份有限公司 Automatically generating method based on data driving interface
CN102866890A (en) * 2012-09-11 2013-01-09 哈尔滨商业大学 System and method for generating Android embedded interface and program framework based on object correlation
CN102932524A (en) * 2011-08-09 2013-02-13 宏达国际电子股份有限公司 An electronic device, a method, and a server for enabling a user to configure custom voice alarms
US20130243080A1 (en) * 2012-03-13 2013-09-19 Dolby Laboratories Licensing Corporation Overlapped Rate Control For Video Splicing Applications
CN103955366A (en) * 2014-04-18 2014-07-30 南威软件股份有限公司 Producing method of visualized website template
CN104904163A (en) * 2012-10-05 2015-09-09 甲骨文国际公司 Method and system for communicating within a messaging architecture using a structured data object
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
CN106855970A (en) * 2015-12-09 2017-06-16 正大天晴药业集团股份有限公司 Method for sending information and device
CN107479783A (en) * 2017-07-28 2017-12-15 深圳市元征科技股份有限公司 A kind of picture upload method and terminal

Patent Citations (12)

* 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
CN101082865A (en) * 2007-06-29 2007-12-05 中兴通讯股份有限公司 Automatically generating method based on data driving interface
CN102932524A (en) * 2011-08-09 2013-02-13 宏达国际电子股份有限公司 An electronic device, a method, and a server for enabling a user to configure custom voice alarms
US20130243080A1 (en) * 2012-03-13 2013-09-19 Dolby Laboratories Licensing Corporation Overlapped Rate Control For Video Splicing Applications
CN102866890A (en) * 2012-09-11 2013-01-09 哈尔滨商业大学 System and method for generating Android embedded interface and program framework based on object correlation
CN104904163A (en) * 2012-10-05 2015-09-09 甲骨文国际公司 Method and system for communicating within a messaging architecture using a structured data object
CN103955366A (en) * 2014-04-18 2014-07-30 南威软件股份有限公司 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
CN106855970A (en) * 2015-12-09 2017-06-16 正大天晴药业集团股份有限公司 Method for sending information and device
CN107479783A (en) * 2017-07-28 2017-12-15 深圳市元征科技股份有限公司 A kind of picture upload method and terminal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111258569A (en) * 2020-01-09 2020-06-09 卓望数码技术(深圳)有限公司 Webpage component editing method, device, equipment and computer readable storage medium
CN113849241A (en) * 2020-06-10 2021-12-28 Oppo(重庆)智能科技有限公司 Audio playing control method, intelligent watch and device with storage function

Also Published As

Publication number Publication date
CN108304113B (en) 2020-11-06

Similar Documents

Publication Publication Date Title
CN106844067B (en) A kind of processing method and mobile terminal of content
EP2680123A2 (en) Method and Device of Task Processing of One Screen and Multi-Foreground
US20150301730A1 (en) Object Suspension Realizing Method and Device
CN104298427A (en) Result interface display method and device
CN110339572A (en) Card group edit methods, device and electronic equipment in game
CN108369456A (en) Touch feedback for touch input device
CN109347722A (en) Interactive system, method, client and background server
CN107515702B (en) Page interaction method and device
CN109395395A (en) Game running method and Related product
CN109471626A (en) Page logic structure, page generation method, page data processing method and device
CN108475204A (en) Method, terminal device and the graphic user interface of automatic setting wallpaper
CN110070496A (en) Generation method, device and the hardware device of image special effect
CN111610972B (en) Page generation method, device, equipment and storage medium
CN108880700A (en) Frequency hopping method, frequency hopping device and the mobile terminal of clock signal
CN108320148A (en) A kind of resource transfers method and relevant device
CN104915125A (en) Mobile equipment, mobile equipment control method and mobile equipment control system
CN106293327A (en) End application fast operating method and system
CN111178937B (en) User rewarding method and device for application, electronic equipment and readable storage medium
CN106648746A (en) Application execution method and device
CN108304113A (en) A kind of interface alternation configuration method and terminal
CN109684011A (en) Interface display control method, electronic device and computer readable storage medium
CN106850838A (en) The control method and system of mobile terminal cloud application
US20210098012A1 (en) Voice Skill Recommendation Method, Apparatus, Device and Storage Medium
CN108427505A (en) Sense of touch control method, electronic device and computer readable storage medium
CN107463246A (en) A kind of information processing method and electronic equipment

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
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.