CN113262471A - Control attribute adjusting method and device, processor and electronic device - Google Patents

Control attribute adjusting method and device, processor and electronic device Download PDF

Info

Publication number
CN113262471A
CN113262471A CN202110469888.3A CN202110469888A CN113262471A CN 113262471 A CN113262471 A CN 113262471A CN 202110469888 A CN202110469888 A CN 202110469888A CN 113262471 A CN113262471 A CN 113262471A
Authority
CN
China
Prior art keywords
touch
control
target
dependent variable
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
CN202110469888.3A
Other languages
Chinese (zh)
Other versions
CN113262471B (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.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN202110469888.3A priority Critical patent/CN113262471B/en
Priority claimed from CN202110469888.3A external-priority patent/CN113262471B/en
Publication of CN113262471A publication Critical patent/CN113262471A/en
Application granted granted Critical
Publication of CN113262471B publication Critical patent/CN113262471B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/40Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment
    • A63F13/42Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment by mapping the input signals into game commands, e.g. mapping the displacement of a stylus on a touch screen to the steering angle of a virtual vehicle
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • G06F9/44526Plug-ins; Add-ons
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/60Methods for processing data by generating or executing the game program

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a control attribute adjusting method, a control attribute adjusting device, a processor and an electronic device. The method comprises the following steps: acquiring first attribute data of a target control within a first preset time length and second attribute data of the target control within a second preset time length, wherein the first attribute data is used for describing a first display state of the target control within the first preset time length, and the second attribute data is used for describing a second display state of the target control within the second preset time length; determining a target dependent variable based on the first attribute data and the second attribute data, and determining an attribute variable quantity through the first attribute data, the second attribute data and the target dependent variable; and adjusting the target attribute of the target control by using the attribute variation. The invention solves the technical problems that the learning cost of the size and the layout mode of the control provided by the related technology is high, the self operation habit of a game player is difficult to conform, and the comfort requirement of the game player is difficult to meet.

Description

Control attribute adjusting method and device, processor and electronic device
Technical Field
The invention relates to the field of computers, in particular to a control attribute adjusting method, a control attribute adjusting device, a control attribute adjusting processor and an electronic device.
Background
At present, in a hand game with a complex core operation interface, particularly under the condition that a plurality of technical controls are arranged in the core operation interface, the sizes and the layouts of the controls need to be reasonably configured so as to meet the ergonomic sizes of most game players and truly reflect the operation levels of different game players. In the hand game with stronger competitive performance, the size and the layout of the skill control in the game operation interface also need to provide a function which can be set by self definition for the game player, so that the game player can adjust the size and the layout of the skill control according to the user experience, the personal operation habit and the operation comfort level of the game player are better met, and the effect of smoother, natural, real and efficient competitive operation is finally realized.
In the game product provided by the related art, the game player can adjust the size and layout of the game control by using a default layout or a custom layout.
(1) The first method is as follows: the game player can directly use the default layout preset in the game to gradually adapt to and habit the default layout.
The disadvantages of this approach are: 1) the game player needs not only to evade the intuitive operation by trial and error in the game but also to gradually replace the conditioned reflex by a memory thinking. 2) The game players need to invest a lot of time cost to learn and adapt, the whole learning process is low in efficiency only through one-way adaptation of the game players, and moreover, learning degree differences exist among different game players, so that the game players which are difficult to get on the game are lost. 3) The default layout is always different from the ideal layout of the game player in adaptation, because: objective factors such as the structural size and the operation habit of the hands of the game player cannot be completely eliminated through the subjective awareness of the game player, for example: a game player with a small palm size has difficulty in adapting to a screen with a large size even through learning.
(2) The first method is as follows: the game player explores and configures the size and layout of the game control which accords with the operation habit of the player in a self-defined mode in the experience process of adapting to the habit default layout.
The disadvantages of this approach are: 1) the game player needs to return the habit of intuitive operation by continuously misleading and trying in the game, and also needs to invest a large amount of time cost to learn and summarize the operation habit of the player. 2) In the process of learning and summarizing own operation habits, it is difficult to determine which operation is inconvenient or operation errors belong to effective experience feedback so as to adjust corresponding controls. 3) After effective experience feedback is obtained, it is difficult to judge how to adjust the size and layout of the control based on experience feeling, so that the size and layout of the adjusted control still cannot meet the operation habit of the user and cannot meet the comfort requirement.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
At least some embodiments of the present invention provide a method, an apparatus, a processor, and an electronic apparatus for adjusting properties of a control, so as to solve at least the technical problems that the learning cost of the size and layout of the control provided in the related art is high, it is difficult to conform to the operation habits of a game player, and it is difficult to meet the comfort requirement of the game player.
According to an embodiment of the present invention, a method for adjusting control attributes is provided, where a graphical user interface is obtained by rendering on a touch display of a mobile terminal, content displayed on the graphical user interface at least partially includes a target control, and the method for adjusting control attributes includes:
acquiring first attribute data of a target control within a first preset time length and second attribute data of the target control within a second preset time length, wherein the first attribute data is used for describing a first display state of the target control within the first preset time length, and the second attribute data is used for describing a second display state of the target control within the second preset time length; determining a target dependent variable based on the first attribute data and the second attribute data, and determining an attribute variable quantity through the first attribute data, the second attribute data and the target dependent variable; and adjusting the target attribute of the target control by using the attribute variation.
Optionally, the obtaining of the first attribute data of the target control within the first preset time duration includes: acquiring a first touch operation parameter and a first touch response parameter of a target control within a first preset time, wherein the first touch operation parameter comprises: the first touch frequency and the first touch duration, and the first touch response parameters comprise: a first center position, a first hot zone area.
Optionally, the obtaining second attribute data of the target control within a second preset time duration includes: acquiring a second touch operation parameter and a second touch response parameter of a touch hot area corresponding to the target control within a second preset time, wherein the second touch operation parameter comprises: the second touch frequency and the second touch duration, and the second touch response parameters include: a second center position, a second hot zone area.
Optionally, determining the target dependent variable based on the first attribute data and the second attribute data comprises: determining the average touch times of the plurality of controls in a second preset time length based on the number of the plurality of controls displayed on the graphical user interface and the sum of the second touch times of the plurality of controls in the second preset time length; determining a first dependent variable by using the first touch frequency, the second touch frequency and the average touch frequency; the touch frequency of each control in the plurality of controls meets a first preset condition or is in a user-defined configuration state.
Optionally, determining the target dependent variable based on the first attribute data and the second attribute data comprises: determining the average touch duration of the plurality of controls within a second preset duration based on the number of the plurality of controls and the sum of the second touch durations of the plurality of controls within the second preset duration; determining a second dependent variable by using the first touch duration, the second touch duration and the average touch duration; the touch frequency of each control in the plurality of controls meets a first preset condition or is in a user-defined configuration state.
Optionally, determining the target dependent variable based on the first attribute data and the second attribute data comprises: determining a first touch frequency based on the first touch times and the first touch duration; determining a second touch frequency based on the second touch times and the second touch duration; determining an average touch frequency based on the sum of second touch times of the plurality of controls within a second preset time length and the sum of second touch time lengths of the plurality of controls within the second preset time length, wherein the second touch times are displayed on the graphical user interface; determining a third dependent variable by using the first touch frequency, the second touch frequency and the average touch frequency; the touch frequency of each control in the plurality of controls meets a first preset condition or is in a user-defined configuration state.
Optionally, determining the property variation based on the first property data, the second property data, and the target dependent variable comprises: and determining the attribute variation based on the first touch response parameter, the second touch response parameter and the target dependent variable.
Optionally, determining the attribute variation based on the first touch response parameter, the second touch response parameter, and the target dependent variable includes: determining a central position vector change based on the first central position, the second central position and a target dependent variable, wherein the target dependent variable comprises at least one of the following: a first dependent variable, a second dependent variable, and a third dependent variable.
Optionally, determining the attribute variation based on the first touch response parameter, the second touch response parameter, and the target dependent variable includes: determining a thermal zone area vector change based on the first thermal zone area, the second thermal zone area, and a target dependent variable, wherein the target dependent variable comprises at least one of: a first dependent variable, a second dependent variable, and a third dependent variable.
Optionally, adjusting the target property of the target control by using the property variation includes: and when the central position vector change meets a second preset condition, adjusting the central position of the target control from the initial position to the target position by using the central position vector change.
Optionally, adjusting the target property of the target control by using the property variation includes: and when the change of the hot area vector meets a third preset condition, adjusting the hot area of the target control from the initial area to the target area by using the change of the hot area vector.
According to an embodiment of the present invention, there is further provided a control attribute adjusting apparatus, where a graphical user interface is obtained by rendering on a touch display of a mobile terminal, content displayed on the graphical user interface at least partially includes a target control, the control attribute adjusting apparatus includes:
the system comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring first attribute data of a target control in a first preset time length and second attribute data of the target control in a second preset time length, the first attribute data is used for describing a first display state of the target control in the first preset time length, and the second attribute data is used for describing a second display state of the target control in the second preset time length; the determining module is used for determining a target dependent variable based on the first attribute data and the second attribute data and determining an attribute variable quantity through the first attribute data, the second attribute data and the target dependent variable; and the adjusting module is used for adjusting the target attribute of the target control by using the attribute variation.
Optionally, the obtaining module is configured to obtain a first touch operation parameter and a first touch response parameter of the target control within a first preset duration, where the first touch operation parameter includes: the first touch frequency and the first touch duration, and the first touch response parameters comprise: a first center position, a first hot zone area.
Optionally, the obtaining module is configured to obtain a second touch operation parameter and a second touch response parameter of the touch hot area corresponding to the target control within a second preset time period, where the second touch operation parameter includes: the second touch frequency and the second touch duration, and the second touch response parameters include: a second center position, a second hot zone area.
Optionally, the determining module is configured to determine an average touch frequency of the plurality of controls within a second preset time period based on a number of the plurality of controls displayed on the graphical user interface and a sum of second touch frequencies of the plurality of controls within the second preset time period; determining a first dependent variable by using the first touch frequency, the second touch frequency and the average touch frequency; the touch frequency of each control in the plurality of controls meets a first preset condition or is in a user-defined configuration state.
Optionally, the determining module is further configured to determine an average touch duration of the plurality of controls within a second preset duration based on the number of the plurality of controls and a sum of second touch durations of the plurality of controls within the second preset duration; determining a second dependent variable by using the first touch duration, the second touch duration and the average touch duration; the touch frequency of each control in the plurality of controls meets a first preset condition or is in a user-defined configuration state.
Optionally, the determining module is further configured to determine a first touch frequency based on the first touch frequency and the first touch duration; determining a second touch frequency based on the second touch times and the second touch duration; determining an average touch frequency based on the sum of second touch times of the plurality of controls within a second preset time length and the sum of second touch time lengths of the plurality of controls within the second preset time length, wherein the second touch times are displayed on the graphical user interface; determining a third dependent variable by using the first touch frequency, the second touch frequency and the average touch frequency; the touch frequency of each control in the plurality of controls meets a first preset condition or is in a user-defined configuration state.
Optionally, the determining module is configured to determine the attribute variation based on the first touch response parameter, the second touch response parameter, and the target dependent variable.
Optionally, the determining module is configured to determine a central position vector change based on the first central position, the second central position, and a target dependent variable, where the target dependent variable includes at least one of: a first dependent variable, a second dependent variable, and a third dependent variable.
Optionally, the determining module is configured to determine a thermal zone area vector change based on the first thermal zone area, the second thermal zone area, and a target dependent variable, wherein the target dependent variable includes at least one of: a first dependent variable, a second dependent variable, and a third dependent variable.
Optionally, the adjusting module is configured to adjust the center position of the target control from the initial position to the target position by using the change of the center position vector when the change of the center position vector meets a second preset condition.
Optionally, the adjusting module is configured to adjust the hot zone area of the target control from the initial area to the target area by using the hot zone area vector change when the hot zone area vector change meets a third preset condition.
According to an embodiment of the present invention, there is further provided a non-volatile storage medium, in which a computer program is stored, where the computer program is configured to execute the control attribute adjusting method in any one of the above methods when the computer program runs.
There is further provided, according to an embodiment of the present invention, a processor configured to execute a program, where the program is configured to execute the control property adjustment method in any one of the above methods when executed.
There is further provided, according to an embodiment of the present invention, an electronic apparatus, including a memory and a processor, where the memory stores a computer program, and the processor is configured to execute the computer program to perform the control property adjustment method in any one of the above.
In at least some embodiments of the present invention, a method for obtaining first attribute data of a target control in a first preset time and second attribute data of the target control in a second preset time is adopted, where the first attribute data is used to describe a first display state of the target control in the first preset time, and the second attribute data is used to describe a second display state of the target control in the second preset time, a target dependent variable is determined through the first attribute data and the second attribute data, an attribute variable is determined through the first attribute data, the second attribute data and the target dependent variable, and a target attribute of the target control is adjusted by using the attribute variable, so as to achieve an object of adjusting an attribute of a game operation control in a machine learning manner, thereby implementing intelligent adjustment of the game operation control according to usage habits of game players, and reducing trial and error processes and memory burden of the game players for adapting to game interfaces, the learning cost of the game player is reduced, the layout with more comfortable hand feeling is provided for the game player, the technical effect of the operation of interface user-defined setting is simplified, and the technical problems that the size of the control provided in the related technology and the learning cost of the layout mode are high, the self operation habit of the game player is difficultly met, and the comfort requirement of the game player is difficultly met are solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a flow chart of a control property adjustment method according to an embodiment of the present invention;
FIG. 2 is a diagram illustrating obtaining attribute variations according to an alternative embodiment of the present invention;
FIG. 3 is a schematic diagram of intelligent adjustment of the position and size of a control according to an alternative embodiment of the present invention;
fig. 4 is a block diagram of a control attribute adjusting apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In accordance with one embodiment of the present invention, there is provided an embodiment of a control property adjustment method, it should be noted that the steps illustrated in the flowchart of the accompanying drawings may be performed in a computer system such as a set of computer-executable instructions, and that while a logical order is illustrated in the flowchart, in some cases the steps illustrated or described may be performed in an order different than that described herein.
The method embodiments may be performed in a mobile terminal, a computer terminal or a similar computing device. Taking the example of the Mobile terminal running on the Mobile terminal, the Mobile terminal may be a terminal device such as a smart phone (e.g., an Android phone, an iOS phone, etc.), a tablet computer, a palm computer, a Mobile Internet device (MID for short), a PAD, and the like. The mobile terminal may include one or more processors (which may include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a Digital Signal Processing (DSP) chip, a Microprocessor (MCU), a programmable logic device (FPGA), a neural Network Processor (NPU), a Tensor Processor (TPU), an Artificial Intelligence (AI) type processor, etc.) and a memory for storing data. Optionally, the mobile terminal may further include a transmission device, an input/output device, and a display device for a communication function. It will be understood by those skilled in the art that the foregoing structural description is only illustrative and not restrictive of the structure of the mobile terminal. For example, the mobile terminal may also include more or fewer components than described above, or have a different configuration than described above.
The memory may be configured to store a computer program, for example, a software program and a module of application software, such as a computer program corresponding to the control attribute adjustment method in the embodiment of the present invention, and the processor executes various functional applications and data processing by running the computer program stored in the memory, that is, implements the control attribute adjustment method described above. The memory may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory may further include memory located remotely from the processor, and these remote memories may be connected to the mobile terminal through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device is used to receive or transmit data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device includes a Network adapter (NIC) that can be connected to other Network devices through a base station to communicate with the internet. In one example, the transmission device may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
The display device may be, for example, a touch screen type Liquid Crystal Display (LCD) and a touch display (also referred to as a "touch screen" or "touch display screen"). The liquid crystal display may enable a user to interact with a user interface of the mobile terminal. In some embodiments, the mobile terminal has a Graphical User Interface (GUI) with which a user can interact by touching finger contacts and/or gestures on a touch-sensitive surface, where the human-machine interaction function optionally includes the following interactions: executable instructions for creating web pages, drawing, word processing, making electronic documents, games, video conferencing, instant messaging, emailing, call interfacing, playing digital video, playing digital music, and/or web browsing, etc., for performing the above-described human-computer interaction functions, are configured/stored in one or more processor-executable computer program products or readable storage media.
In this embodiment, a method for adjusting control attributes running on the mobile terminal is provided, and fig. 1 is a flowchart of the method for adjusting control attributes according to an embodiment of the present invention, where a graphical user interface is obtained by rendering on a touch display of the mobile terminal, and content displayed on the graphical user interface at least partially includes a target control, as shown in fig. 1, the method includes the following steps:
step S10, acquiring first attribute data of the target control in a first preset duration and second attribute data of the target control in a second preset duration, wherein the first attribute data is used for describing a first display state of the target control in the first preset duration, and the second attribute data is used for describing a second display state of the target control in the second preset duration;
the first preset time period and the second preset time period may be two adjacent time periods or two non-adjacent time periods. The first preset time length and the second preset time length can belong to different game plays or the same game play respectively.
Machine learning refers to a process of continuously establishing a mathematical model by intelligently identifying the operating characteristics of game players to finally form an effective mathematical model. An exemplary mathematical model is provided in at least some of the alternative embodiments below, but is not to be construed as limiting the invention. In the practical application process, a person skilled in the art can also derive a more complex mathematical model based on the example mathematical model, and can perform optimization iteration on the mathematical model while intelligently adjusting the target properties (such as size and position) of the control, so as to continuously accelerate the intelligent identification process.
In order to adjust the attributes of the game operation control in a machine learning manner, first attribute data of the target control within a first preset time length and second attribute data of the target control within a second preset time length need to be acquired. The first attribute data and the second attribute data are attribute data with the same attribute and respectively corresponding to different time periods. The attribute data may include, but is not limited to: the size, position, shape, color, sound effect, brightness, response time, etc. of the target control.
Step S11, determining a target dependent variable based on the first attribute data and the second attribute data, and determining an attribute variable quantity through the first attribute data, the second attribute data and the target dependent variable;
the first attribute data and the second attribute data may include, but are not limited to: touch operation parameters (e.g., touch times and touch duration), touch response parameters (e.g., touch center position and touch hot area), and the like. A target dependent variable may first be determined based on the first attribute data and the second attribute data, for example: the touch frequency related dependent variable, the touch duration related dependent variable, the touch frequency related dependent variable and the like. Then, the variable quantity of the attribute is determined by the first attribute data, the second attribute data and the target dependent variable, for example: the size variation, the position variation, the shape variation, the color variation, the sound effect variation, the brightness variation, the response time variation and the like of the target control.
And step S12, adjusting the target property of the target control by using the property variation.
The target property of the target control can be adjusted from the initial state to the target state by using the property variation, for example: the position of the target control is adjusted to be the current position from the original position, the size of the target control is adjusted to be larger from the smaller size, the shape of the target control is adjusted to be elliptical from the circle, the color of the target control is adjusted to be the emphatic color from the common color, the sound effect of the target control is adjusted to be loud from the weak sound, the brightness of the target control is adjusted to be bright from the dark display, the response duration of the target control is adjusted to be longer from the shorter duration, and the like.
Through the steps, a mode of acquiring first attribute data of the target control in a first preset time and second attribute data of the target control in a second preset time can be adopted, wherein the first attribute data is used for describing a first display state of the target control in the first preset time, and the second attribute data is used for describing a second display state of the target control in the second preset time, a target dependent variable is determined through the first attribute data and the second attribute data, an attribute variable quantity is determined through the first attribute data, the second attribute data and the target dependent variable, and the target attribute of the target control is adjusted by utilizing the attribute variable quantity, so that the aim of adjusting the game operation control in a machine learning mode is fulfilled, the game operation control can be intelligently adjusted according to the use habits of game players, and the trial and error process and the memory burden of the game players for adapting to game interfaces are reduced, the learning cost of the game player is reduced, the layout with more comfortable hand feeling is provided for the game player, the technical effect of the operation of interface user-defined setting is simplified, and the technical problems that the size of the control provided in the related technology and the learning cost of the layout mode are high, the self operation habit of the game player is difficultly met, and the comfort requirement of the game player is difficultly met are solved.
Optionally, in step S10, the obtaining of the first attribute data of the target control within the first preset time period may include the following steps:
step S100, obtaining a first touch operation parameter and a first touch response parameter of the target control within a first preset time, where the first touch operation parameter includes: the first touch frequency and the first touch duration, and the first touch response parameters comprise: a first center position, a first hot zone area.
The first attribute data may include a first touch operation parameter and a first touch response parameter of the target control within a first preset time period. The first touch operation parameter may include a first touch frequency and a first touch duration. The first touch response parameter may include a first center position and a first hot zone area.
The first preset time length may be a time length corresponding to the last game match. After the last game match is finished, the number of touch times (e.g. number of clicks) n of the target control can be recorded0The touch duration (e.g. click duration) t of the target control0And the control hot zone central position (x) of the target control0,y0) And controlling the hot zone area S of the hot zone0And so on.
The hot zone generally refers to an operation range of a game player on a screen of the mobile terminal. The control hot area refers to an interactive operation range of each control, the area of the hot area can be divided into geometric shapes such as a rectangle and a circle according to the difference of a game or a software engine, and the area of the hot area can be calculated according to an area calculation formula of the corresponding shape.
Optionally, in step S10, the obtaining of the second attribute data of the target control within the second preset time period may include the following steps:
step S101, obtaining a second touch operation parameter and a second touch response parameter of the touch hot area corresponding to the target control within a second preset time, where the second touch operation parameter includes: the second touch frequency and the second touch duration, and the second touch response parameters include: a second center position, a second hot zone area.
The second attribute data may include a second touch operation parameter and a second touch response parameter of the target control corresponding to the touch hot area within a second preset time period. The second touch operation parameter may include a second touch frequency and a second touch duration. The second touch response parameter may include a second center position and a second hot zone area.
The second preset time length may be a time length corresponding to the game match. After the game is played, the click duration t of the target control can be recordediTouch frequency (e.g. click frequency) n of the touch hot zone corresponding to the target controliTouch duration (e.g., click duration) t of touch hot zoneiCenter position (x) of touch control hot areai,yi) And click the hot zone area S of the hot zoneiAnd so on.
Alternatively, in step S11, determining the target dependent variable based on the first attribute data and the second attribute data may include performing the steps of:
step S110, determining average touch times of the multiple controls based on the number of the multiple controls displayed on the graphical user interface and the sum of second touch times of the multiple controls in a second preset time;
step S111, determining a first dependent variable by using the first touch frequency, the second touch frequency and the average touch frequency;
the touch frequency of each control in the plurality of controls meets a first preset condition or is in a user-defined configuration state.
By determining a plurality of controls with higher operating frequency or capable of being configured by self-definition in the game playing method and recording the number of the controls of the plurality of controls as i, the sum n of second touch times of the plurality of controls in a second preset time can be obtained according to the number i of the controls and the sum n of the second touch times of the plurality of controls in a second preset timetThe average touch frequency of a plurality of target controls in the game play can be calculated
Figure BDA0003045127320000101
Then, the touch frequency n of the target control is reused0Touch control of touch control hot area corresponding to target controlNumber of times niAnd average number of touches
Figure BDA0003045127320000102
A first dependent variable is determined. That is to say that the first and second electrodes,
Figure BDA0003045127320000103
the number of the controls may be the total number of controls with higher operation frequency, for example: the total number of controls that can be customized in the first-person shooter game does not include controls that have not been touched in multiple game plays. Of course, the selection of the controls and the counting rule may also be changed correspondingly according to the difference of the game core playing methods, so that the number of the controls may also include the controls that are not touched in the game play of multiple times, so that the controls that are not touched also participate in the intelligent adjustment process of the positions and sizes of the controls, and the sizes of the controls that are not touched are gradually reduced, and the positions gradually tend to be marginalized.
Alternatively, in step S11, determining the target dependent variable based on the first attribute data and the second attribute data may include performing the steps of:
step S112, determining average touch duration of the plurality of controls within a second preset duration based on the number of the plurality of controls and the sum of the second touch durations of the plurality of controls within the second preset duration;
step S113, determining a second dependent variable by using the first touch duration, the second touch duration and the average touch duration;
the touch frequency of each control in the plurality of controls meets a first preset condition or is in a user-defined configuration state.
By determining a plurality of controls with higher operating frequency or capable of being configured by self-definition in the game playing method and recording the number of the controls of the plurality of controls as i, the sum t of the number of the controls i and the second touch duration of the plurality of controls in a second preset duration can be obtainedtThe average touch duration of a plurality of target controls in the game play can be calculated
Figure BDA0003045127320000111
Then, the touch duration t of the target control is reused0Touch duration t of touch hot areaiAnd average touch duration
Figure BDA0003045127320000114
A second dependent variable is determined. That is to say that the first and second electrodes,
Figure BDA0003045127320000112
alternatively, in step S11, determining the target dependent variable based on the first attribute data and the second attribute data may include performing the steps of:
step S114, determining a first touch frequency based on the first touch frequency and the first touch duration, and determining a second touch frequency based on the second touch frequency and the second touch duration;
step S115, determining an average touch frequency based on a sum of second touch times of the plurality of controls displayed on the graphical user interface within a second preset time and a sum of second touch durations of the plurality of controls within the second preset time;
step S116, determining a third dependent variable by using the first touch frequency, the second touch frequency and the average touch frequency;
the touch frequency of each control in the plurality of controls meets a first preset condition or is in a user-defined configuration state.
Touch frequency n based on target control0And the touch duration t of the target control0Touch frequency f of target control can be obtained through calculation0. Touch frequency n based on touch hot areaiAnd the touch duration t of the touch hot areaiThe touch frequency f of the touch hot area can be calculatedi. Sum n of second touch times based on multiple controlstAnd the sum t of the second touch duration of the plurality of controlstThe average touch frequency f of a plurality of controls can be calculatedt. Then, the touch frequency f of the target control is reused0Touch frequency f of touch hot areaiAnd average touch frequency f of a plurality of controlstTo determine a third dependent variable.
That is to say that the first and second electrodes,
Figure BDA0003045127320000113
alternatively, in step S11, determining the attribute changing amount based on the first attribute data, the second attribute data, and the target dependent variable may include performing the steps of:
in step S117, an attribute variation is determined based on the first touch response parameter, the second touch response parameter, and the target dependent variable.
In the process of determining the attribute variation based on the first attribute data, the second attribute data and the target dependent variable, the central position vector variation may be determined by at least one of the first central position in the first touch response parameter, the second central position in the second touch response parameter, and the dependent variable related to touch times, the dependent variable related to touch duration, and the dependent variable related to touch frequency, or the hot area vector variation may be determined by at least one of the first hot area in the first touch response parameter, the second hot area in the second touch response parameter, and the dependent variable related to touch times, the dependent variable related to touch duration, and the dependent variable related to touch frequency.
Optionally, in step S117, determining the attribute variation based on the first touch response parameter, the second touch response parameter and the target dependent variable may include performing the following steps:
step S1170, determining the vector change of the central position based on the first central position, the second central position and the target dependent variable, wherein the target dependent variable comprises at least one of the following: a first dependent variable, a second dependent variable, and a third dependent variable.
After the first center position and the second center position are obtained, the change of the center position vector can be determined by combining at least one of the first dependent variable, the second dependent variable and the third dependent variable.
In an alternative embodiment, each dependent variable can be calculated by combining the above first dependent variables and using the following calculation formulaVector change (X) of hot zone center position of target controln,Yn):
Figure BDA0003045127320000121
Figure BDA0003045127320000122
FIG. 2 is a diagram illustrating obtaining property variation according to an alternative embodiment of the present invention, where as shown in FIG. 2, the position property of the target control is located from the control hot zone center (x)0,y0) Change to the center position (x) of the touch hot areai,yi) Thereby, the control hot zone center position (x) of the target control can be utilized0,y0) Center position (x) of touch control hot areai,yi) Average number of touch-control operations
Figure BDA0003045127320000127
Touch frequency n of target control0And the touch frequency n of the target controliAnd calculating to obtain the vector change of the central position.
In an optional embodiment, the vector change (X) of the hot zone center position of each target control can be calculated by using the following calculation formula in combination with the second dependent variablen,Yn):
Figure BDA0003045127320000123
Figure BDA0003045127320000124
In an optional embodiment, the vector change (X) of the hot zone center position of each target control can be calculated by using the following calculation formula in combination with the third dependent variablen,Yn):
Figure BDA0003045127320000125
Figure BDA0003045127320000126
In an optional embodiment, the vector change (X) of the hot zone center position of each target control can be calculated by using the following calculation formula by simultaneously combining the first dependent variable and the second dependent variablen,Yn):
Figure BDA0003045127320000131
Figure BDA0003045127320000132
Therefore, the first dependent variable, the second dependent variable and the third dependent variable can be solely involved in the actual calculation or can be mutually combined to participate in the actual calculation.
Optionally, in step S117, determining the attribute variation based on the first touch response parameter, the second touch response parameter and the target dependent variable may include performing the following steps:
step S1171, determining the vector change of the area of the hot zone based on the area of the first hot zone, the area of the second hot zone and the target dependent variable, wherein the target dependent variable comprises at least one of the following: a first dependent variable, a second dependent variable, and a third dependent variable.
After the first and second hot zone areas are obtained, the vector change of the hot zone areas can be determined by combining at least one of the first dependent variable, the second dependent variable and the third dependent variable.
In an alternative embodiment, the hotspot area S may be based on a click hotspotiControlling hot zone area S of hot zone0And calculating to obtain the heat of the control hot area by combining the first dependent variableVector change of area SnThe calculation formula is as follows:
Figure BDA0003045127320000133
when S isn>When 0, controlling the hot area of the hot area to expand; when S isnWhen the value is 0, controlling the area of the hot zone to be unchanged; when S isn<And 0, controlling the area of the hot zone to shrink.
Still as shown in FIG. 2, the hotspot area attribute of the target control follows the hotspot area S of the control hotspot0Area of hot zone S changed to click hot zoneiThereby, the hot zone area S of the hot zone can be utilized0Clicking the hot area S of the hot areaiAverage number of touch-control operations
Figure BDA0003045127320000135
Touch frequency n of target control0And the touch frequency n of the target controliThe hot zone area vector change can be calculated.
In an alternative embodiment, the area S of the hotspot may also be based on clicking the hotspotiControlling hot zone area S of hot zone0And calculating to obtain the vector change S of the hot area of the control hot area by combining the second dependent variablenThe calculation formula is as follows:
Figure BDA0003045127320000134
in an alternative embodiment, the area S of the hotspot may also be based on clicking the hotspotiControlling hot zone area S of hot zone0And calculating to obtain the vector change S of the hot area of the control hot area by combining the third dependent variablenThe calculation formula is as follows:
Figure BDA0003045127320000141
in an alternative embodiment, the area S of the hotspot may also be based on clicking the hotspotiControlling hot zone area S of hot zone0And simultaneously calculating to obtain the vector change S of the hot area of the control hot area by combining the first dependent variable and the second dependent variablenThe calculation formula is as follows:
Figure BDA0003045127320000142
therefore, the first dependent variable, the second dependent variable and the third dependent variable can be solely involved in the actual calculation or can be mutually combined to participate in the actual calculation.
For calculated SnIn other words, S may bemaxAnd SminSet to the upper and lower limits of the control size, respectively, thus at SmaxAnd SminThe final size is adjusted within the limited size range according to different game core playing methods. Of course, the upper limit and the lower limit of the control size may not be predefined, so that the control size may be freely changed.
Optionally, in step S12, adjusting the target property of the target control by the property variation may include the following steps:
and step S120, when the change of the central position vector meets a second preset condition, adjusting the central position of the target control from the initial position to the target position by using the change of the central position vector.
Vector change (X) of hot zone center position of target controln,Yn) The effective range of the center position needs to be set according to the requirements of the game control. The second preset condition is a preset condition that the center position of the target control needs to be intelligently adjusted, and is used for limiting the effective range of the center position. When the scalar value (i.e., the absolute value of the variation) of the center position is smaller than the preset threshold, the target control can be determined to reach the stable state without subsequent adjustment.
For example: when X is presentnIs greater than 0.4mm and YnIs greater than 0.4mm, the size of the controlChanges will occur; when X is presentnIs less than 0.4mm and YnWhen the absolute value of the control is less than 0.4mm, the size of the control is not changed any more, the variation is ignored at the moment, and the control size is determined to reach a relatively stable state and not to be changed all the time. It should be noted that the effective range of the center position referred to in this example is only an alternative example, and does not constitute a limitation of the present invention. In the actual application process, the user experience data can be obtained according to the statistical result of the user experience data.
Based on the vector change of the hot area central position, the vector operation is carried out on the coordinates of the control hot area central position in the last game match to obtain an operation result, and then the operation result is redefined as the control hot area central position (x)0,y0) The calculation formula is as follows:
x0=x0+Xn
y0=y0+Yn
according to redefining as the control hot zone center position (x)0,y0) The center position of the target control can be adjusted from the initial position to the target position.
Optionally, in step S12, adjusting the target property of the target control by the property variation may include the following steps:
in step S121, when the change of the hot area vector satisfies a third preset condition, the hot area of the target control is adjusted from the initial area to the target area by using the change of the hot area vector.
Vector change S of hot area of control hot area of target controlnThe effective range of the hot zone area needs to be set according to the requirements of the game control. The third preset condition is a preset condition that the hot area of the target control needs to be intelligently adjusted, and is used for limiting the effective range of the hot area. When the scalar value (i.e., the absolute value of the variation) of the area of the hot zone is smaller than the preset threshold, the target control can be determined to reach the stable state without subsequent adjustment.
For example: when S isnIs greater than0.5mm2When the size of the control is changed, the size of the control is changed; when S isnIs less than 0.5mm2And when the size of the control does not change, the variable quantity is ignored, and the size of the control is determined to reach a relatively stable state and not to change all the time. It should be noted that the effective range of the hot zone area involved in this example is only an optional example, and is not to be construed as a limitation of the present invention. In the actual application process, the user experience data can be obtained according to the statistical result of the user experience data.
Carrying out vector operation on the hot area of the control hot area in the last game match by using the vector change of the hot area of the control hot area to obtain an operation result, and then redefining the operation result as the hot area S of the control hot area0The calculation formula is as follows:
S0=S0+Sn
according to the hot zone area S redefined as the control hot zone0The hot zone area of the target control may be adjusted from the initial area to the target area.
Fig. 3 is a schematic diagram illustrating intelligent adjustment of the position and size of a control according to an alternative embodiment of the present invention, and as shown in fig. 3, the position and size of the control a before adjustment is the position and size obtained after the end of the historical game play, and finally the position and size of the control a after adjustment is provided for the game player in a graphical user interface in a relatively customary and comfortable manner through intelligent adjustment of the game play for a plurality of consecutive times.
It should be noted that the position and size of the control a are only exemplary illustrations for adjusting the target property of the control, and do not constitute an undue limitation to the present invention, and the remaining properties of the control a are also within the protection scope of the present invention. For example:
for the shape of the control, when the operation frequency of the control is higher, the long axis position change direction of the control hot area is adjusted;
for the color of the control, when the operation frequency of the control is higher, the color of the control hot zone becomes more bright;
for the sound effect of the control, when the operation frequency of the control is higher, the sound effect of the control hot area is weaker;
for the brightness of the control, when the operation frequency of the control is higher, the brightness of the hot area of the control becomes brighter;
for the response time of the control, the higher the operation frequency of the control is, the shorter the response time of the control hot zone is.
The position and the size of the control are set in a game in a self-defined mode, so that each control can be intelligently adjusted according to the use habits of game players, the game players gradually adapt to the intuitive operation of the game players in the game experience process, and the trial and error process and the memory burden of the game players in adaptation to game interfaces are reduced. The adaptation process is converted from one-way adaptation of game changes by game players to two-way adaptation between the game players and game operations, so that the learning cost of the game players is reduced, and the loss of the game players is reduced to a certain extent. In addition, by providing a layout with more comfortable hand feeling for game players, the relatively uniform interface customization degree can be ensured, so that the game players can play the real competitive level, the interface customization setting operation is simplified, and the game players do not need to actively set.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
In this embodiment, a control attribute adjusting apparatus is further provided, and the apparatus is used to implement the foregoing embodiments and preferred embodiments, and the description already made is omitted. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 4 is a block diagram of a structure of a control attribute adjusting apparatus according to an embodiment of the present invention, where a graphical user interface is obtained by rendering on a touch display of a mobile terminal, and content displayed on the graphical user interface at least partially includes a target control, as shown in fig. 4, the apparatus includes: the acquiring module 10 is configured to acquire first attribute data of the target control within a first preset duration and second attribute data of the target control within a second preset duration, where the first attribute data is used to describe a first display state of the target control within the first preset duration, and the second attribute data is used to describe a second display state of the target control within the second preset duration; a determining module 20, configured to determine a target dependent variable based on the first attribute data and the second attribute data, and determine an attribute variation by the first attribute data, the second attribute data, and the target dependent variable; and an adjusting module 30, configured to adjust the target attribute of the target control by using the attribute variation.
Optionally, the obtaining module 10 is configured to obtain a first touch operation parameter and a first touch response parameter of the target control within a first preset time duration, where the first touch operation parameter includes: the first touch frequency and the first touch duration, and the first touch response parameters comprise: a first center position, a first hot zone area.
Optionally, the obtaining module 10 is configured to obtain a second touch operation parameter and a second touch response parameter of the touch hot area corresponding to the target control within a second preset time period, where the second touch operation parameter includes: the second touch frequency and the second touch duration, and the second touch response parameters include: a second center position, a second hot zone area.
Optionally, the determining module 20 is configured to determine an average touch frequency of the plurality of controls within a second preset time length based on the number of the plurality of controls displayed on the graphical user interface and a sum of second touch frequencies of the plurality of controls within the second preset time length; determining a first dependent variable by using the first touch frequency, the second touch frequency and the average touch frequency; the touch frequency of each control in the plurality of controls meets a first preset condition or is in a user-defined configuration state.
Optionally, the determining module 20 is further configured to determine an average touch duration of the plurality of controls within a second preset duration based on the number of the plurality of controls and a sum of second touch durations of the plurality of controls within the second preset duration; determining a second dependent variable by using the first touch duration, the second touch duration and the average touch duration; the touch frequency of each control in the plurality of controls meets a first preset condition or is in a user-defined configuration state.
Optionally, the determining module 20 is further configured to determine a first touch frequency based on the first touch frequency and the first touch duration; determining a second touch frequency based on the second touch times and the second touch duration; determining an average touch frequency based on the sum of second touch times of the plurality of controls within a second preset time length and the sum of second touch time lengths of the plurality of controls within the second preset time length, wherein the second touch times are displayed on the graphical user interface; determining a third dependent variable by using the first touch frequency, the second touch frequency and the average touch frequency; the touch frequency of each control in the plurality of controls meets a first preset condition or is in a user-defined configuration state.
Optionally, the determining module 20 is configured to determine the attribute variation based on the first touch response parameter, the second touch response parameter, and the target dependent variable.
Optionally, the determining module 20 is configured to determine a central position vector change based on the first central position, the second central position, and a target dependent variable, where the target dependent variable includes at least one of: a first dependent variable, a second dependent variable, and a third dependent variable.
Optionally, the determining module 20 is configured to determine a thermal region area vector change based on the first thermal region area, the second thermal region area, and a target dependent variable, wherein the target dependent variable includes at least one of: a first dependent variable, a second dependent variable, and a third dependent variable.
Optionally, the adjusting module 30 is configured to adjust the center position of the target control from the initial position to the target position by using the change of the center position vector when the change of the center position vector meets a second preset condition.
Optionally, the adjusting module 30 is configured to adjust the hot zone area of the target control from the initial area to the target area by using the hot zone area vector change when the hot zone area vector change meets a third preset condition.
It should be noted that, the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are respectively located in different processors in any combination.
Embodiments of the present invention also provide a non-volatile storage medium having a computer program stored therein, wherein the computer program is configured to perform the steps of any of the above method embodiments when executed.
Alternatively, in the present embodiment, the above-mentioned nonvolatile storage medium may be configured to store a computer program for executing the steps of:
s1, acquiring first attribute data of the target control in a first preset duration and second attribute data of the target control in a second preset duration, wherein the first attribute data is used for describing a first display state of the target control in the first preset duration, and the second attribute data is used for describing a second display state of the target control in the second preset duration;
s2, determining a target dependent variable based on the first attribute data and the second attribute data, and determining an attribute variable quantity through the first attribute data, the second attribute data and the target dependent variable;
and S3, adjusting the target property of the target control by using the property variation.
Optionally, in this embodiment, the nonvolatile storage medium may include, but is not limited to: various media capable of storing computer programs, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
Optionally, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
s1, acquiring first attribute data of the target control in a first preset duration and second attribute data of the target control in a second preset duration, wherein the first attribute data is used for describing a first display state of the target control in the first preset duration, and the second attribute data is used for describing a second display state of the target control in the second preset duration;
s2, determining a target dependent variable based on the first attribute data and the second attribute data, and determining an attribute variable quantity through the first attribute data, the second attribute data and the target dependent variable;
and S3, adjusting the target property of the target control by using the property variation.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation manners, and this embodiment is not described herein again.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (15)

1. A method for adjusting control attributes is characterized in that a graphical user interface is obtained through rendering on a touch display of a mobile terminal, content displayed by the graphical user interface at least partially comprises a target control, and the method for adjusting control attributes comprises the following steps:
acquiring first attribute data of the target control in a first preset time length and second attribute data of the target control in a second preset time length, wherein the first attribute data is used for describing a first display state of the target control in the first preset time length, and the second attribute data is used for describing a second display state of the target control in the second preset time length;
determining a target dependent variable based on the first attribute data and the second attribute data, and determining an attribute variation through the first attribute data, the second attribute data and the target dependent variable;
and adjusting the target attribute of the target control by using the attribute variation.
2. The control attribute adjustment method according to claim 1, wherein obtaining the first attribute data of the target control within the first preset duration comprises:
acquiring a first touch operation parameter and a first touch response parameter of the target control within the first preset time, wherein the first touch operation parameter comprises: the first touch frequency and the first touch duration, wherein the first touch response parameter comprises: a first center position, a first hot zone area.
3. The control attribute adjustment method according to claim 2, wherein the obtaining of the second attribute data of the target control within the second preset duration comprises:
acquiring a second touch operation parameter and a second touch response parameter of the touch hot area corresponding to the target control within the second preset time, wherein the second touch operation parameter includes: the second touch frequency and the second touch duration, wherein the second touch response parameters comprise: a second center position, a second hot zone area.
4. The control property adjustment method of claim 3, wherein determining the target dependent variable based on the first property data and the second property data comprises:
determining the average touch times of the plurality of controls within the second preset time length based on the number of the plurality of controls displayed by the graphical user interface and the sum of the second touch times of the plurality of controls within the second preset time length;
determining a first dependent variable by using the first touch times, the second touch times and the average touch times;
the touch frequency of each control in the plurality of controls meets a first preset condition or is in a user-defined configuration state.
5. The control property adjustment method of claim 3, wherein determining the target dependent variable based on the first property data and the second property data comprises:
determining the average touch duration of the plurality of controls within a second preset duration based on the number of the plurality of controls displayed by the graphical user interface and the sum of the second touch durations of the plurality of controls within the second preset duration;
determining a second dependent variable by using the first touch duration, the second touch duration and the average touch duration;
the touch frequency of each control in the plurality of controls meets a first preset condition or is in a user-defined configuration state.
6. The control property adjustment method of claim 3, wherein determining the target dependent variable based on the first property data and the second property data comprises:
determining a first touch frequency based on the first touch times and the first touch duration;
determining a second touch frequency based on the second touch times and the second touch duration;
determining an average touch frequency based on a sum of second touch times of a plurality of controls displayed on the graphical user interface within the second preset time length and a sum of second touch time lengths of the plurality of controls within the second preset time length;
determining a third dependent variable by using the first touch frequency, the second touch frequency and the average touch frequency;
the touch frequency of each control in the plurality of controls meets a first preset condition or is in a user-defined configuration state.
7. The control property adjustment method of any of claims 4 to 6, wherein determining the property delta based on the first property data, the second property data, and the target dependent variable comprises:
determining the attribute variation based on the first touch response parameter, the second touch response parameter, and the target dependent variable.
8. The control property adjustment method of claim 7, wherein determining the property variation based on the first touch response parameter, the second touch response parameter, and the target dependent variable comprises:
determining the center position vector change based on the first center position, the second center position, and the target dependent variable, wherein the target dependent variable comprises at least one of: a first dependent variable, a second dependent variable, and a third dependent variable.
9. The control property adjustment method of claim 7, wherein determining the property variation based on the first touch response parameter, the second touch response parameter, and the target dependent variable comprises:
determining the thermal zone area vector change based on the first thermal zone area, the second thermal zone area, and the target dependent variable, wherein the target dependent variable comprises at least one of: a first dependent variable, a second dependent variable, and a third dependent variable.
10. The control attribute adjustment method according to claim 8, wherein adjusting the target attribute of the target control by using the attribute change amount comprises:
and when the central position vector change meets a second preset condition, adjusting the central position of the target control from the initial position to the target position by using the central position vector change.
11. The control attribute adjustment method according to claim 9, wherein adjusting the target attribute of the target control by using the attribute change amount includes:
and when the hot area vector change meets a third preset condition, adjusting the hot area of the target control from the initial area to the target area by using the hot area vector change.
12. A control attribute adjustment apparatus, wherein a graphical user interface is obtained by executing a software application on a processor of a mobile terminal and rendering the software application on a touch display of the mobile terminal, and content displayed on the graphical user interface at least partially contains a target control, the control attribute adjustment apparatus comprising:
an obtaining module, configured to obtain first attribute data of the target control within a first preset duration and second attribute data of the target control within a second preset duration, where the first attribute data is used to describe a first display state of the target control within the first preset duration, and the second attribute data is used to describe a second display state of the target control within the second preset duration;
a determining module, configured to determine a target dependent variable based on the first attribute data and the second attribute data, and determine an attribute variation by using the first attribute data, the second attribute data, and the target dependent variable;
and the adjusting module is used for adjusting the target attribute of the target control by using the attribute variation.
13. A non-volatile storage medium, wherein a computer program is stored in the storage medium, wherein the computer program is configured to execute the control property adjustment method according to any one of claims 1 to 11 when running.
14. A processor for running a program, wherein the program is configured to execute the control property adjustment method of any one of claims 1 to 11 when running.
15. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to execute the computer program to perform the control property adjustment method of any one of claims 1 to 11.
CN202110469888.3A 2021-04-28 Control attribute adjustment method and device, processor and electronic device Active CN113262471B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110469888.3A CN113262471B (en) 2021-04-28 Control attribute adjustment method and device, processor and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110469888.3A CN113262471B (en) 2021-04-28 Control attribute adjustment method and device, processor and electronic device

