CN112130719A - Page display method, device and system, electronic equipment and storage medium - Google Patents
Page display method, device and system, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN112130719A CN112130719A CN202010890191.9A CN202010890191A CN112130719A CN 112130719 A CN112130719 A CN 112130719A CN 202010890191 A CN202010890191 A CN 202010890191A CN 112130719 A CN112130719 A CN 112130719A
- Authority
- CN
- China
- Prior art keywords
- target
- page
- control
- interaction control
- display
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the disclosure provides a page display method, a page display device, a page display system, electronic equipment and a storage medium. The method comprises the following steps: receiving a display triggering operation aiming at a target page, and identifying whether the target page comprises a target interaction control or not; under the condition that the target page is identified to comprise the target interaction control, acquiring the equipment state of the target equipment; and displaying the target page through the target equipment, and controlling the display style of the target interaction control according to the equipment state, wherein the display style of the target interaction control is different when the target equipment is in different states. Therefore, according to the scheme, the display style of the target interaction control can be controlled to follow the state change of the target device, so that the target interaction control has a more prominent display effect in the target page, the attention of a user can be quickly acquired when the target page is displayed, the user is triggered to operate the target interaction control more conveniently to realize the corresponding page function, and the interaction operation experience is improved.
Description
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a page display method, device, system, electronic device, and storage medium.
Background
With the popularization of terminal intellectualization and the maturity of human-computer interaction technology, people are used to click, slide and other human-computer interaction operations, so that interaction controls displayed in an application interface on an intelligent terminal are operated to obtain corresponding functional services. For example, in a photographing interface of a camera, a photographing control can be clicked to photograph; or, in a music playing interface, the start/pause control can be clicked to control the music to start playing or pause, or in a chat interface of the social application, after the content to be sent is input, the sending control can be clicked to send the content to be sent to the chat friends.
In each application interface, a plurality of interactive controls capable of receiving human-computer interaction operations are usually provided, and each interactive control corresponds to a different application function. Wherein the user may often use interactive controls for certain important or specific functions. However, at present, the display position of some control pieces frequently used by users is not obvious, so that the user is difficult to find the control pieces when using the control pieces, and therefore, the operation of the user is inconvenient.
Disclosure of Invention
In order to solve the technical problems described in the background art, embodiments of the present disclosure provide a page display method, device, system, electronic device, and storage medium, where the technical solution of the present disclosure is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a page display method, including:
receiving a display triggering operation aiming at the target page, and identifying whether the target page comprises a target interaction control;
under the condition that the target page is identified to comprise the target interaction control, acquiring the equipment state of the target equipment;
and displaying the target page through the target equipment, and controlling the display style of the target interaction control according to the equipment state, wherein the display style of the target interaction control is different when the target equipment is in different states.
Optionally, the identifying whether the target page includes the target interaction control includes:
searching whether a target interaction control corresponding to the target page exists in a pre-stored configuration file, wherein the configuration file comprises a corresponding relation between the page and the interaction control;
determining that the target page comprises a target interaction control under the condition that the target interaction control corresponding to the target page exists in the configuration file;
and under the condition that the target interaction control corresponding to the target page does not exist in the configuration file, determining that the target page does not comprise the target interaction control.
Optionally, the method further includes:
acquiring a first use frequency of an interactive control displayed in the target page within a first preset time of the target page display;
and adjusting the corresponding relation included in the configuration file according to the first using times.
Optionally, the adjusting the corresponding relationship included in the configuration file according to the first number of times of use includes:
acquiring a first interactive control with the first use times meeting a first preset condition and a second interactive control with the first use times not meeting the first preset condition in the target page;
under the condition that the corresponding relation between the target page and the first interactive control does not exist in the configuration file, establishing the corresponding relation between the target page and the first interactive control, and storing the corresponding relation in the configuration file;
and deleting the corresponding relation between the target page and the second interactive control in the configuration file under the condition that the corresponding relation between the target page and the second interactive control exists in the configuration file.
Optionally, the method further includes:
and under the condition of receiving the configuration file issued by the server, replacing the stored configuration file with the configuration file issued by the server.
Optionally, a target element is arranged on the target interaction control;
the controlling the display style of the target interaction control according to the equipment state comprises the following steps:
controlling a display style of the target element according to the equipment state;
the display style of the target element at least comprises one of a display position of the target element in a display area of the target interaction control, a display area of the target element in the display area of the target interaction control and display brightness of the target element.
Optionally, the method further includes:
receiving a display style parameter of the target element sent by a server;
the controlling the display style of the target element according to the device state comprises:
and controlling the display style of the target element according to the equipment state and the display style parameter.
Optionally, the target page is a content playing page, the target interaction control is a shooting control, the display style parameter indicates that the target element is a target graph with a preset shape set on the shooting control, and the device state includes a motion direction;
the controlling the display style of the target element according to the device state and the display style parameter includes:
and according to the movement direction of the target equipment, controlling the display position of the target graph to randomly change in the display area of the shooting control, or controlling the display position of the target graph to change along a target track, wherein the target track is preset in the display area of the shooting control.
Optionally, a gyroscope and a gravity sensor are arranged on the target device; the acquiring the device state of the target device includes:
and acquiring the equipment state of the target equipment through the gyroscope and the gravity sensor.
According to a second aspect of the embodiments of the present disclosure, there is provided a page display method applied to a server, the method including:
determining a target interaction control in a target page;
establishing a corresponding relation between the target page and the target interaction control, and storing the corresponding relation in a pre-established configuration file;
and sending the configuration file to target equipment for displaying the target page, so that the target equipment can identify whether the target page comprises a target interaction control according to the configuration file.
Optionally, at least one interactive control in the target page is displayed in the configuration page of the server;
the determining of the target interaction control in the target page includes:
receiving a selected operation on the at least one interactive control displayed in the configuration page;
and responding to the selected operation, and determining the interaction control targeted by the selected operation as the target interaction control.
Optionally, the method further includes:
acquiring a second use frequency of the interactive control displayed in the target page within a second preset time of the target device displaying the target page;
and adjusting the corresponding relation included in the configuration file according to the second using times.
Optionally, the adjusting, according to the second number of times of use, the corresponding relationship included in the configuration file includes:
acquiring a third interactive control with a second use frequency meeting a second preset condition and a fourth interactive control with the second use frequency not meeting the second preset condition in the target page;
under the condition that the corresponding relation between the target page and the third interactive control does not exist in the configuration file, establishing the corresponding relation between the target page and the third interactive control, and storing the corresponding relation in the configuration file;
and deleting the corresponding relation between the target page and the fourth interactive control in the configuration file under the condition that the corresponding relation between the target page and the fourth interactive control exists in the configuration file.
Optionally, a target element is arranged on the target interaction control; the method further comprises the following steps:
determining a display style parameter of the target element;
and sending the display style parameter of the target element to the target equipment.
Optionally, the determining the display style parameter of the target element includes:
receiving a parameter input operation on the target element;
and responding to the parameter input operation, and determining the parameter input by the parameter input operation as the display style parameter of the target element.
According to a third aspect of the embodiments of the present disclosure, there is provided a page display apparatus applied to a target device, where the target device is used to display a target page, including:
the control identification module is configured to receive a display triggering operation aiming at the target page and identify whether the target page comprises a target interaction control;
the state acquisition module is configured to acquire the device state of the target device under the condition that the target page is identified to comprise the target interaction control;
and the control module is configured to display the target page through the target equipment and control the display style of the target interaction control according to the equipment state, wherein the display styles of the target interaction control are different when the target equipment is in different states.
Optionally, the control identification module includes:
the searching sub-module is configured to search whether a target interaction control corresponding to the target page exists in a pre-stored configuration file, wherein the configuration file comprises a corresponding relation between the page and the interaction control;
the first determining sub-module is configured to determine that the target page comprises a target interaction control under the condition that the target interaction control corresponding to the target page exists in the configuration file;
a second determining sub-module, configured to determine that the target page does not include a target interaction control when the target interaction control corresponding to the target page does not exist in the configuration file.
Optionally, the apparatus further comprises:
the first time number obtaining module is configured to obtain a first using time number of the interaction control displayed in the target page within a first preset time of the target page being displayed;
and the first relation adjusting module is configured to adjust the corresponding relation included in the configuration file according to the first using times.
Optionally, the first relationship adjustment module is specifically configured to:
acquiring a first interactive control with the first use times meeting a first preset condition and a second interactive control with the first use times not meeting the first preset condition in the target page;
under the condition that the corresponding relation between the target page and the first interactive control does not exist in the configuration file, establishing the corresponding relation between the target page and the first interactive control, and storing the corresponding relation in the configuration file;
and deleting the corresponding relation between the target page and the second interactive control in the configuration file under the condition that the corresponding relation between the target page and the second interactive control exists in the configuration file.
Optionally, the apparatus further comprises:
and the updating module is configured to replace the stored configuration file with the configuration file issued by the server under the condition of receiving the configuration file issued by the server.
Optionally, a target element is arranged on the target interaction control; the control module includes:
an element control sub-module configured to control a display style of the target element according to the device state;
the display style of the target element at least comprises one of a display position of the target element in a display area of the target interaction control, a display area of the target element in the display area of the target interaction control and display brightness of the target element.
Optionally, the apparatus further comprises:
the second receiving module is configured to receive the display style parameter of the target element sent by the server;
the element control submodule includes:
an element control unit configured to control a display style of the target element according to the device state and the display style parameter.
Optionally, the target page is a content playing page, the target interaction control is a shooting control, the display style parameter indicates that the target element is a target graph with a preset shape set on the shooting control, and the device state includes a motion direction; the element control unit is specifically configured to:
and according to the movement direction of the target equipment, controlling the display position of the target graph to randomly change in the display area of the shooting control, or controlling the display position of the target graph to change along a target track, wherein the target track is preset in the display area of the shooting control.
Optionally, a gyroscope and a gravity sensor are arranged on the target device; the state acquisition module is specifically configured to:
and acquiring the equipment state of the target equipment through the gyroscope and the gravity sensor.
According to a fourth aspect of the embodiments of the present invention, there is provided a page display apparatus applied to a server, the apparatus including:
the control determining module is configured to determine a target interaction control in a target page;
the relation establishing module is configured to establish a corresponding relation between the target page and the target interaction control, and store the corresponding relation in a pre-established configuration file;
the first sending module is configured to send the configuration file to a target device for displaying the target page, so that the target device can identify whether the target page includes a target interaction control according to the configuration file.
Optionally, at least one interactive control in the target page is displayed in the configuration page of the server; the control determination module is specifically configured to:
receiving a selected operation on the at least one interactive control displayed in the configuration page;
and responding to the selected operation, and determining the interaction control targeted by the selected operation as the target interaction control.
Optionally, the apparatus further comprises:
the second use number obtaining module is configured to obtain a second use number of the interaction control displayed in the target page within a second preset time when the target device displays the target page;
and the second relation adjusting module is configured to adjust the corresponding relation included in the configuration file according to the second using times.
Optionally, the second relationship adjusting module is specifically configured to:
acquiring a third interactive control with a second use frequency meeting a second preset condition and a fourth interactive control with the second use frequency not meeting the second preset condition in the target page;
under the condition that the corresponding relation between the target page and the third interactive control does not exist in the configuration file, establishing the corresponding relation between the target page and the third interactive control, and storing the corresponding relation in the configuration file;
and deleting the corresponding relation between the target page and the fourth interactive control in the configuration file under the condition that the corresponding relation between the target page and the fourth interactive control exists in the configuration file.
Optionally, a target element is arranged on the target interaction control; the device further comprises:
a parameter determination module configured to determine a display style parameter of the target element;
a second transmitting module configured to transmit the display style parameter of the target element to the target device.
Optionally, the parameter determining module is specifically configured to:
receiving a parameter input operation on the target element;
and responding to the parameter input operation, and determining the parameter input by the parameter input operation as the display style parameter of the target element.
According to a fifth aspect of the embodiments of the present disclosure, there is provided a page display system, including a server and a target device for displaying a target page;
determining a target interaction control in the target page through the server;
establishing a corresponding relation between the target page and the target interaction control through the server, and storing the corresponding relation in a pre-established configuration file;
sending, by the server, the configuration file to the target device;
receiving a display triggering operation aiming at the target page through the target equipment, and identifying whether the target page comprises the target interaction control or not according to the configuration file;
under the condition that the target page is identified to comprise the target interaction control, acquiring the equipment state of the target equipment through the target equipment;
and displaying the target page through the target equipment, and controlling the display style of the target interaction control according to the equipment state, wherein the display style of the target interaction control is different when the target equipment is in different states.
According to a sixth aspect of embodiments of the present disclosure, there is provided an electronic apparatus including:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement any of the page display methods described above.
According to a seventh aspect of the embodiments of the present disclosure, there is provided a storage medium, wherein instructions of the storage medium, when executed by a processor of an electronic device, enable the electronic device to perform any one of the page display methods described above.
According to an eighth aspect of embodiments of the present disclosure, there is provided a computer program product containing instructions which, when run on a computer, cause the computer to implement the page display method of any one of the above.
The technical scheme provided by the embodiment of the disclosure can receive a display triggering operation for a target page, so as to identify whether the target page includes a target interaction control, and acquire the device state of the target device under the condition that the target page includes the target interaction control, so as to display the target page through the target device, and control the display style of the target interaction control according to the device state, wherein the display style of the target interaction control is different when the target device is in different states. Therefore, the technical scheme provided by the embodiment of the disclosure can control the display style of the target interaction control to follow the state change of the target device, so that the target interaction control has a more prominent display effect in the target page, the attention of the user can be quickly acquired when the target page is displayed, the user is triggered to operate the target interaction control more conveniently to realize the corresponding page function, and the interaction operation experience is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
FIG. 1 is a flow diagram illustrating a page display method in accordance with an exemplary embodiment;
FIG. 2 is a flow diagram illustrating another method of page display in accordance with an illustrative embodiment;
FIG. 3 is a display style diagram of an interaction control shown in accordance with an exemplary embodiment;
FIG. 4 is a block diagram illustrating a page display apparatus according to an exemplary embodiment;
FIG. 5 is a block diagram illustrating another page display apparatus according to an example embodiment;
FIG. 6 is a block diagram illustrating an electronic device in accordance with an exemplary embodiment;
FIG. 7 is a block diagram illustrating another electronic device in accordance with an example embodiment.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings 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 disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
In order to solve the problem that in the prior art, the display positions of some controls frequently used by users are not obvious, so that the users are difficult to find when using the controls, and therefore inconvenience is brought to the operation of the users, the embodiments of the present disclosure provide a page display method, apparatus, system, electronic device, and storage medium.
According to a first aspect of the embodiments of the present disclosure, there is provided a page display method applied to a target device, where the target device is used to display a target page, and as shown in fig. 1, the page display method may include the following steps:
step 101: receiving a display triggering operation aiming at the target page, and identifying whether the target page comprises a target interaction control.
In the embodiment of the disclosure, when the target device is switched to the target page, a target interactive control with a preset function in the interactive controls included in the target page may be automatically obtained. For example, if the target page is a shooting page of an application, the target interaction control may include a shooting control.
In addition, the target interaction control comprises at least one interaction control.
Step 102: and under the condition that the target page is identified to comprise the target interaction control, acquiring the equipment state of the target equipment.
The device state may include a movement speed, an acceleration, a movement direction, and the like of the target device.
Optionally, a gyroscope and a gravity sensor are arranged on the target device; the acquiring the device state of the target device includes:
and acquiring the equipment state of the target equipment through the gyroscope and the gravity sensor.
That is, the device state may be acquired by a gyroscope, a gravity sensor, or the like provided in the target device.
Step 103: and displaying the target page through the target equipment, and controlling the display style of the target interaction control according to the equipment state.
And when the target equipment is in different states, the display styles of the target interaction control are different.
As can be seen from the above, the page display method according to the embodiment of the present disclosure can receive a display trigger operation for a target page, so as to identify whether the target page includes a target interaction control, and acquire the device state of the target device when the target page includes the target interaction control, so as to display the target page through the target device, and control the display style of the target interaction control according to the device state, where the display styles of the target interaction control are different when the target device is in different states.
Therefore, the page display method of the embodiment of the disclosure can control the display style of the target interaction control to follow the state change of the target device, so that the target interaction control has a more prominent display effect in the target page, can quickly obtain the attention of the user when the target page is displayed, triggers the user to more conveniently operate the target interaction control to realize the corresponding page function, and improves the interaction operation experience.
Optionally, the identifying whether the target page includes the target interaction control includes:
searching whether a target interaction control corresponding to the target page exists in a pre-stored configuration file, wherein the configuration file comprises a corresponding relation between the page and the interaction control;
determining that the target page comprises a target interaction control under the condition that the target interaction control corresponding to the target page exists in the configuration file;
and under the condition that the target interaction control corresponding to the target page does not exist in the configuration file, determining that the target page does not comprise the target interaction control.
And the configuration file comprises the corresponding relation between the page and the interactive control. If a corresponding relationship exists between one page and one interactive control, the interactive control belongs to the target interactive control in the page, and the display style of the interactive control changes along with the state change of the target equipment.
Therefore, in the page display method provided by the embodiment of the disclosure, which controls are frequently used by the user or are important for the user in the interactive controls included in each page to be displayed by the target device can be predetermined, and the corresponding relationship between the interactive controls and the page to which the interactive controls belong is established and stored in the configuration file, so that when the target device displays a certain page, which interactive controls belong to the target interactive controls in the page to be displayed by the target device can be obtained directly by reading the configuration file.
Optionally, the method further includes:
acquiring a first use frequency of an interactive control displayed in the target page within a first preset time of the target page display;
and adjusting the corresponding relation included in the configuration file according to the first using times.
Therefore, in the embodiment of the disclosure, the corresponding relationship between the page in the configuration file and the interactive control can be adjusted according to the first use frequency of the interactive control displayed in the target page, so that the corresponding relationship in the configuration file is matched with the use frequency of the interactive control, and thus the interactive control with the display style following the state change of the target device is matched with the use frequency of the interactive control.
Optionally, adjusting the corresponding relationship included in the configuration file includes:
acquiring a first interactive control with the first use times meeting a first preset condition and a second interactive control with the first use times not meeting the first preset condition in the target page;
under the condition that the corresponding relation between the target page and the first interactive control does not exist in the configuration file, establishing the corresponding relation between the target page and the first interactive control, and storing the corresponding relation in the configuration file;
and deleting the corresponding relation between the target page and the second interactive control in the configuration file under the condition that the corresponding relation between the target page and the second interactive control exists in the configuration file.
The first preset condition may be that the first usage number is greater than or equal to a first threshold, or that the first usage number is less than a second threshold, or that a first usage frequency calculated according to the first usage number and the first preset time is greater than or equal to a third threshold, or that the first usage frequency is less than a fourth threshold.
Specifically, when the first preset condition is that the first usage number is greater than or equal to a first threshold, the interactive control whose first usage number is greater than or equal to the first threshold is the first interactive control satisfying the first preset condition, and the interactive control whose first usage number is less than the first threshold is the interactive control not satisfying the first preset condition.
And when the first preset condition is that the first use frequency calculated according to the first use frequency and the first preset time is greater than or equal to a third threshold, the interactive control with the first use frequency greater than or equal to the third threshold is the first interactive control meeting the first preset condition, and the interactive control with the first use frequency less than the third threshold is the interactive control not meeting the first preset condition.
The interactive controls are frequently used by the user, the corresponding relation between the interactive controls and the target page is added in the configuration file, when the target page is displayed again subsequently by the target device, the display styles of the interactive controls can be controlled to change along with the state of the target device, and the interactive controls have a more prominent display effect in the target page.
In addition, the interactive controls with the first use times smaller than the first threshold value and the interactive controls with the first use frequency smaller than the third threshold value, which are calculated according to the first use times and the first preset time, are deleted from the corresponding relationship between the interactive controls and the target page existing in the configuration file for the interactive controls which are not frequently used by the user, so that when the target page is displayed again in the following process by the target device, the display styles of the interactive controls can not change along with the state of the target device, further, the display of the interactive controls can be prevented from influencing the positioning of other interactive controls by the user, and the operation of the user is further facilitated.
In addition, when the first preset condition is that the first usage number is smaller than the second threshold, the interactive control with the first usage number smaller than the second threshold is the first interactive control meeting the first preset condition, and the interactive control with the first usage number greater than or equal to the second threshold is the interactive control not meeting the first preset condition.
When the first preset condition is that the first use frequency calculated according to the first use frequency and the first preset time is smaller than a fourth threshold, the interactive control with the first use frequency smaller than the fourth threshold is the first interactive control meeting the first preset condition, and the interactive control with the first use frequency greater than or equal to the fourth threshold is the interactive control not meeting the first preset condition.
The interactive controls with the first use frequency smaller than the second threshold value and the interactive controls with the first use frequency smaller than the fourth threshold value, which are obtained by calculation according to the first use frequency and the first preset time, are the interactive controls which are not frequently used by the user but may belong to important interactive controls, and the corresponding relations between the interactive controls and the target page are added in the configuration file, so that when the target page is displayed again in the following process by the target device, the display styles of the interactive controls can be controlled to change along with the state of the target device, and the interactive controls have a more prominent display effect in the target page, so as to guide the user to use the important interactive controls.
In addition, the interactive control with the first use frequency being greater than or equal to the second threshold value and the interactive control with the first use frequency being greater than or equal to the fourth threshold value, which is obtained by calculating according to the first use frequency and the first preset time, are the interactive controls frequently used by the user. For the interactive controls frequently used by the user, the user can generally and quickly locate the positions of the interactive controls, and the user does not need to be guided to locate the positions of the interactive controls. Therefore, the corresponding relation between the interactive controls and the target page existing in the configuration file is deleted, so that when the target page is displayed again in the following process of the target equipment, the display styles of the interactive controls can not change along with the state of the target equipment, the display of the interactive controls can be prevented from influencing the positioning of other interactive controls by a user, and the operation of the user is further facilitated.
Optionally, the method further includes:
and under the condition of receiving the configuration file issued by the server, replacing the stored configuration file with the configuration file issued by the server.
Therefore, in the embodiment of the disclosure, a new configuration file may be issued to the target device through the server to replace the configuration file already stored in the target device.
Optionally, after the interactive control corresponding to the target page is obtained according to the pre-stored configuration file, the method further includes:
receiving a first preset operation;
responding to the first preset operation, and displaying the corresponding relation stored in the configuration file;
receiving a second preset operation;
and responding to the second preset operation, and adding the corresponding relation between the page and the control in the configuration file or deleting the existing corresponding relation in the configuration file.
The first preset operation may be a preset pressing operation on the target device, or a sliding operation on a touch screen of the target device; the second preset operation may be a click operation on a corresponding relationship in the displayed configuration file, or an information input operation in the target device.
Therefore, in the embodiment of the disclosure, the corresponding relationship stored in the configuration file can be displayed, and the configuration file can be modified by the user, so that the configuration file can be more matched with the use requirement of the user.
Optionally, a target element is arranged on the target interaction control;
the controlling the display style of the target interaction control according to the equipment state comprises the following steps:
controlling a display style of the target element according to the equipment state;
the display style of the target element at least comprises one of a display position of the target element in a display area of the target interaction control, a display area of the target element in the display area of the target interaction control and display brightness of the target element.
Therefore, in the embodiment of the disclosure, according to the device state of the target device, the display position of the target element in the display area can be controlled to be changed, that is, the target element is controlled to move in the display area of the target interaction control, that is, the target element is made to move along with the state of the target device. The dynamically displayed object can attract the attention of the user, so that the target element is controlled to move along with the state of the target equipment, the target interaction control has a more prominent display effect in a target page, the user is attracted more, and the user can position the target interaction control where the target element is located more conveniently.
Wherein the device state of the target device may include at least one of a motion speed, an acceleration, and a motion direction. Then, the target element may be controlled to move within the display area of the target interaction control according to at least one of a moving speed, an acceleration, and a moving direction of the target device.
For example, when the movement speed of the target device is increased, the movement speed of the target element in the display area of the target interaction control is increased, and when the movement speed of the target device is decreased, the movement speed of the target element in the display area of the interaction control is decreased; or when the acceleration of the target equipment is increased, the movement speed of the target element in the display area of the target interaction control is increased, and when the acceleration of the target equipment is decreased, the movement speed of the target element in the display area of the interaction control is decreased; or when the target device moves towards a first preset direction, increasing the movement speed of the target element in the display area of the target interaction control, and when the target device moves towards a second preset direction, reducing the movement speed of the target element in the display area of the interaction control; or when the target device moves towards the first preset direction, the target element is controlled to circularly move clockwise in the display area of the target interaction control, and when the target device moves towards the second preset direction, the target element is controlled to circularly move anticlockwise in the display area of the target interaction control.
In addition, the target element may be a figure having a predetermined shape, such as a dot, a triangle.
In addition, in the embodiment of the disclosure, the display area of the target element in the display area of the target interaction control may also be changed according to the device state of the target device, for example, the display area of the target element is controlled to be enlarged or reduced in the display area of the interaction control, that is, the display area of the target element is enlarged or reduced along with the state change of the target device. The dynamically displayed object can attract the attention of the user, so that the display area of the target element is controlled to be enlarged or reduced along with the state change of the target device, the target interaction control has a more prominent display effect in a target page, the user is attracted, and the user can conveniently locate the target interaction control where the target element is located.
Wherein the device state of the target device may include at least one of a motion speed, an acceleration, and a motion direction. Then, the target element can be controlled to zoom in or out in the display area of the target interaction control according to at least one of the movement speed, the acceleration and the movement zoom direction of the target device.
For example, when the movement speed of the target device is increased, the display area of the target element is controlled to be enlarged in the display area of the target interaction control, and when the movement speed of the target device is decreased, the display area of the target element is controlled to be reduced in the display area of the interaction control; or when the acceleration of the target equipment is increased, controlling the display area of the target element to be enlarged in the display area of the target interaction control, and when the acceleration of the target equipment is reduced, controlling the display area of the target element to be reduced in the display area of the interaction control; or when the target device moves towards the first preset direction, the display area of the target element is controlled to be enlarged in the display area of the target interaction control, and when the target device moves towards the second preset direction, the display area of the target element is controlled to be reduced in the display area of the target interaction control.
In addition, the target element can be an aperture, and the aperture is enlarged and reduced, so that the display of the target interaction control is more obvious, and the target interaction control is further convenient for a user to position.
In addition, in the embodiment of the disclosure, the brightness of the target element may also be controlled to change according to the device state of the target device, that is, the brightness of the target element changes along with the state change of the target device. The object displayed dynamically can attract the attention of the user, so that the brightness of the control target element is changed along with the state of the target device, the target interaction control has a more prominent display effect in a target page, the user is attracted more, and the user can position the target interaction control more conveniently.
Wherein the device state of the target device may include at least one of a motion speed, an acceleration, and a motion direction. Then, the brightness of the target element may be controlled to be varied according to at least one of a moving speed, an acceleration, and a moving direction of the target device.
For example, when the movement speed of the target device increases, the brightness of the target element is increased, and when the movement speed of the target device decreases, the brightness of the target element is decreased; or when the acceleration of the target device is increased, the brightness of the target element is increased, and when the acceleration of the target device is decreased, the brightness of the target element is decreased; or when the target device moves towards the first preset direction, the brightness of the target element is increased, and when the target device moves towards the second preset direction, the brightness of the target element is decreased.
It should be noted that, in the prior art, in order to facilitate the user to find the interactive control, it is generally required to design the interactive control with certain functions to have a large area. However, the display area of the page is limited, the layout of other controls may be affected by setting the area of a single control to be large, and there may be more than one interactive control with important function on the same page, so that the display of other controls on the same application interface with the interactive control with some important function or specific function in the application interface may be affected by simply setting the area of the interactive control with certain important function or specific function in the application interface to be large.
In the embodiment of the disclosure, the target element set on the target interaction control is controlled to move in the display area of the target interaction control along with the state change of the target device; or controlling a target element arranged on the target interaction control to be amplified or reduced in a display area of the target interaction control along with the state change of the target equipment; or, the brightness of the target element is controlled, and the target interaction control can be conveniently positioned by the user on the premise of not influencing the display of other interaction controls except the target interaction control on the target page along with the state change of the target device.
In addition, the adjusting the display style of the target interaction control according to the device state may further include: and adjusting the animation special effect of the background image of the target interaction control according to the equipment state.
Optionally, receiving a display style parameter of the target element sent by a server; the controlling the display style of the target element according to the device state comprises: and controlling the display style of the target element according to the equipment state and the display style parameter.
The display style parameter may include a color parameter and a shape parameter of the target element.
Therefore, in the embodiment of the present disclosure, the server may further send the display style parameter of the target element to the target device, so that the target device controls the display style of the target element according to the display style parameter sent by the server and the device state of the target device.
Optionally, the target page is a content playing page, the target interaction control is a shooting control, the display style parameter indicates that the target element is a target graph with a preset shape set on the shooting control, and the device state includes a motion direction;
the controlling the display style of the target element according to the device state and the display style parameter includes:
and according to the movement direction of the target equipment, controlling the display position of the target graph to randomly change in the display area of the shooting control, or controlling the display position of the target graph to change along a target track, wherein the target track is preset in the display area of the shooting control.
Therefore, when the target device displays the content playing page, the target graph on the shooting control in the content playing page can be controlled according to the motion direction of the target device, and the target graph can be randomly changed in the display area of the shooting control, or the display position of the target graph can be controlled to change along the target track, so that the user can be guided to find the shooting control more quickly, and the use is further promoted.
In summary, the specific application of the page display method according to the embodiment of the present invention is as follows:
as shown in fig. 3, the user opens a certain application program of the target device and enters a home page, and a shooting control is displayed at the lowest position in the middle of the home page. The shooting control comprises a first circle 301, a second circle 302 and a third circle 303, wherein the radius of the first circle 301 is larger than that of the second circle 302, the radius of the second circle 302 is larger than that of the third circle 303, the display positions of the first circle 301 and the second circle 302 are unchanged, and the default initial position of the third circle 303 is located at the upper right corner of the first circle area. For example, if the gyroscope disposed in the target device is vertical, the third circle 303 may follow the target device to shake left and right when the user shakes the target device.
Wherein, the movement form of the third circle 303 following the target device can be one of the following two forms
The first method comprises the following steps: the third circle 303 randomly shifts positions within the area of the first circle 301;
and the second method comprises the following steps: the third circle 303 moves around the boundary of the second circle 302.
In addition, the user often habitually clicks the dynamically changing control, and when the photographing control moves along with the gyroscope, the clicking probability of the user is increased, so that photographing is promoted.
In summary, the page display method provided by the embodiment of the present disclosure may configure different interactive controls in different pages as interactive controls having a preset function, that is, configure different interactive controls in different pages to follow the device state of the target device, and change the display style; and aiming at the interaction control with the preset function in one configured page, the display style can be adjusted according to the using state of the equipment, so that a user can be guided to find the control more quickly, the use is promoted, and the interaction guide effect is provided.
According to a second aspect of the embodiments of the present disclosure, there is provided a page display method applied to a server, as shown in fig. 2, the page display method including the steps of:
step 201: and determining a target interaction control in the target page.
In the embodiment of the disclosure, when the target device is switched to the target page, a target interactive control with a preset function in the interactive controls included in the target page may be automatically obtained. For example, if the target page is a shooting page of an application, the target interaction control may include a shooting control.
In addition, the target interaction control comprises at least one interaction control.
Step 202: and establishing a corresponding relation between the target page and the target interaction control, and storing the corresponding relation in a pre-established configuration file.
The configuration file comprises the corresponding relation between the page and the interactive control. If a corresponding relationship exists between one page and one interactive control, the interactive control belongs to the target interactive control in the page, and the display style of the interactive control changes along with the state change of the target equipment.
Therefore, in the embodiment of the disclosure, which controls are frequently used by a user or are important for the user in the interactive controls included in each page to be displayed by the target device may be predetermined, and the correspondence between the interactive controls and the pages to which the interactive controls belong is established and stored in the configuration file, so that when a certain page is displayed by the target device, which interactive controls belong to the target interactive controls in the page to be displayed by the target device may be obtained directly by reading the configuration file.
Step 203: and sending the configuration file to target equipment for displaying the target page, so that the target equipment can identify whether the target page comprises a target interaction control according to the configuration file.
The target device receives the configuration file and stores the configuration file, so that when display triggering operation aiming at the target page is received, whether the target page comprises the target interaction control or not can be identified according to the configuration file, the device state of the target device is obtained under the condition that the target page comprises the target interaction control, the target page is displayed through the target device, the display style of the target interaction control is controlled according to the device state, and the display style of the target interaction control is different when the target device is in different states.
Therefore, the display style of the target interaction control can be controlled to follow the state change of the target device, so that the target interaction control has a more prominent display effect in the target page, the attention of a user can be quickly acquired when the target page is displayed, the user is triggered to operate the target interaction control more conveniently to realize the corresponding page function, and the interaction operation experience is improved.
Optionally, at least one interactive control in the target page is displayed in the configuration page of the server;
the determining of the target interaction control in the target page includes:
receiving a selected operation on the at least one interactive control displayed in the configuration page;
and responding to the selected operation, and determining the interaction control targeted by the selected operation as the target interaction control.
Therefore, in the embodiment of the disclosure, at least one interaction control in the target page may be displayed in the configuration interface of the server, and the user may select at least one interaction control from the interaction controls displayed in the configuration interface as the target interaction control of the target page.
Optionally, the method further includes:
acquiring a second use frequency of the interactive control displayed in the target page within a second preset time of the target device displaying the target page;
and adjusting the corresponding relation included in the configuration file according to the second using times.
Therefore, in the embodiment of the disclosure, the corresponding relationship between the page in the configuration file and the interactive control can be adjusted according to the second use frequency of the interactive control displayed in the target page, so that the corresponding relationship in the configuration file is matched with the use frequency of the interactive control, and thus the interactive control with the display style following the state change of the target device is matched with the use frequency of the interactive control.
Optionally, the adjusting, according to the second number of times of use, the corresponding relationship included in the configuration file includes:
acquiring a third interactive control with a second use frequency meeting a second preset condition and a fourth interactive control with the second use frequency not meeting the second preset condition in the target page;
under the condition that the corresponding relation between the target page and the third interactive control does not exist in the configuration file, establishing the corresponding relation between the target page and the third interactive control, and storing the corresponding relation in the configuration file;
and deleting the corresponding relation between the target page and the fourth interactive control in the configuration file under the condition that the corresponding relation between the target page and the fourth interactive control exists in the configuration file.
The second preset condition may be that the second usage number is greater than or equal to a fifth threshold, the second usage number is smaller than a sixth threshold, the second usage frequency calculated according to the second usage number and the second preset time is greater than or equal to a seventh threshold, or the second usage frequency is smaller than an eighth threshold.
Specifically, when the second preset condition is that the second usage number is greater than or equal to a fifth threshold, the interactive control whose second usage number is greater than or equal to the fifth threshold is the third interactive control that satisfies the second preset condition, and the interactive control whose second usage number is less than the fifth threshold is the interactive control that does not satisfy the second preset condition.
And when the second preset condition is that the second use frequency calculated according to the second use frequency and the second preset time is greater than or equal to a seventh threshold, the interactive control with the second use frequency greater than or equal to the seventh threshold is the third interactive control meeting the second preset condition, and the interactive control with the second use frequency less than the seventh threshold is the interactive control not meeting the second preset condition.
The interactive controls with the second use frequency being greater than or equal to the fifth threshold and the interactive controls with the second use frequency being greater than or equal to the seventh threshold are obtained by calculation according to the second use frequency and the second preset time, and the corresponding relations between the interactive controls and the target page are added to the configuration file, so that when the target page is displayed again in the following process of the target device, the display styles of the interactive controls can be controlled to change along with the state of the target device, and the interactive controls have a more prominent display effect in the target page.
In addition, the interactive controls with the second use frequency smaller than the fifth threshold value and the interactive controls with the second use frequency smaller than the seventh threshold value, which are calculated according to the second use frequency and the second preset time, are configured, so that the corresponding relations between the interactive controls and the target page existing in the configuration file are deleted for the interactive controls which are not frequently used by the user, and when the target page is displayed by the target device again in the following process, the display styles of the interactive controls cannot change along with the state of the target device, further, the display of the interactive controls can be prevented from influencing the positioning of other interactive controls by the user, and the operation of the user is further facilitated.
In addition, when the second preset condition is that the second usage number of times is smaller than a sixth threshold, the interactive control whose second usage number of times is smaller than the sixth threshold is the third interactive control that satisfies the second preset condition, and the interactive control whose second usage number of times is greater than or equal to the sixth threshold is the interactive control that does not satisfy the second preset condition.
And when the second preset condition is that the second use frequency calculated according to the second use frequency and the second preset time is smaller than an eighth threshold, the interactive control with the second use frequency smaller than the eighth threshold is the third interactive control meeting the second preset condition, and the interactive control with the second use frequency greater than or equal to the eighth threshold is the interactive control not meeting the second preset condition.
The interactive controls with the second use frequency smaller than the sixth threshold value and the interactive controls with the second use frequency smaller than the eighth threshold value, which are obtained by calculation according to the second use frequency and the second preset time, are the interactive controls which are not frequently used by the user but may belong to important interactive controls, and the corresponding relations between the interactive controls and the target page are added in the configuration file, so that when the target page is displayed again subsequently by the target device, the display styles of the interactive controls can be controlled to change along with the state of the target device, and therefore the interactive controls have a more prominent display effect in the target page, and the user can be conveniently positioned to guide the user to use the important interactive controls.
In addition, the interactive control with the second use frequency being greater than or equal to the sixth threshold value and the interactive control with the second use frequency being greater than or equal to the eighth threshold value, which is obtained by calculating according to the second use frequency and the second preset time, are the interactive controls frequently used by the user. For the interactive controls frequently used by the user, the user can generally and quickly locate the positions of the interactive controls, and the user does not need to be guided to locate the positions of the interactive controls. Therefore, the corresponding relation between the interactive controls and the target page existing in the configuration file is deleted, so that when the target page is displayed again in the following process of the target equipment, the display styles of the interactive controls can not change along with the state of the target equipment, the display of the interactive controls can be prevented from influencing the positioning of other interactive controls by a user, and the operation of the user is further facilitated.
Optionally, a target element is arranged on the target interaction control; the method further comprises the following steps:
determining a display style parameter of the target element;
and sending the display style parameter of the target element to the target equipment.
The display style parameter may include a color parameter and a shape parameter of the target element.
Therefore, in the embodiment of the present disclosure, the server may further send the display style parameter of the target element to the target device, so that the target device controls the display style of the target element according to the display style parameter sent by the server and the device state of the target device.
Optionally, the determining the display style parameter of the target element includes:
receiving a parameter input operation on the target element;
and responding to the parameter input operation, and determining the parameter input by the parameter input operation as the display style parameter of the target element.
Therefore, in the embodiment of the disclosure, the user may set the specific display style parameter of the target element on the server side, so that the target device may display according to the display style parameter when displaying the target element.
According to a third aspect of the embodiments of the present disclosure, there is provided a page display apparatus, applied to a target device, where the target device is used to display a target page, and as shown in fig. 4, the page display apparatus 40 includes:
a control identification module 401 configured to receive a display trigger operation for the target page, and identify whether the target page includes a target interaction control;
a state obtaining module 402, configured to obtain a device state of the target device if it is identified that the target page includes the target interaction control;
a control module 403, configured to display the target page through the target device, and control a display style of the target interaction control according to the device state, where the display style of the target interaction control is different when the target device is in different states.
Optionally, the control identifying module 401 includes:
the searching sub-module 4011 is configured to search whether a target interaction control corresponding to the target page exists in a pre-stored configuration file, where the configuration file includes a correspondence between the page and the interaction control;
the first determining sub-module 4012 is configured to determine that the target page includes a target interaction control when the target interaction control corresponding to the target page exists in the configuration file;
the second determining sub-module 4013 is configured to determine that the target page does not include the target interaction control when the target interaction control corresponding to the target page does not exist in the configuration file.
Optionally, the apparatus further comprises:
a first time obtaining module 404, configured to obtain a first number of times of using the interaction control displayed in the target page within a first preset time of displaying the target page;
a first relation adjusting module 405 configured to adjust the corresponding relation included in the configuration file according to the first number of times of use.
Optionally, the first relationship adjusting module 405 is specifically configured to:
acquiring a first interactive control with the first use times meeting a first preset condition and a second interactive control with the first use times not meeting the first preset condition in the target page;
under the condition that the corresponding relation between the target page and the first interactive control does not exist in the configuration file, establishing the corresponding relation between the target page and the first interactive control, and storing the corresponding relation in the configuration file;
and deleting the corresponding relation between the target page and the second interactive control in the configuration file under the condition that the corresponding relation between the target page and the second interactive control exists in the configuration file.
Optionally, the apparatus further comprises:
the updating module 406 is configured to replace the stored configuration file with the configuration file delivered by the server, when receiving the configuration file delivered by the server.
Optionally, a target element is arranged on the target interaction control; the control module 403 includes:
an element control sub-module 4031 configured to control a display style of the target element according to the device status;
the display style of the target element at least comprises one of a display position of the target element in a display area of the target interaction control, a display area of the target element in the display area of the target interaction control and display brightness of the target element.
Optionally, the apparatus further comprises:
a second receiving module 407, configured to receive the display style parameter of the target element sent by the server;
the element control sub-module 4031 includes:
an element control unit 40311 configured to control a display style of the target element according to the device state and the display style parameter.
Optionally, the target page is a content playing page, the target interaction control is a shooting control, the display style parameter indicates that the target element is a target graph with a preset shape set on the shooting control, and the device state includes a motion direction; the element control unit 40311 is specifically configured to:
and according to the movement direction of the target equipment, controlling the display position of the target graph to randomly change in the display area of the shooting control, or controlling the display position of the target graph to change along a target track, wherein the target track is preset in the display area of the shooting control.
Optionally, a gyroscope and a gravity sensor are arranged on the target device; the state acquisition module 402 is specifically configured to:
and acquiring the equipment state of the target equipment through the gyroscope and the gravity sensor.
As can be seen from the above, the page display apparatus according to the embodiment of the present disclosure can receive a display trigger operation for a target page, so as to identify whether the target page includes a target interaction control, and acquire the device state of the target device when the target page includes the target interaction control, so as to display the target page through the target device, and control the display style of the target interaction control according to the device state, where the display style of the target interaction control is different when the target device is in different states.
Therefore, the page display device of the embodiment of the disclosure can control the display style of the target interaction control to follow the state change of the target device, so that the target interaction control has a more prominent display effect in the target page, the user attention can be quickly acquired when the target page is displayed, the user is triggered to operate the target interaction control more conveniently to realize the corresponding page function, and the interaction operation experience is improved.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a page display apparatus applied to a server, as shown in fig. 5, the page display apparatus 50 includes:
a control determining module 501 configured to determine a target interaction control in a target page;
a relationship establishing module 502 configured to establish a corresponding relationship between the target page and the target interaction control, and store the corresponding relationship in a pre-established configuration file;
a first sending module 503, configured to send the configuration file to a target device for displaying the target page, so that the target device identifies, according to the configuration file, whether the target page includes a target interaction control.
Optionally, at least one interactive control in the target page is displayed in the configuration page of the server; the control determination module 501 is specifically configured to:
receiving a selected operation on the at least one interactive control displayed in the configuration page;
and responding to the selected operation, and determining the interaction control targeted by the selected operation as the target interaction control.
Optionally, the apparatus further comprises:
a second number-of-times obtaining module 504, configured to obtain a second number of times of using the interaction control displayed in the target page within a second preset time in which the target device displays the target page;
a second relation adjusting module 505, configured to adjust the corresponding relation included in the configuration file according to the second number of times of use.
Optionally, the second relationship adjusting module 505 is specifically configured to:
acquiring a third interactive control with a second use frequency meeting a second preset condition and a fourth interactive control with the second use frequency not meeting the second preset condition in the target page;
under the condition that the corresponding relation between the target page and the third interactive control does not exist in the configuration file, establishing the corresponding relation between the target page and the third interactive control, and storing the corresponding relation in the configuration file;
and deleting the corresponding relation between the target page and the fourth interactive control in the configuration file under the condition that the corresponding relation between the target page and the fourth interactive control exists in the configuration file.
Optionally, a target element is arranged on the target interaction control; the device further comprises:
a parameter determination module 506 configured to determine a display style parameter of the target element;
a second sending module 507 configured to send the display style parameter of the target element to the target device.
Optionally, the parameter determining module 506 is specifically configured to:
receiving a parameter input operation on the target element;
and responding to the parameter input operation, and determining the parameter input by the parameter input operation as the display style parameter of the target element.
As can be seen from the above, the embodiment of the present disclosure can determine the target interaction control in the target page, so as to establish the corresponding relationship between the target page and the target interaction control, and store the corresponding relationship in the configuration file, so that the server sends the configuration file to the target device. The target device receives the configuration file and stores the configuration file, so that when display triggering operation aiming at the target page is received, whether the target page comprises the target interaction control or not can be identified according to the configuration file, the device state of the target device is obtained under the condition that the target page comprises the target interaction control, the target page is displayed through the target device, the display style of the target interaction control is controlled according to the device state, and the display style of the target interaction control is different when the target device is in different states.
Therefore, the display style of the target interaction control can be controlled to follow the state change of the target device, so that the target interaction control has a more prominent display effect in the target page, the attention of a user can be quickly acquired when the target page is displayed, the user is triggered to operate the target interaction control more conveniently to realize the corresponding page function, and the interaction operation experience is improved.
According to a fifth aspect of the embodiments of the present disclosure, there is provided a page display system, including a server and a target device for displaying a target page;
determining a target interaction control in the target page through the server;
establishing a corresponding relation between the target page and the target interaction control through the server, and storing the corresponding relation in a pre-established configuration file;
sending, by the server, the configuration file to the target device;
receiving a display triggering operation aiming at the target page through the target equipment, and identifying whether the target page comprises the target interaction control or not according to the configuration file;
under the condition that the target page is identified to comprise the target interaction control, acquiring the equipment state of the target equipment through the target equipment;
and displaying the target page through the target equipment, and controlling the display style of the target interaction control according to the equipment state, wherein the display style of the target interaction control is different when the target equipment is in different states.
According to a sixth aspect of embodiments of the present disclosure, there is provided an electronic device. Referring to fig. 6, the electronic device includes:
a processor 610;
a memory 620 for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement any of the page display methods described above.
According to a seventh aspect of the embodiments of the present disclosure, there is also provided an electronic device. As shown in fig. 7, the electronic device 700 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, or the like.
Referring to fig. 7, electronic device 700 may include one or more of the following components: a processing component 702, a memory 704, a power component 706, a multimedia component 708, an audio component 710, an input/output (I/O) interface 712, a sensor component 714, and a communication component 716.
The processing component 702 generally controls overall operation of the electronic device 700, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 702 may include one or more processors 720 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 702 may include one or more modules that facilitate interaction between the processing component 702 and other components. For example, the processing component 702 may include a multimedia module to facilitate interaction between the multimedia component 708 and the processing component 702.
The memory 704 is configured to store various types of data to support operations at the electronic device 700. Examples of such data include instructions for any application or method operating on the electronic device 700, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 704 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 706 provides power to the various components of the electronic device 700. The power components 77 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the electronic device 700.
The multimedia component 708 includes a screen that provides an output interface between the electronic device 700 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 708 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the electronic device 700 is in an operation mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 710 is configured to output and/or input audio signals. For example, the audio component 710 includes a Microphone (MIC) configured to receive external audio signals when the electronic device 700 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 704 or transmitted via the communication component 716. In some embodiments, audio component 710 also includes a speaker for outputting audio signals.
The I/O interface 712 provides an interface between the processing component 702 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 714 includes one or more sensors for providing various aspects of status assessment for the electronic device 700. For example, the sensor assembly 714 may detect an open/closed state of the electronic device 700, the relative positioning of components, such as a display and keypad of the electronic device 700, the sensor assembly 714 may also detect a change in the position of the electronic device 700 or a component of the electronic device 700, the presence or absence of user contact with the electronic device 700, orientation or acceleration/deceleration of the electronic device 700, and a change in the temperature of the electronic device 700. The sensor assembly 714 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 714 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 714 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 716 is configured to facilitate wired or wireless communication between the electronic device 700 and other devices. The electronic device 700 may access a wireless network based on a communication standard, such as WiFi, a carrier network (such as 2G, 3G, 8G, or 5G), or a combination thereof. In an exemplary embodiment, the communication component 716 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 716 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the electronic device 700 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the page display methods described above.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 704 comprising instructions, executable by the processor 720 of the electronic device 700 to perform the above-described method is also provided. Alternatively, for example, the storage medium may be a non-transitory computer-readable storage medium, which may be, for example, a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
According to an eighth aspect implemented by the present disclosure, there is also provided a storage medium, where instructions executed by a processor of an electronic device enable the electronic device to perform any one of the page display methods described above.
According to a ninth aspect of embodiments of the present disclosure, there is provided a computer program product containing instructions which, when run on a computer, cause the computer to implement the page display method of any one of the above.
The page switching scheme provided herein is not inherently related to any particular computer, virtual system, or other apparatus. Various general purpose systems may also be used with the teachings herein. The structure required to construct a system incorporating aspects of the present invention will be apparent from the description above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components in an information extraction scheme according to embodiments of the present disclosure. The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
Claims (10)
1. A page display method is applied to target equipment, and the target equipment is used for displaying a target page, and is characterized by comprising the following steps:
receiving a display triggering operation aiming at the target page, and identifying whether the target page comprises a target interaction control;
under the condition that the target page is identified to comprise the target interaction control, acquiring the equipment state of the target equipment;
and displaying the target page through the target equipment, and controlling the display style of the target interaction control according to the equipment state, wherein the display style of the target interaction control is different when the target equipment is in different states.
2. The page display method of claim 1, wherein the identifying whether the target page includes a target interaction control comprises:
searching whether a target interaction control corresponding to the target page exists in a pre-stored configuration file, wherein the configuration file comprises a corresponding relation between the page and the interaction control;
determining that the target page comprises a target interaction control under the condition that the target interaction control corresponding to the target page exists in the configuration file;
and under the condition that the target interaction control corresponding to the target page does not exist in the configuration file, determining that the target page does not comprise the target interaction control.
3. The page display method according to claim 2, characterized in that the method further comprises:
acquiring a first use frequency of an interactive control displayed in the target page within a first preset time of the target page display;
and adjusting the corresponding relation included in the configuration file according to the first using times.
4. The page display method according to claim 3, wherein the adjusting the correspondence included in the configuration file according to the first number of times of use includes:
acquiring a first interactive control with the first use times meeting a first preset condition and a second interactive control with the first use times not meeting the first preset condition in the target page;
under the condition that the corresponding relation between the target page and the first interactive control does not exist in the configuration file, establishing the corresponding relation between the target page and the first interactive control, and storing the corresponding relation in the configuration file;
and deleting the corresponding relation between the target page and the second interactive control in the configuration file under the condition that the corresponding relation between the target page and the second interactive control exists in the configuration file.
5. A page display method is applied to a server, and is characterized by comprising the following steps:
determining a target interaction control in a target page;
establishing a corresponding relation between the target page and the target interaction control, and storing the corresponding relation in a pre-established configuration file;
and sending the configuration file to target equipment for displaying the target page, so that the target equipment can identify whether the target page comprises a target interaction control according to the configuration file.
6. A page display device is applied to a target device, wherein the target device is used for displaying a target page, and the device comprises:
the control identification module is configured to receive a display triggering operation aiming at the target page and identify whether the target page comprises a target interaction control;
the state acquisition module is configured to acquire the device state of the target device under the condition that the target page is identified to comprise the target interaction control;
and the control module is configured to display the target page through the target equipment and control the display style of the target interaction control according to the equipment state, wherein the display styles of the target interaction control are different when the target equipment is in different states.
7. A page display device applied to a server is characterized by comprising:
the control determining module is configured to determine a target interaction control in a target page;
the relation establishing module is configured to establish a corresponding relation between the target page and the target interaction control, and store the corresponding relation in a pre-established configuration file;
the first sending module is configured to send the configuration file to a target device for displaying the target page, so that the target device can identify whether the target page includes a target interaction control according to the configuration file.
8. The page display system is characterized by comprising a server and target equipment for displaying a target page;
determining a target interaction control in the target page through the server;
establishing a corresponding relation between the target page and the target interaction control through the server, and storing the corresponding relation in a pre-established configuration file;
sending, by the server, the configuration file to the target device;
receiving a display triggering operation aiming at the target page through the target equipment, and identifying whether the target page comprises the target interaction control or not according to the configuration file;
under the condition that the target page is identified to comprise the target interaction control, acquiring the equipment state of the target equipment through the target equipment;
and displaying the target page through the target equipment, and controlling the display style of the target interaction control according to the equipment state, wherein the display style of the target interaction control is different when the target equipment is in different states.
9. An electronic device, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the page display method of any one of claims 1 to 4 or to implement the page display method of claim 5.
10. A storage medium, characterized in that instructions in the storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the page display method of any one of claims 1 to 4 or to implement the page display method of claim 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010890191.9A CN112130719B (en) | 2020-08-28 | 2020-08-28 | Page display method, device and system, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010890191.9A CN112130719B (en) | 2020-08-28 | 2020-08-28 | Page display method, device and system, electronic equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112130719A true CN112130719A (en) | 2020-12-25 |
CN112130719B CN112130719B (en) | 2022-06-10 |
Family
ID=73848362
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010890191.9A Active CN112130719B (en) | 2020-08-28 | 2020-08-28 | Page display method, device and system, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112130719B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112966201A (en) * | 2021-03-05 | 2021-06-15 | 北京百度网讯科技有限公司 | Object processing method, device, electronic equipment and storage medium |
CN114461106A (en) * | 2021-07-02 | 2022-05-10 | 北京字跳网络技术有限公司 | Display method and device and electronic equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101604224A (en) * | 2009-07-08 | 2009-12-16 | 宇龙计算机通信科技(深圳)有限公司 | A kind of icon display packing, system and portable terminal of application program |
US20100240402A1 (en) * | 2009-03-23 | 2010-09-23 | Marianna Wickman | Secondary status display for mobile device |
CN106155474A (en) * | 2016-06-15 | 2016-11-23 | 广州神马移动信息科技有限公司 | The method and device of display view control dynamic effect |
CN108073340A (en) * | 2017-12-18 | 2018-05-25 | 努比亚技术有限公司 | icon display method, mobile terminal and computer readable storage medium |
CN109117039A (en) * | 2018-07-19 | 2019-01-01 | 珠海格力电器股份有限公司 | Display method and terminal equipment |
-
2020
- 2020-08-28 CN CN202010890191.9A patent/CN112130719B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100240402A1 (en) * | 2009-03-23 | 2010-09-23 | Marianna Wickman | Secondary status display for mobile device |
CN101604224A (en) * | 2009-07-08 | 2009-12-16 | 宇龙计算机通信科技(深圳)有限公司 | A kind of icon display packing, system and portable terminal of application program |
CN106155474A (en) * | 2016-06-15 | 2016-11-23 | 广州神马移动信息科技有限公司 | The method and device of display view control dynamic effect |
CN108073340A (en) * | 2017-12-18 | 2018-05-25 | 努比亚技术有限公司 | icon display method, mobile terminal and computer readable storage medium |
CN109117039A (en) * | 2018-07-19 | 2019-01-01 | 珠海格力电器股份有限公司 | Display method and terminal equipment |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112966201A (en) * | 2021-03-05 | 2021-06-15 | 北京百度网讯科技有限公司 | Object processing method, device, electronic equipment and storage medium |
CN112966201B (en) * | 2021-03-05 | 2023-07-21 | 北京百度网讯科技有限公司 | Object processing method, device, electronic equipment and storage medium |
CN114461106A (en) * | 2021-07-02 | 2022-05-10 | 北京字跳网络技术有限公司 | Display method and device and electronic equipment |
CN114461106B (en) * | 2021-07-02 | 2024-04-12 | 北京字跳网络技术有限公司 | Display method and device and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN112130719B (en) | 2022-06-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107908351B (en) | Application interface display method and device and storage medium | |
WO2020057327A1 (en) | Information list display method and apparatus, and storage medium | |
US10509540B2 (en) | Method and device for displaying a message | |
CN107608561B (en) | Touch screen control method and device | |
EP3316527A1 (en) | Method and device for managing notification messages | |
CN105204846A (en) | Method for displaying video picture in multi-user video, device and terminal equipment | |
CN107943347B (en) | Touch screen control method and device | |
CN109521918B (en) | Information sharing method and device, electronic equipment and storage medium | |
CN109451341B (en) | Video playing method, video playing device, electronic equipment and storage medium | |
CN105786507B (en) | Display interface switching method and device | |
CN106775202B (en) | Information transmission method and device | |
CN106354504B (en) | Message display method and device | |
CN110618783B (en) | Text broadcasting method, device and medium | |
CN112130719B (en) | Page display method, device and system, electronic equipment and storage medium | |
CN105955594B (en) | Interface display method and device | |
CN106095285B (en) | Operation execution method and device | |
CN108984098B (en) | Information display control method and device based on social software | |
CN109521938B (en) | Method and device for determining data evaluation information, electronic device and storage medium | |
CN114124866A (en) | Session processing method, device, electronic equipment and storage medium | |
CN105095296B (en) | File management method and device | |
CN107295167B (en) | Information display method and device | |
CN106940653B (en) | Method, apparatus and computer-readable storage medium for controlling application program | |
CN106919302B (en) | Operation control method and device of mobile terminal | |
CN113515251A (en) | Content processing method and device, electronic equipment and storage medium | |
CN106447747B (en) | Image processing method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |