Detailed Description
The technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the drawings in the embodiments of the present disclosure, and it is obvious that the described embodiments are only a part of the embodiments of the present disclosure, and not all of the embodiments. All other embodiments obtained by a person skilled in the art based on the embodiments in the present specification without any inventive step should fall within the scope of protection of the present specification.
Please refer to fig. 1. The embodiment of the specification provides a hot zone adjusting method. The hot zone adjusting method takes a client as an execution main body. The client includes, but is not limited to, a mobile smart phone, a tablet electronic device, a portable computer, a Personal Digital Assistant (PDA), an industrial personal computer, a Personal Computer (PC), and the like.
In this embodiment, the client may load page data to provide a display interface.
The client may retrieve and load the page data in any suitable manner. For example, the client may retrieve and load page data upon detecting any combination of one or more designated keys, pressed, clicked, double-clicked, or swiped. The designated key may be a virtual key or a physical key. For another example, the client may also obtain and load page data when recognizing the preset gesture. The preset gesture may be, for example, a leftward swipe or a rightward swipe. As another example, the client may also have a gyroscope and/or an acceleration sensor; the client may also acquire and load page data when preset motion states are detected by a gyroscope and/or an acceleration sensor. The motion state may be, for example, whipping.
The page data may be local to the client. In this manner, the client can obtain the page data locally. Of course, the page data may also be located at the server. As such, the client may send a page load request to the server; page data fed back by the server may be received. The server may be one server or a server cluster including a plurality of servers.
In this embodiment, the display interface may be configured to display service data, and the service data may be, for example, order data, payment data, commodity data, and the like. The display interface may include at least two controls, including, for example, 3, 5, 6 controls, and so forth. Including but not limited to button controls, image controls, text box controls, input box controls, and the like. The functions of the at least two controls implemented on the display interface are typically different.
The at least two controls may have an associative relationship. Here, the at least two controls have an association relationship, which can be understood as: the at least two controls are affiliated to the same Component (Component). Wherein the components are typically packages of data and methods that are capable of performing a certain function and may provide a data interface to the outside for using the function. Each component may typically include at least one control. For example, a component may include a button control; alternatively, a textbox control may be included; still alternatively, two button controls and one textbox control may be included. Of course, the at least two controls have an association relationship, which can also be understood as: the at least two controls are affiliated with different components; the functions of the at least two controls implemented on the display interface are logically associated. For example, the display interface may include an input box control a and a button control B. The input box control A may be subordinate to component C1, and the button control B may be subordinate to component C2. The function of the input box control A realized on the display interface can be receiving data input by a user; the function of the button control B implemented on the display interface may be to upload data input by the user on the input box control a.
In this embodiment, each control may have a hot zone for receiving a triggering instruction. The control's hot zone range is typically greater than or equal to its own size. The user can perform the trigger operation within the hot zone range of the control. The trigger operation may include, for example, a single click operation, a double click operation, a press operation, a swipe operation, a gesture operation, and the like. When the client detects a trigger operation within the hot zone range of the control, the client may consider that a trigger instruction for the control is received, so that a corresponding action or command may be executed to implement the function of the control on the display interface. In particular, the client may have an input device based on which a user may perform a triggering operation. The input devices may include, for example, a touch screen, touch pad, mouse, physical buttons (e.g., push buttons, rocker buttons, etc.), dials, slider switches, joysticks, and the like.
The present embodiment may include the following steps.
Step S12: after the display interface detects a trigger instruction for a control, selecting a target control from the at least two controls based on the control targeted by the trigger instruction.
In this embodiment, the trigger instruction may be generated when a trigger operation is detected within a hot zone of the control. The trigger operation may include, for example, a single click operation, a double click operation, a press operation, a swipe operation, a gesture operation, and the like. Specifically, the user may perform a trigger operation within the hot zone of the control. When the client detects a trigger operation in the hot zone range of the control, the client can consider that a trigger instruction for the control is received; corresponding actions or commands can be executed to realize the functions of the control on the display interface; and a target control may be selected from the at least two controls based on the control. It should be noted that the target control is generally different from the control targeted by the trigger instruction. The control targeted by the trigger instruction may be a control after the hot zone range is expanded, or may also be a control without the hot zone range being expanded. The process of controlling the hot range extension will be described in detail in the following step S14.
Please refer to fig. 2 and fig. 3 together. For example, the display interface may include a ranking component that may include a button control a and a button control B. The button control a has a hotspot range equal to its own size, and the button control B has a hotspot range equal to its own size. The button control A can be used for sequencing according to the creation time of the application, and the button control B can be used for sequencing in reverse order according to the creation time of the application.
The user may make a single click operation within the hot zone of the button control a. When the client detects a click operation in the hot zone range of the button control A, the client can consider that a trigger instruction aiming at the button control A is received; the applications in the display interface can be sequenced according to the creation time of the applications; and may obtain the target control based on the button control a.
In this embodiment, each of the at least two controls may correspond to a designated control, and the designated control may be a control of the at least two controls. Therefore, after the display interface detects the trigger instruction for the control, the client can select the designated control corresponding to the control targeted by the trigger instruction from the at least two controls as the target control.
In an implementation manner of this embodiment, the triggering operations of the at least two controls by the user are generally sequential. Therefore, the developer can set the designated control corresponding to each control in the at least two controls based on the sequence of the control triggering operation. Specifically, for each of the at least two controls, the developer may use, as the designated control corresponding to the control, a control that is adjacent to the trigger operation of the control and is located after the trigger operation of the control in the at least two controls.
Please refer to fig. 2. For example, the display interface may be an application list interface for displaying the name of the application and the creation time of the application. The display interface may include a ranking component that may include a button control a and a button control B. The button control a has a hotspot range equal to its own size, and the button control B has a hotspot range equal to its own size. The button control A can be used for sequencing according to the creation time of the application, and the button control B can be used for sequencing in reverse order according to the creation time of the application.
After the user performs the trigger operation within the hot zone range of the button control a to sequence the applications in the display interface, there is a high possibility that the user may perform the trigger operation within the hot zone range of the button control B to reverse the sequence of the applications in the display interface. Correspondingly, after the user performs the trigger operation within the hot zone range of the button control B to perform the reverse sequencing on the applications in the display interface, there is a high possibility that the user may perform the trigger operation within the hot zone range of the button control a to perform the sequential sequencing on the applications in the display interface. Therefore, a developer can set the designated control corresponding to the button control A as a button control B; the designated control corresponding to the button control B may be set as the button control a.
Please refer to fig. 4. As another example, the display interface may include a horse-walking light assembly. The revolving light assembly can be used for realizing the technical effect of displaying two or more cards in a carousel manner; each card may be used to display text, pictures, video, etc., or a suitable combination thereof. Specifically, the carriage assembly may include a button control C, a button control D, a button control E, and a button control F, so that the carriage assembly may be used to achieve a technical effect of performing carousel display on four cards. The button control C may be specifically configured to display a first card; the button control D may be specifically configured to display a second card; the button control E may be specifically configured to display a third card; the button control F may be specifically configured to display a fourth card. And the hot area ranges of the button control C, the button control D, the button control E and the button control F are respectively equal to the sizes of the button control C, the button control D, the button control E and the button control F.
After the user performs a triggering operation within the hot zone of the button control C to display the first card, there is a greater likelihood that a triggering operation will be performed within the hot zone of the button control D to display the second card. Similarly, after the user performs the trigger operation within the hot zone range of the button control D to display the second card, there is a greater possibility that the user may perform the trigger operation within the hot zone range of the button control E to display the third card; after the user performs the trigger operation within the hot area range of the button control E to display the third card, there is a high possibility that the user performs the trigger operation within the hot area range of the button control F to display the fourth card; after the user performs the trigger operation within the hot zone of the button control F to display the fourth card, there is a greater possibility that the user may perform the trigger operation within the hot zone of the button control C to display the first card. Therefore, a developer can set the designated control corresponding to the button control C as a button control D; a designated control corresponding to the button control D can be set as a button control E; the appointed control corresponding to the button control E can be set as a button control F; the designated control corresponding to the button control F may be set as the button control C.
In another implementation manner of this embodiment, the developer may further set a designated control corresponding to each of the at least two controls based on a position relationship of the controls in the display interface. Specifically, for each of the at least two controls, the developer may further use a control closest to the position of the control in the at least two controls as the designated control corresponding to the control.
The above lists a process of setting the designated control corresponding to each of the at least two controls by the developer. It should be understood by those skilled in the art that in practice, a developer may also set the designated control corresponding to each of the at least two controls in other manners, which is not specifically limited in this embodiment.
Or, in this embodiment, there may be a degree of association between the controls of the at least two controls. The degree of association between controls can be used to represent the degree of closeness between the controls implementing the functionality. The degree of association between controls and the closeness of their representations may be positively correlated. In this way, after the display interface detects the trigger instruction for the control, the client may select, from the at least two controls, the control having the greatest association degree with the control targeted by the trigger instruction as the target control.
For example, please refer to fig. 4. The display interface may include a horse racing light assembly. The revolving light assembly can be used for realizing the technical effect of displaying two or more cards in a carousel manner; each card may be used to display text, pictures, video, etc., or a suitable combination thereof. Specifically, the carriage assembly may include a button control C, a button control D, a button control E, and a button control F, so that the carriage assembly may be used to achieve a technical effect of performing carousel display on four cards. The button control C may be specifically configured to display a first card; the button control D may be specifically configured to display a second card; the button control E may be specifically configured to display a third card; the button control F may be specifically configured to display a fourth card. And the hot area ranges of the button control C, the button control D, the button control E and the button control F are respectively equal to the sizes of the button control C, the button control D, the button control E and the button control F.
TABLE 1
The association between the controls in the running light assembly may be as shown in table 1 above. In table 1, the association degrees between the button control C and the button controls D, E, and F are 3, 2, and 1, respectively; the association degrees between the button control D and the button controls C, E and F are respectively 1, 3 and 2; the association degrees between the button control E and the button controls C, D and F are respectively 2, 1 and 3; the association degrees between the button control F and the button controls C, D and E are respectively 3, 2 and 1.
The user may make a single click operation within the hot zone of the button control C. When the client detects a click operation in the hot zone range of the button control C, the client can consider that a trigger instruction aiming at the button control C is received; a first card may be displayed; and may retrieve button control D from the running light assembly as the target control.
In an implementation manner of this embodiment, the triggering operations of the at least two controls by the user are generally sequential. In this way, the developer can set the association degree between the controls in the at least two controls based on the order in which the controls trigger the operation. Specifically, for each of the at least two controls, the developer may set the degree of association between the other controls except the control and the control according to the distance from the control to the trigger operation sequence. When the operation order is closer, the degree of association may be set smaller; the degree of association may be set larger when the operation order is farther.
In another implementation manner of this embodiment, the developer may further set the association degree between the controls in the at least two controls based on the position relationship of the controls in the display interface. Specifically, for each of the at least two controls, the developer may set the degree of association between the other controls except the control and the control according to the distance from the position of the control. When the position is close, the association degree can be set to be smaller; when the position is far, the degree of association can be set to be large.
The above lists a process of setting the association degree between the controls in the at least two controls by the developer. Those skilled in the art will appreciate that in practice, the developer may set the association degree between the controls of the at least two controls in other manners.
Step S14: and expanding the hot zone range of the target control.
Please refer to fig. 2, fig. 3, fig. 5a, fig. 5b, fig. 5c, fig. 5d and fig. 5 e. In this embodiment, there is typically a gap between the target control and its neighboring controls. Therefore, the client can use the gap between the target control and the adjacent control to expand the hot area range of the target control, so that a user can conveniently trigger the target control, and the user experience is improved. The direction of the expansion of the target control hot zone range may be any suitable direction, such as above, below, left, right, etc., or any suitable combination thereof. The expanded hot zone range of the target control may be any suitable shape, such as a polygon (e.g., rectangle, diamond, etc.), circle, ellipse, etc.
In an embodiment of this embodiment, in order to expand the hot zone range of the target control to a greater extent, the client may further narrow the hot zone range of the control for which the trigger instruction is directed; the hotspot range of the target control may then be expanded. It should be noted that, since the hot area range of the control is generally greater than or equal to its own size, the hot area range of the control for which the trigger instruction is directed after being reduced is generally greater than or equal to its own size.
In an implementation manner of this embodiment, the display interface may include at least three controls. In this way, in order to expand the hot range of the target control to a greater extent, the client may narrow the hot ranges of the at least three controls other than the target control; the hotspot range of the target control may then be expanded.
In this embodiment, the client may be provided with a display interface. The display interface comprises at least two controls; the at least two controls are associated; each control may have a hot zone for receiving a triggering instruction. After the display interface detects a trigger instruction for a control, the client may select a target control from the at least two controls based on the control targeted by the trigger instruction; the hotspot range of the target control may be expanded. In this way, the client can expand the hot area range of the control which is possible to be subjected to the trigger operation subsequently according to the control targeted by the current trigger operation of the user, so that the user can conveniently perform the trigger operation subsequently, the hot area range of the control is dynamically adjusted, and the technical effect of user experience is improved.
Please refer to fig. 2, fig. 6a, fig. 6b and fig. 6 c. In one example scenario of this embodiment, the client may provide a display interface. The display interface may be an application list interface for displaying names of applications and creation times of the applications. The display interface may include a ranking component that may include a button control a and a button control B. The button control A can be used for sequencing according to the creation time of the application, and the button control B can be used for sequencing in reverse order according to the creation time of the application. The designated control corresponding to the button control A can be a button control B; the designated control corresponding to the button control B may be the button control a.
In the present scenario example, the hotspot range of button control A is equal to its own size, and the hotspot range of button control B is also equal to its own size. Specifically, the shape of the button control a hot zone range may be a rectangle with 15PX (Pixel) and 10PX of side length; the shape of the button control B hotspot range may be a rectangle with sides of 15PX and 10 PX. The distance between the lower boundary of the button control a hotspot range and the upper boundary of the button control B hotspot range is 4 PX.
In this scenario example, the user may make a single click operation within the hotspot of the button control a. When the client detects a click operation in the hot zone range of the button control A, the client can consider that a trigger instruction aiming at the button control A is received; the applications in the display interface can be sequenced according to the creation time of the applications; the button control B can be obtained based on the button control A and used as a target control; the hotspot range of the button control B may be expanded. Specifically, the client may move the upper boundary of the hot zone range of button control B up 4 PX.
In this scenario example, the user may also perform a single click operation within the hotspot of button control B. When the client detects a click operation in the hot zone range of the button control B, the client can consider that a trigger instruction aiming at the button control B is received; the applications in the display interface can be sorted in a reverse order according to the creation time of the applications; the button control A can be obtained based on the button control B and used as a target control; the hot zone range of the button control B can be narrowed; the hotspot range of the button control a may then be expanded. Specifically, the client may move the upper bound of the hot zone range of button control B down 4 PX; the lower boundary of the hot zone range of button control a may then be moved down by 4 PX.
In this scenario example, the client may dynamically adjust the range of the hot zone of the button control a and/or the button control B according to the rule of the user click operation by using the common area between the button control a and the button control B, so that the button control targeted by the user trigger operation is easier to be clicked, thereby improving the operation experience of the user.
Please refer to fig. 7. The embodiment of the specification also provides a client. The client may include a display component and a processor.
In the present embodiment, the Display components include, but are not limited to, a Liquid Crystal Display (LCD) Display, a Cathode Ray Tube (CRT) Display, a Light Emitting Diode (LED) Display, and the like.
The display component may be configured to display a display interface. The display interface comprises at least two controls. The at least two controls are associated. Each control has a hot zone for receiving a triggering instruction.
In this embodiment, the processor may be implemented in any suitable manner. For example, the processor may take the form of, for example, a microprocessor or processor and a computer-readable medium that stores computer-readable program code (e.g., software or firmware) executable by the (micro) processor, logic gates, switches, an Application Specific Integrated Circuit (ASIC), a programmable logic controller, an embedded microcontroller, and so forth.
The processor may be coupled to the display component; the method can be used for selecting a target control from the at least two controls based on a control targeted by a trigger instruction after the display interface detects the trigger instruction for the control; the hotspot range of the target control may be expanded. The target control is different from the control aimed at by the trigger instruction;
the specific functions of the client, the display component and the processor of the client disclosed in the above embodiments may be explained in contrast to the foregoing embodiments in this specification.
Please refer to fig. 8. The embodiment of the specification also provides a hot zone adjusting device. The hot zone adjusting device includes a selecting unit 22 and an expanding unit 24.
In this embodiment, the selecting unit 22 may be configured to, after a display interface detects a trigger instruction for a control, select a target control from at least two controls included in the display interface based on the control targeted by the trigger instruction; wherein the at least two controls are associated; each control has a hot zone for receiving a triggering instruction; the target control is different from the control aimed at by the trigger instruction;
in this embodiment, the extension unit 24 may be configured to extend the hot zone range of the target control.
It should be noted that, in the present specification, all the embodiments are described in a progressive manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the client embodiment and the hot zone adjusting apparatus embodiment, since they are substantially similar to the hot zone adjusting method embodiment, the description is relatively simple, and for the relevant points, reference may be made to the partial description of the hot zone adjusting method embodiment.
In addition, it is understood that one skilled in the art, after reading this specification document, may conceive of combinations of some or all of the embodiments recited in this specification document which are also within the scope of the disclosure and protection of this specification without the need for inventive faculty.
In the 90 s of the 20 th century, improvements in a technology could clearly distinguish between improvements in hardware (e.g., improvements in circuit structures such as diodes, transistors, switches, etc.) and improvements in software (improvements in process flow). However, as technology advances, many of today's process flow improvements have been seen as direct improvements in hardware circuit architecture. Designers almost always obtain the corresponding hardware circuit structure by programming an improved method flow into the hardware circuit. Thus, it cannot be said that an improvement in the process flow cannot be realized by hardware physical modules. For example, a Programmable Logic Device (PLD), such as a Field Programmable Gate Array (FPGA), is an integrated circuit whose Logic functions are determined by programming the Device by a user. A digital system is "integrated" on a PLD by the designer's own programming without requiring the chip manufacturer to design and fabricate a dedicated integrated circuit chip 2. Furthermore, nowadays, instead of manually making an integrated Circuit chip, such Programming is often implemented by "logic compiler" software, which is similar to a software compiler used in program development and writing, but the original code before compiling is also written by a specific Programming Language, which is called Hardware Description Language (HDL), and HDL is not only one but many, such as abel (advanced Boolean Expression Language), ahdl (alternate Language Description Language), traffic, pl (core unified Programming Language), HDCal, JHDL (Java Hardware Description Language), langue, Lola, HDL, laspam, hardsradware (Hardware Description Language), vhjhd (Hardware Description Language), and vhigh-Language, which are currently used in most popular applications. It will also be apparent to those skilled in the art that hardware circuitry that implements the logical method flows can be readily obtained by merely slightly programming the method flows into an integrated circuit using the hardware description languages described above.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. One typical implementation device is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smartphone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
From the above description of the embodiments, it is clear to those skilled in the art that the present specification can be implemented by software plus a necessary general hardware platform. Based on such understanding, the technical solutions of the present specification may be essentially or partially implemented in the form of software products, which may be stored in a storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and include instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments of the present specification.
The description is operational with numerous general purpose or special purpose computing system environments or configurations. For example: personal computers, server computers, hand-held or portable devices, tablet-type devices, multiprocessor systems, microprocessor-based systems, set top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, and the like.
This description may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
While the specification has been described with examples, those skilled in the art will appreciate that there are numerous variations and permutations of the specification that do not depart from the spirit of the specification, and it is intended that the appended claims include such variations and modifications that do not depart from the spirit of the specification.