Publications (2)

Publication Number Publication Date
CN113262471A true CN113262471A (en) 2021-08-17
CN113262471B CN113262471B (en) 2024-06-25

Family

ID=

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114637456A (en) * 2022-03-30 2022-06-17 阿波罗智联(北京)科技有限公司 Method and device for controlling vehicle and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140364214A1 (en) * 2013-06-11 2014-12-11 Microsoft Corporation Adaptive touch input controls
CN108854071A (en) * 2018-04-26 2018-11-23 网易(杭州)网络有限公司 Control display methods, display device and the display terminal of game
CN109753327A (en) * 2018-11-19 2019-05-14 努比亚技术有限公司 A kind of control layout method, terminal and computer readable storage medium
CN109908580A (en) * 2019-01-25 2019-06-21 努比亚技术有限公司 Optimization method, computer equipment and the storage medium of interface
CN111782103A (en) * 2020-07-15 2020-10-16 网易(杭州)网络有限公司 Method, device, equipment and medium for adjusting position of interactive control

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140364214A1 (en) * 2013-06-11 2014-12-11 Microsoft Corporation Adaptive touch input controls
CN108854071A (en) * 2018-04-26 2018-11-23 网易(杭州)网络有限公司 Control display methods, display device and the display terminal of game
CN109753327A (en) * 2018-11-19 2019-05-14 努比亚技术有限公司 A kind of control layout method, terminal and computer readable storage medium
CN109908580A (en) * 2019-01-25 2019-06-21 努比亚技术有限公司 Optimization method, computer equipment and the storage medium of interface
CN111782103A (en) * 2020-07-15 2020-10-16 网易(杭州)网络有限公司 Method, device, equipment and medium for adjusting position of interactive control

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114637456A (en) * 2022-03-30 2022-06-17 阿波罗智联(北京)科技有限公司 Method and device for controlling vehicle and electronic equipment

Similar Documents

Publication Publication Date Title
CN111161427A (en) Self-adaptive adjustment method and device of virtual skeleton model and electronic device
CN104808986B (en) A kind of intelligent terminal desktop method for customizing and device
CN106681555A (en) Touch screen control method and device of mobile terminal and mobile terminal
CN113908550A (en) Virtual character control method, nonvolatile storage medium, and electronic apparatus
CN112190922A (en) Virtual article processing method and device, storage medium and electronic device
CN111450529B (en) Game map acquisition method and device, storage medium and electronic device
US20230241499A1 (en) Position adjustment method and apparatus for operation control, terminal, and storage medium
CN106774797B (en) Automatic power-saving method and device for robot and robot
CN111844030B (en) Interpolation point generation method and device, processor and electronic device
CN110633420A (en) Game content recommendation method and device, storage medium, processor and electronic device
CN108733193A (en) Method, apparatus, storage medium and the intelligent terminal of adjustment frame per second
CN104274971B (en) Gamecontrol system and method
CN113440848B (en) In-game information marking method and device and electronic device
CN113262472A (en) Processing method and device of option control, processor and electronic device
CN114377405A (en) Role image data-based generation method and device
CN113262471B (en) Control attribute adjustment method and device, processor and electronic device
CN113262471A (en) Control attribute adjusting method and device, processor and electronic device
CN112619160A (en) Image processing method, image processing apparatus, non-volatile storage medium, and electronic apparatus
CN114363866B (en) Method and device for configuring scene mode of Bluetooth mesh network equipment and electronic device
CN106843784B (en) Method and device for displaying data
CN113318430A (en) Virtual character posture adjusting method and device, processor and electronic device
CN114504808A (en) Information processing method, information processing apparatus, storage medium, processor, and electronic apparatus
CN114849228A (en) Method, device and equipment for layout of control in game and storage medium
CN112807688A (en) Method and device for setting expression in game, processor and electronic device
CN107665073A (en) Change application program image target method and device, terminal and readable storage medium storing program for executing

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