CN114153357A - Interface logic execution method and device, electronic equipment and medium - Google Patents
Interface logic execution method and device, electronic equipment and medium Download PDFInfo
- Publication number
- CN114153357A CN114153357A CN202111350506.1A CN202111350506A CN114153357A CN 114153357 A CN114153357 A CN 114153357A CN 202111350506 A CN202111350506 A CN 202111350506A CN 114153357 A CN114153357 A CN 114153357A
- Authority
- CN
- China
- Prior art keywords
- interface
- operable
- historical
- display
- target
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 52
- 230000002452 interceptive effect Effects 0.000 claims description 47
- 238000012216 screening Methods 0.000 claims description 26
- 230000003993 interaction Effects 0.000 claims description 20
- 238000012545 processing Methods 0.000 claims description 20
- 230000000007 visual effect Effects 0.000 claims description 4
- 238000004590 computer program Methods 0.000 claims 2
- 230000000694 effects Effects 0.000 abstract description 8
- 230000001960 triggered effect Effects 0.000 abstract description 4
- 238000013461 design Methods 0.000 description 14
- 238000010586 diagram Methods 0.000 description 7
- 230000009471 action Effects 0.000 description 4
- 230000006399 behavior Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 3
- 238000009434 installation Methods 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000009191 jumping Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
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/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/21—Server components or server architectures
- H04N21/218—Source of audio or video content, e.g. local disk arrays
- H04N21/2187—Live feed
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)
- Databases & Information Systems (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the invention provides an interface logic execution method, an interface logic execution device, electronic equipment and a medium. If the number of the operable objects corresponding to the interface operation is multiple, the target operable object is screened out from the multiple operable objects according to the historical interface data, and the interface logic corresponding to the target operable object is triggered, so that the interface operation is executed, the problem of interface logic execution errors caused by misjudgment of the operable objects under the condition that the same interface operation corresponds to the multiple interface logics is solved, the interface effect which is intended by a user is realized, and the user experience is improved.
Description
The invention is a divisional application of Chinese patent application with application number 202011315279.4, entitled "interface logic execution method and device, electronic equipment and medium", filed on 20.11.2020.
Technical Field
The invention belongs to the technical field of internet, and particularly relates to an interface logic execution method and device, electronic equipment and a medium.
Background
Currently, live video is a popular live broadcast mode, and a user enters a live broadcast room through various terminal devices to watch the live video. Such as a live room hosted in a web page, or a live room hosted in a live client.
For example, a user may open a game program (e.g., a game client) to play a game while watching a live game program (e.g., a live client) through the live game program. That is to say, the user loads the respective operation windows of the game program and the live program in the display interface at the same time, and at this time, the interface operation sent by the user to the display interface may trigger the respective interface logics of the game program and the live program at the same time, which causes a problem of an error in execution of the interface logics and affects user experience.
Aiming at the condition that the same interface operation in the display interface corresponds to a plurality of interface logics, interface logic execution errors caused by misjudging an operation object are easy to occur, and user experience is poor.
Disclosure of Invention
The invention provides an interface logic execution method and device, electronic equipment and a medium, and aims to solve the technical problem that in the prior art, when the same interface operation corresponds to a plurality of interface logics, interface logic execution errors are easily caused by misjudging an operation object, and user experience is poor.
In a first aspect, the present invention provides a method for executing interface logic, the method comprising:
receiving interface operation sent to a display interface;
acquiring an operable object corresponding to interface operation in a display interface;
if the number of the operable objects corresponding to the interface operation is multiple, screening out a target operation object from the multiple operable objects according to historical interface data;
and triggering the interface logic corresponding to the target operation object so as to execute the interface operation.
In one possible design, the display interface is loaded with a first display window and a second display window, the target operation object belongs to the first display window, the interface operation is an interface operation on the target operation object in the first display window, and the first display window corresponds to the first application program. The method further comprises the following steps: judging whether the target operation object is associated with a second application program corresponding to a second display window; and if the target operation object is associated with the second application program, executing the associated operation of the interface operation in the second application program.
In a possible design, the first application program is a live program, the second application program is a game program, and the second display window is a display window of the game program; if the target operation object is associated with the game program, the method further comprises: and displaying a prompt message in a display window of the game program, wherein the prompt message is used for reflecting the operation result of the associated operation.
In one possible design, the historical interface data includes layout information for the display interface; screening out a target operation object from a plurality of operable objects according to historical interface data, wherein the method comprises the following steps: determining the position relation of a plurality of operable objects in the display interface according to the layout information of the display interface; the operable object on the uppermost layer is selected from the plurality of operable objects according to the positional relationship, and the operable object on the uppermost layer is set as the target operable object.
In one possible design, the historical interface data includes layout information for the display interface; screening out a target operation object from a plurality of operable objects according to historical interface data, wherein the method comprises the following steps: determining the position relation of a plurality of operable objects in the display interface according to the layout information of the display interface; selecting an operable object at the uppermost layer from the plurality of operable objects according to the position relation, and judging whether the operable object at the uppermost layer meets a preset condition; if the operable object at the uppermost layer meets the preset condition, taking the operable object at the next layer in the plurality of operable objects as a target operation object; or if the operable object at the uppermost layer does not meet the preset condition, taking the operable object at the uppermost layer as the target operating object.
In one possible design, the predetermined condition includes one of: the display time length of the operable object at the uppermost layer in the display interface exceeds the preset time length; the operable object at the uppermost layer belongs to a preset type.
In one possible design, the historical interface data includes execution times of the historical interface logic; screening out a target operation object from a plurality of operable objects according to historical interface data, wherein the method comprises the following steps: determining the execution time of the historical interface logic associated with each of the plurality of operable objects according to the execution time of the historical interface logic; and selecting the operable object which is closest to the current moment in the association history interface logic from the plurality of operable objects, and taking the selected operable object as a target operable object.
In one possible design, the historical interface data includes historical interaction information presented to the user; screening out a target operation object from a plurality of operable objects according to historical interface data, wherein the method comprises the following steps: selecting interactive information meeting preset conditions from historical interactive information; judging whether an operable object associated with the selected interactive information exists in the plurality of operable objects or not; and if so, taking the operable object associated with the selected interactive information as a target operating object.
In one possible design, selecting the interaction information meeting the preset condition from the historical interaction information includes: selecting the interactive information closest to the current moment from the historical interactive information; or selecting the interactive information with the most occurrence times from the historical interactive information; or selecting the interactive information with the occurrence frequency reaching the threshold value from the historical interactive information.
In one possible design, the historical interface data includes operational preference data of the user; screening out a target operation object from a plurality of operable objects according to historical interface data, wherein the method comprises the following steps: an actionable object that matches the operational preference data is determined from the plurality of actionable objects, and the selected actionable object is targeted as a target actionable object.
In one possible design, determining the actionable object that matches the operational preference data from the plurality of actionable objects includes: acquiring historical operation times corresponding to a plurality of operable objects; and determining the operable object with the historical operation times reaching the set times as the operable object matched with the operation preference data.
In one possible design, the multiple operable objects corresponding to the interface operation are respectively in different operable areas.
In a possible design, the multiple operable objects are respectively located in different operable areas, specifically: the plurality of operable objects respectively belong to different display windows which are overlapped with each other in the display interface, and the different display windows respectively correspond to different application programs.
In a second aspect, the present invention provides an interface logic execution method, including:
receiving interface operation sent to a display interface;
acquiring an operable object corresponding to interface operation in a display interface;
if the operable objects corresponding to the interface operation are multiple, judging whether the operation position of the interface operation is in an overlapping area of operable areas of the multiple operable objects;
and if the operation position of the interface operation is in the overlapping area, displaying indication information associated with the interface logic of each of the plurality of operable objects to the user so that the user selects the target operation object based on the indication information.
In one possible design, the method further includes: and receiving selection information of a target operation object selected by a user, and triggering interface logic corresponding to the target operation object according to the selection information so as to execute interface operation.
In a third aspect, the present invention provides an interface logic execution apparatus, comprising:
the receiving and sending module is used for receiving interface operation sent to the display interface;
the processing module is used for acquiring an operable object corresponding to the interface operation in the display interface; if the operable objects corresponding to the interface operation are multiple, screening out a target operation object from the multiple operable objects according to historical interface data; and triggering the interface logic corresponding to the target operation object so as to execute the interface operation.
In a fourth aspect, the present invention provides an interface logic execution apparatus, comprising:
the receiving and sending module is used for receiving interface operation sent to the display interface;
the processing module is used for acquiring an operable object corresponding to the interface operation in the display interface;
if the operable objects corresponding to the interface operation are multiple, judging whether the operation position of the interface operation is in an overlapping area of operable areas of the multiple operable objects;
and if the operation position of the interface operation is in the overlapping area, displaying indication information associated with the interface logic of each of the plurality of operable objects to the user so that the user selects the target operation object based on the indication information.
In a third aspect, an embodiment of the present invention provides an electronic device, which includes a processor and a memory, where the memory stores executable code, and when the executable code is executed by the processor, the processor is enabled to implement at least the interface logic execution method in the first aspect.
An embodiment of the present invention further provides a system, including a processor and a memory, where the memory stores at least one instruction, at least one program, a code set, or an instruction set, and the at least one instruction, at least one program, code set, or instruction set is loaded and executed by the processor to implement an interface logic execution method described above.
Embodiments of the present invention further provide a computer-readable medium having stored thereon at least one instruction, at least one program, set of codes, or set of instructions, which is loaded and executed by a processor to implement one of the interface logic execution methods described above.
In the embodiment of the invention, interface operation sent to the display interface is received, and an operable object corresponding to the interface operation in the display interface is obtained. When a plurality of operable objects corresponding to the interface operation are available, screening a target operation object from the plurality of operable objects according to historical interface data, and triggering an interface logic corresponding to the target operation object to execute the received interface operation. According to the embodiment of the invention, the target operation object which is intended to be operated by the user is screened out from the plurality of operable objects, and the interface logic corresponding to the target operation object is executed, so that the problem of interface logic execution error caused by misjudging the operation object under the condition that the same interface operation corresponds to a plurality of interface logics is avoided, the interface effect which is intended by the user is realized, and the user experience is improved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention and not to limit the invention. In the drawings:
fig. 1 is a schematic flowchart illustrating an interface logic execution method according to an embodiment of the present invention;
FIG. 2a is a schematic diagram of a display interface according to an embodiment of the present invention;
FIG. 2b is a schematic diagram of another display interface according to an embodiment of the invention;
FIG. 3 is a flowchart illustrating another interface logic execution method according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an interface logic execution apparatus according to an embodiment of the present invention;
FIG. 5 is a schematic structural diagram of another interface logic execution apparatus according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device corresponding to the interface logic execution apparatus according to the embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention.
The interface logic execution scheme provided by the embodiment of the invention can be executed by an electronic device, and the electronic device can be a terminal device such as a smart phone, a tablet computer, a PC (personal computer), a notebook computer and the like. In an alternative embodiment, the electronic device may have an application installed thereon for executing the interface logic execution scheme. The application is, for example, a client for live broadcasting to a user (also referred to herein as a live program). The interface logic execution scheme may also be executed by a server, such as a server of a live website. Of course, the interface logic execution scheme can also be executed by the cooperation of the server and the terminal equipment.
In various terminal devices, a user can view a display interface, and a display window provided by at least one application program is loaded in the display interface. Such as a display window provided by a live program through which live content (e.g., audio or video) is presented through a live room window in the display window. Of course, the display window displaying the live content may also be provided by a live page of a live website. With the development of the live broadcast field, more and more contents are provided in a display window of a live broadcast program, and interface logic control modes corresponding to various contents often conflict. In practical applications, display windows provided by a plurality of application programs are often loaded in the display interface, for example, the plurality of application programs may be a live program and a game program, and may also be a browser program and an office program.
In fact, the interface logic execution scheme provided by the embodiment of the invention is suitable for various display interfaces. Various display interfaces are, for example, interfaces for displaying live content, and specifically include: the system comprises a live broadcast interface displayed in a live broadcast program of the mobile phone, a live broadcast page of a live broadcast website and a video playing interface displayed by the smart television. Regardless of the name, the interface emphasizes that the displayed content is live content. Here, live content is, for example, video and audio. Of course, the display interface may also be loaded with display windows provided by other application programs, and the embodiment of the present invention is not limited in this embodiment.
The following takes a mobile phone as an example to illustrate the technical problems actually existing in the prior art:
the mobile phone mostly adopts a touch screen without keys, and various interface logics are controlled by touch operations such as frequently clicking, dragging and the like in a live interface of the mobile phone end in order to avoid too many keys being arranged in the live interface of the mobile phone end.
Taking the click operation as an example, clicking the live broadcast room window can control the playing state of the video in the live broadcast room window. And for the popup window superposed on the live broadcast room window, if the popup window needs to be closed, the operable area except the popup window can be clicked. If the user clicks the window area of the live broadcast room, in this case, it is often difficult to determine whether to execute the interface logic corresponding to the popup window (i.e., close the popup window) or to execute another interface logic corresponding to the window of the live broadcast room (i.e., control the video playing state in the window of the live broadcast room) in response to the clicking operation. In fact, a single click may trigger not only interface logic associated with a live program, but also interface logic associated with other applications in the terminal device, such as action logic associated with a game program.
In summary, for the situation that the same interface operation in the display interface corresponds to multiple interface logics, interface logic execution errors are easily caused by misjudging an operation object, and user experience is poor.
The core idea of the interface logic execution scheme provided by the embodiment of the invention is as follows:
for a display interface, firstly, receiving interface operation sent by a user to the display interface, and acquiring an operable object corresponding to the interface operation in the display interface. When a plurality of operable objects corresponding to the interface operation are available, screening a target operation object from the plurality of operable objects according to historical interface data, and triggering an interface logic corresponding to the target operation object to execute the received interface operation. According to the interface logic execution scheme, the target operation object which is intended to be operated by the user is screened out from the plurality of operable objects, and the interface logic corresponding to the target operation object is executed, so that the problem of interface logic execution errors caused by misjudgment of the operation object under the condition that the same interface operation in the display interface corresponds to the plurality of interface logics is avoided, the interface effect which is intended by the user is achieved, and the user experience is improved.
Having described the core concepts of the interface logic execution scheme, various non-limiting embodiments of the present invention are described in detail below.
The following describes the implementation of the interface logic execution method with reference to the following embodiments.
Fig. 1 is a flowchart of an interface logic execution method according to an embodiment of the present invention. As shown in fig. 1, the interface logic execution method includes the following steps:
101. receiving interface operation sent to a display interface;
102. acquiring an operable object corresponding to interface operation in a display interface;
103. if the number of the operable objects corresponding to the interface operation is multiple, screening out a target operation object from the multiple operable objects according to historical interface data;
104. and triggering the interface logic corresponding to the target operation object so as to execute the interface operation.
In the interface logic execution method, the target operation object which is intended to be operated by the user is screened out from the multiple operable objects aiming at the multiple operable objects corresponding to the interface operation, and the interface logic corresponding to the target operation object is executed, so that the problem of interface logic execution errors caused by misjudgment of the operation object under the condition that the same interface operation corresponds to the multiple interface logics can be avoided, the interface effect which is intended by the user is realized, and the user experience is improved.
The embodiment of the invention is applied to various display interfaces. The display interface mentioned in the above step may be a display interface loaded in the terminal device. The display interface can be constructed by data transmitted from the service device to the terminal device, or can be constructed by data pre-loaded into the terminal device through an installation package.
Wherein, at least one operable object is included in the display interface. An actionable object is an interface element in a display interface that can interact with a user. In the live page of the live website, the live page is a website page containing live content, and here, the operable object is, for example, an interface control. Specifically, the interface control is, for example, a live room window, a popup, a title bar, a list bar, an interface button.
Of course, in practical applications, the display interface may also be loaded with display windows provided by other application programs, for example, a message window provided by a game program. Wherein the game program provides a message window that can be used to present interactive messages from the game to the user, such as broadcast messages, chat messages, or combat progress messages.
The operable object can be presented through a display interface carried by the terminal device, and the presented content may include the whole operable object or a local area of the operable object. For example, the operable object is a live room window, and the entire live room window may be presented in the display interface, or a partial region of the live room window may be presented. For example, when the live broadcast room window is occluded by other floating windows, a local area of the live broadcast room window that is not occluded can be displayed.
For convenience of description, the following describes in detail a specific implementation procedure of the interface logic implementation method shown in fig. 1, taking display interfaces in various terminals as examples:
first, in 101, an interface operation issued to a display interface is received.
In the above steps, the interface operations sent out to the different types of display interfaces are different according to the actual situation. Based on the above description, the display interface is, for example, a display interface of a mobile phone (in which a display window of a live program and a display window of a game program are loaded), a display interface of a computer (in which a live page of a live website, a display window of a game program, and a display window of a browser program are loaded), and a video playing interface of a smart television.
For example: assuming that the display interface is a live broadcast interface of a live broadcast program of the mobile phone, based on this, after the user contacts the mobile phone screen, the mobile phone receives a touch operation sent to the mobile phone screen through the sensor, that is, a touch operation sent to the live broadcast interface of the live broadcast program of the mobile phone.
In the above steps, when it is detected that the user touches the screen, touch operation information may be acquired through the sensor, so that the currently sent interface operation is determined through the touch operation information. The interface operation is, for example, a slide operation, a single-click operation, or a double-click operation. Optionally, the touch operation information includes a touch point and a touch action. The touch point is a contact point between a user and a mobile phone screen, and the touch action is a track of the user on the mobile phone screen.
For another example: assuming that the display interface is a live broadcast page of a live broadcast website, based on this, a user controls an input device (such as a mouse, a keyboard, and the like) to perform interface operation on the live broadcast page, and the terminal device determines corresponding interface operation based on instruction information fed back by the input device. The interface operations are, for example: and selecting operation sent by clicking a mouse in a single way or double ways at a specified position in the live broadcast page, and dragging operation sent by pressing a mouse button and dragging a certain track.
Another example is: assuming that the display interface is a video playing interface of the smart television, based on this, the user controls an input device (such as a remote controller) to perform an interface operation on the live page, and the terminal device determines the corresponding interface operation based on the instruction information fed back by the input device. The interface operations are, for example: and selecting operation sent by a remote controller is controlled at a specified position in the video playing interface.
Of course, in practical applications, in addition to the interface operation information detected by the terminal device, the interface operation information sent to the display interface may be loaded from a server in communication with the terminal device.
After receiving the interface operation sent to the display interface, in 102, an operable object corresponding to the interface operation in the display interface is obtained.
The operable object corresponding to the interface operation can be an interface element visible for a user in the display interface or an interface element invisible for the user in the display interface. In the display window of the live program, the interface elements visible to the user are, for example, a live room window, a title bar control, a list control, and a bullet screen input control, and the interface elements invisible to the user are, for example, a volume control and a brightness control.
The operable objects corresponding to the interface operations can be one or more. Optionally, the multiple operable objects corresponding to the interface operation are respectively in different operable areas. Specifically, the plurality of operable objects respectively correspond to different display windows that overlap with each other in the display interface, and the different display windows respectively correspond to different application programs. In practice, the different operable areas are, for example, bottom layers, column surfaces, and popup windows at different levels. Optionally, these operational areas at different levels are superimposed on each other. Different operational regions may also be at the same level.
Specifically, one optional implementation manner of obtaining the operable object corresponding to the interface operation in 102 is, for example: and determining the track of the interface operation in the display interface, and accordingly determining an operable object corresponding to the interface operation in the display interface based on the track of the interface operation.
For example: assume that the display interface is a live page of the live website shown in fig. 2 a. In fig. 2a, the live page includes a title bar, a live room window in the center of the display interface, and other live room jump spaces to the left of the display interface, i.e., rooms 1-3. Assume that the user issues a single click operation with a mouse in the live room window of the live page. Assume that the actionable objects in the current live page include a live room window, and a popup, title bar superimposed above the level of the live room window.
Based on the above assumption, after the terminal device detects that the instruction information fed back by the mouse determines that the corresponding interface operation is a click operation, a role position of the click operation in the live broadcast page, that is, a point m2 of the live broadcast room window (as shown in fig. 2 a) is determined. It is assumed that the interface logic controlling the play state of the video in the live room window can be triggered by clicking any location in the live room window, and that the interface logic closing the pop-up window can also be triggered by clicking any location in the non-pop-up window area in the live page. Since m2 points of the live broadcast room window belong to the live broadcast window area and also belong to the non-popup window area, based on the action position of the click operation in the live broadcast page (i.e., m2 points of the live broadcast room window), it is determined that the operable object corresponding to the click operation is: a live room window, and a popup window superimposed on the level of the live room window.
For another example: assume that the display interface is a display window of the live program in the mobile phone shown in fig. 2 b. In fig. 2b, the display window of the live program includes a title bar, a live room window located in the center of the display window, and other live room jump spaces, i.e., rooms 1 to 3, located on the right side of the display window. Assume that the user issues a drag operation in the display interface by a finger. Assume that the actionable objects in the current display interface include a live room window, a volume control, and a brightness control. The volume control and the brightness control can be operable objects which are selected and then displayed on the display interface.
Based on the above assumption, after the mobile phone detects that the drag operation sent to the mobile phone screen is received by the sensor, the track of the drag operation in the display interface, such as the longitudinal drag track, is determined, so that based on the longitudinal drag track of the drag operation in the display interface (such as the track m2 dragged to the right shown in fig. 2 a), the operable objects corresponding to the drag operation are determined to be the volume control and the brightness control.
Furthermore, assuming that there is one operable object corresponding to the interface operation acquired in 102, in this case, it is obvious that the operable object intended to be operated by the user can be directly determined, and further, the preset interface logic corresponding to the operable object can be directly executed to interact with the user, so that the interface operation is executed.
Further, assuming that there are a plurality of operable objects corresponding to the interface operation acquired in 102, since it is not possible to directly determine the operable object that the user intends to operate, it is necessary to screen out the target operable object that the user intends to operate from the plurality of operable objects based on the history interface data in 103.
The historical interface data to which the present invention relates is actually used to record the execution data of the historical interface logic, as well as the historical interface operation data of the user. Of course, the historical interface data described in the embodiments of the present invention is merely an example, and any historical interface data is essentially used to embody the interface logic and user behavior that occurred in the display interface. The historical interface data may also include other data, as the case may be, and is not limited herein.
According to the actual conditions of various interface operations, the conditions of a plurality of operable objects corresponding to the same interface operation are various. For example, in a display window of a live program of a mobile phone, a dragging operation of a finger in the display interface corresponds to two operable objects, namely a volume control and a brightness control. For another example, in a live page of a live website, the operation of clicking a live room window corresponds to two operable objects, namely, a live room window and a popup window superimposed on the live room window.
Several alternative embodiments for screening out a target operation object from a plurality of operation objects according to historical interface data are described below with reference to specific examples:
in an embodiment of the present invention, it is assumed that the historical interface data includes layout information of the display interface, where the layout information of the display interface includes a location where each operable object is located. Specifically, the position of each operable object includes but is not limited to: the position coordinates of each operable object in the display interface and the level of each operable object in the display interface.
Based on the above assumptions, in 103, an optional embodiment of screening out a target operation object from a plurality of operable objects according to historical interface data is provided:
determining the position relation of a plurality of operable objects in the display interface according to the layout information of the display interface; the operable object on the uppermost layer is selected from the plurality of operable objects according to the positional relationship, and the operable object on the uppermost layer is set as the target operable object.
In the above steps, for example, it is assumed that the multiple operable objects corresponding to the interface operation are a live broadcast room window and a popup window superimposed on the live broadcast room window at a level. Suppose that live room windows and pop-ups are located at multiple levels in the display interface, respectively. Based on the assumption, the position relation of the live broadcast room window and the popup in the display interface is determined according to the positions of the live broadcast room window and the popup in the display interface and the levels of the live broadcast room window and the popup in the display interface, so that the popup on the upper layer is selected from the live broadcast room window and the popup according to the position relation, and the popup is judged to be a target operation object which is intended to be operated by a user.
According to the actual situation, other interface data and the position relation can be combined to select the target operation object. For example, in an alternative embodiment, it is continuously assumed that the historical interface data includes layout information of the display interface, where the layout information of the display interface includes the positions of the respective actionable objects.
Based on the above assumptions, in 103, an optional embodiment of screening out a target operation object from a plurality of operable objects according to historical interface data is provided:
determining the position relation of a plurality of operable objects in the display interface according to the layout information of the display interface; selecting an operable object at the uppermost layer from the plurality of operable objects according to the position relation, and judging whether the operable object at the uppermost layer meets a preset condition; if the operable object at the uppermost layer meets the preset condition, taking the operable object at the next layer in the plurality of operable objects as a target operation object; or if the operable object at the uppermost layer does not meet the preset condition, taking the operable object at the uppermost layer as the target operating object.
The main differences between the above-mentioned alternative embodiment and the alternative embodiment of selecting the target operation object according to the position relationship in the foregoing example are:
after the operable object at the uppermost layer is selected from the plurality of operable objects according to the position relationship, the target operable object needs to be further screened out in combination with a preset condition.
Alternatively, it is assumed that the preset conditions are: the display time length of the operable object at the uppermost layer in the display interface exceeds the preset time length.
Based on this, after the operable object at the uppermost layer is selected from the plurality of operable objects according to the position relationship, it is further required to determine whether the display duration of the operable object at the uppermost layer in the display interface exceeds the preset duration. If the display duration of the operable object at the uppermost layer is determined to exceed the preset duration, the display duration of the operable object at the uppermost layer is determined to be too long, so that the operable object at the uppermost layer is not an object which is currently concerned and intended to be manipulated by the user, and in this case, the operable object at the next layer in the plurality of operable objects is taken as the target operable object. If the display duration of the operable object at the uppermost layer is determined not to exceed the preset duration, it is determined that the operable object at the uppermost layer is an object which is currently concerned by the user and is intended to be manipulated, and in this case, the operable object at the uppermost layer is still used as the target operation object.
Further, optionally, it is assumed that the preset condition is: the operable object at the uppermost layer belongs to a preset type.
Based on this, after the operable object at the uppermost layer is selected, it is further required to determine whether the operable object at the uppermost layer belongs to the preset type. And if the operable object at the uppermost layer is judged to belong to the preset type, taking the operable object at the next layer in the plurality of operable objects as the target operable object. In fact, the top layer of operable objects is pop-up windows, and the preset type is advertisement pop-up windows or set-top pop-up windows, for example. The pop-up window is, for example, a website convention, a notification, etc., and such pop-up window is a rule that a user needs to pay attention to in the using process, and usually the user does not interact with such pop-up window. If the operable object at the uppermost layer is determined not to belong to the preset type, the operable object at the uppermost layer is an object which is currently concerned by the user and is intended to be manipulated, and in this case, the operable object at the uppermost layer is still used as the target operation object.
Therefore, the screening precision of the target operation object is further improved through the two preset conditions (namely the preset time length and the preset type).
In practical applications, in addition to the two preset conditions (such as the preset duration and the preset type), other preset conditions may be adopted to select the target operation object.
Of course, the target operation object can also be selected by utilizing the layout information of a plurality of operation objects in the display interface. For example, the multiple operable objects are in the same level, in this case, the operable object in the visual emphasis area (for example, the central area of the display interface) may be selected as the target operable object according to the positions of the multiple operable objects in the display interface. Optionally, the visual emphasis area may be preset according to the user behavior data, or may be actively set by the user.
Wherein, the operable objects in the visual emphasis area include but are not limited to: operable objects with a distance from the center of the display interface less than a threshold value, operable objects at the uppermost layer of the display interface, and operable objects at the right part of the operable area. For example, in practical applications, the display interface includes an operable area. Assuming that the probability of selecting an operable object in the right part of the operable area by the user is higher than the probability of selecting an operable object in the left part of the operable area, the operable object in the right part of the operable area can be preferentially selected as the target object according to the positions of the plurality of operable objects in the display interface, so as to be closer to the use habit of the user.
In a further embodiment of the present invention, it is assumed that the historical interface data includes execution times of the historical interface logics, where the execution times of the historical interface logics include respective corresponding execution times of the historical interface logics. Of course, in practice, the historical interface data may be the execution order of a plurality of historical interface logics, or may be other information for indicating the execution order of the historical interface logics.
Based on the above assumptions, an alternative embodiment of screening out a target operation object from a plurality of operable objects according to historical interface data is provided at 103:
determining the execution time of the historical interface logic associated with each of the plurality of operable objects according to the execution time of the historical interface logic; and selecting the operable object which is closest to the current moment in the association history interface logic from the plurality of operable objects, and taking the selected operable object as a target operable object.
The association relationship between the operable object and the history interface logic can be understood as follows: the actionable object may be an object of execution of the history interface logic, such as, assuming the actionable object is a live room window, the history interface logic associated with the live room window is, for example: displaying a live broadcast room window in a display interface, playing audio or video in the live broadcast room window, stopping playing the audio or video in the live broadcast room window, adjusting the size in the display interface of the live broadcast room window, and jumping to a preset link from the live broadcast room window. For another example, assuming that the actionable object is a popup, the historical interface logic associated with the popup can be, for example: setting the popup into the uppermost layer of the display interface in the display interface, playing audio or video in the popup, closing the popup, skipping from the popup to a preset link, and receiving input information fed back by a user through the popup.
In the above steps, for example, it is assumed that the plurality of operable objects corresponding to the interface operation are a live room window and an advertisement popup window superimposed on the live room window. Assume that the execution time of the historical interface logic is: and 8, playing the video in the direct-playing room window, and 8, playing 03 advertisement pop-up windows displayed to the user. Assume that the current time is the time when the user issues the interface operation, i.e. 8 o 'clock and 05 o' clock.
Based on the assumption, the execution time of the historical interface logic associated with each live broadcast room window and the advertisement popup is determined according to the execution time of the historical interface logic, so that the time difference between the execution time of each historical interface logic and the current time is determined, and the advertisement popup with 8 points and 05 points which are closest to the current time and are associated with the historical interface logic is selected from the live broadcast room window and the advertisement popup based on the time difference, so that the advertisement popup is determined to be an operable object which is concerned by the user and is intended to be operated, and the advertisement popup is taken as a target operation object.
In a further embodiment of the present invention, it is assumed that the historical interface data comprises historical interaction information presented to the user, wherein the historical interaction information presented to the user comprises, for example, various interaction information pushed to the user. The various interactive information is, for example, a message to remind login, a message to remind registration, a message to ask the user whether to pay attention to the anchor, a message to ask the user whether the user needs to enjoy, and other interactive messages. In practical applications, the above interaction information can be displayed through a floating window (i.e., the pop-up window described above) in the display interface. The time for triggering the display of the interactive information may be that the user triggers a certain function, or that the user stays on the display interface for a preset time.
Based on the above assumptions, an alternative embodiment of screening out a target operation object from a plurality of operable objects according to historical interface data is provided at 103:
selecting interactive information meeting preset conditions from historical interactive information; judging whether an operable object associated with the selected interactive information exists in the plurality of operable objects or not; and if so, taking the operable object associated with the selected interactive information as a target operating object.
In this optional embodiment, optionally, the interaction information that satisfies the preset condition from the historical interaction information may include one of the following: the interactive information which is closest to the current moment in the historical interactive information; interactive information with the most occurrence times in the historical interactive information; and the interactive information of which the occurrence times reach a threshold value in the historical interactive information. Further, if there are a plurality of interactive information in the historical interactive information, the number of times of occurrence of the interactive information reaches a threshold, in this case, the final interactive information may be filtered according to the pushing time of the interactive information. For example, the interactive information with the pushing time close to the current time is further selected from the plurality of interactive information with the occurrence frequency reaching the threshold value, and is used as the basis for subsequently selecting the target operation object.
In addition, it should be noted that the association relationship in this alternative embodiment may be understood that the operable object carries the selected historical interaction information. In short, the historical interaction information is presented to the user through the associated operable objects. For example, the historical interaction information is advertisement information pushed by a banner control that is played in a scrolling manner, in this case, the banner control is an operable object associated with the advertisement information.
This alternative embodiment is illustrated below: assuming that a plurality of operable objects corresponding to the interface operation are: the live broadcast system comprises a live broadcast room window, a top pop-up window and an advertisement pop-up window superposed on the live broadcast room window. Assume that the historical interaction information pushed to the user includes: website convention and advertising information. Suppose that a top popup carrying a website convention is always displayed to a user after entering a live broadcast page, and an advertisement popup carrying advertisement information is displayed to the user after entering the live broadcast page for 3 minutes.
Based on the assumption, because the website convention and the advertisement information are both historical interaction information, the interaction information closest to the current moment, namely the advertisement information, is selected from the website convention and the advertisement information according to the pushing time of the website convention and the advertisement information.
And then, after the advertisement information meeting the preset conditions is selected, judging whether an operable object related to the selected advertisement information exists in the live broadcast room window, the top pop-up window and the advertisement pop-up window. In this case, it may be determined that the operable object includes an operable object (i.e., an advertisement popup) associated with the advertisement information, and in this case, it may be determined that the advertisement popup is an operable object that the user currently focuses on and intends to manipulate, and thus the advertisement popup is targeted for operation.
In a further embodiment of the present invention, it is assumed that the historical interface data includes operation preference data of the user, wherein the operation preference data includes, for example, historical operation times of selecting a certain type of operable object under different conditions of the user, probability of the user participating in various activities, and anchor type concerned by the user preference. For example, at least two operable objects are loaded in the display interface, and the at least two operable objects correspond to different applications, in this case, the operation preference data is, for example, a probability that a user selects a certain operable object by analyzing historical operation behaviors of the user.
Based on the above assumptions, an alternative embodiment of screening out a target operation object from a plurality of operable objects according to historical interface data is provided at 103:
an actionable object that matches the operational preference data is determined from the plurality of actionable objects, and the selected actionable object is targeted as a target actionable object.
In the above steps, for example, it is assumed that the plurality of operable objects corresponding to the interface operation are a live room window and a popup window superimposed on the live room window. Assume that the popup includes interactive information asking the user whether to focus on the anchor.
Based on the above assumptions, an alternative embodiment of determining an actionable object from the plurality of actionable objects that matches the operational preference data is, for example: and acquiring the historical operation times corresponding to the live broadcast room window and the pop-up window respectively. Suppose that the historical operation times of the user for controlling the video playing state in the live broadcast room window in the current type interface is 10 times, and the historical operation times of exiting the popup window is 240 times. Assume that the preset number of times is 100 times. In this case, a popup in which the number of historical operations reaches the set number is determined as an operable object that matches the operation preference data. In another optional embodiment, the operable objects with a larger number of historical operations may also be selected as the operable objects matched with the operation preference data by comparing the respective historical operation times corresponding to the live room window and the pop-up window. For example, the volume control and the brightness control selected according to the longitudinal sliding trajectory as described above can be used to screen out the operable object matching with the operation preference data by comparing the historical operation times.
Of course, in addition to selecting an actionable object matching the operation preference data based on the historical operation times, an actionable object matching the operation preference data may be determined from a plurality of actionable objects based on the operation preference data of other users, for example, in an alternative embodiment, it is determined whether the anchor type concerned by the user preference is consistent with the anchor type of the current live broadcast room, and if the two types are consistent, a popup window including interaction information inquiring whether the user is concerned with the anchor may be selected as the actionable object matching the operation preference data.
Further, the operable object matching the operation preference data is selected as the final target operation object in the above manner.
Of course, besides the above-described several alternative embodiments of selecting the target operation object from the multiple selectable operation objects, the target operation object that the user intends to operate may be filtered by other configuration information in the current interface. In an optional embodiment, assuming that the current brightness reaches a brightness threshold corresponding to the current usage environment, in this case, it may be determined that an object that the user actually wants to adjust is the volume, and at this time, the volume space may be used as the target operation object.
Finally, after selecting a target operation object from the multiple selectable operation objects through any of the above embodiments, in 104, an interface logic corresponding to the target operation object is triggered, so that the interface operation is executed.
After the target operation object intended to be operated by the user is screened out, interface logic corresponding to the target operation object, specifically, interface logic corresponding to the target operation object under the interface operation is executed in 104. For example, after the popup window intended to be operated by the user is selected from the live broadcast room window and the popup window corresponding to the single-click operation, the corresponding interface logic for closing the popup window under the single-click operation is executed.
In an optional embodiment with respect to the display interface, assume that the display interface is loaded with a first display window and a second display window. It is assumed that the target operation object belongs to the first display window, and the interface operation is an interface operation on the target operation object in the first display window. Assume that the first display window corresponds to a first application.
Based on the above assumption, after the target operation object is screened out in 103, it may also be determined whether the target operation object is associated with a second application program corresponding to the second display window, and if the target operation object is associated with the second application program, the association operation of the interface operation is executed in the second application program.
In the above step, the associated operations for executing the interface operation in the second application program include, but are not limited to: message reminding operation, regional broadcast operation, world broadcast operation and operation for adjusting attribute of operable object. Specifically, the operation of adjusting the attribute of the operable object may be adjusting the number of items corresponding to the associated operation, or the like.
For example, assume that the first application is a live program and the second application is a game program. It is assumed that the second display window is a display window of the game program. Based on the above assumption, when the gift item in the game program is sent out in the live program, the regional broadcast operation can be executed in the game program, so as to generate a corresponding regional broadcast message for a certain player to notify that the gift item is sent out. In this case, in response to the association operation of sending out the gift items, the number of gift items in the backpack of the player is reduced by 1 in the game program.
Optionally, a prompt message may be presented in the display window of the game program, where the prompt message is used to reflect the operation result of the association operation. For example, after the number of gift items in the backpack of the player is reduced by 1 in the game program, a corresponding prompt message is displayed in the display window of the game program to inform the player of the result of the reduction of the number of gift items in the backpack. Or a prompt message for thanking to send out the property gift can be displayed in the display window of the game program.
Thus, the interface logic execution method shown in fig. 1 can avoid the problem of interface logic execution errors caused by misjudging the operation object under the condition that the same interface operation corresponds to a plurality of interface logics, achieve the interface effect intended by the user, and improve the user experience.
The embodiment of the present invention further provides an interface logic execution method, as shown in fig. 3, the interface logic execution method includes the following steps:
301. receiving interface operation sent to a display interface;
302. acquiring an operable object corresponding to interface operation in a display interface;
303. if the operable objects corresponding to the interface operation are multiple, judging whether the operation position of the interface operation is in an overlapping area of operable areas of the multiple operable objects;
304. and if the operation position of the interface operation is in the overlapping area, displaying indication information associated with the interface logic of each of the plurality of operable objects to the user so that the user selects the target operation object based on the indication information.
In the interface logic execution method, the indication information associated with the interface logic of each of the plurality of operable objects is displayed to the user for the plurality of operable objects corresponding to the interface operation, so that the user can be prompted to select the target operable object from the plurality of operable objects based on the indication information, and therefore, the problem of interface logic execution errors caused by misjudgment of the operable objects under the condition that the same interface operation corresponds to the plurality of interface logics is avoided, the interface effect intended by the user is achieved, and the user experience is improved.
The embodiment of the invention is applied to various display interfaces. The display interface mentioned in the above step may be a display interface loaded in the terminal device. The display interface can be constructed by data transmitted from the service device to the terminal device, or can be constructed by data pre-loaded into the terminal device through an installation package.
Wherein, at least one operable object is included in the display interface. An actionable object is an interface element in a display interface that can interact with a user. In the live page of the live website, the live page is a website page containing live content, and here, the operable object is, for example, an interface control. Specifically, the interface control is, for example, a live room window, a popup, a title bar, a list bar, an interface button.
Of course, in practical applications, the display interface may also be loaded with display windows provided by other application programs, for example, a message window provided by a game program. Wherein the game program provides a message window that can be used to present interactive messages from the game to the user, such as broadcast messages, chat messages, or combat progress messages.
Based on the above description, the steps 301 to 302 are similar to the steps 101 to 102 in the other interface logic execution method provided above, and are not described again here.
303, if there are a plurality of operable objects corresponding to the interface operation, it is determined whether or not the operation position of the interface operation is in an overlapping area of operable areas of the plurality of operable objects.
The operable objects corresponding to the interface operations may be multiple ones. Optionally, the multiple operable objects corresponding to the interface operation are respectively in different operable areas. Specifically, the plurality of operable objects respectively correspond to different display windows that overlap with each other in the display interface, and the different display windows respectively correspond to different application programs. In practice, the different operable areas are, for example, bottom layers, column surfaces, and popup windows at different levels. Optionally, these operational areas at different levels are superimposed on each other. Different operational regions may also be at the same level.
Furthermore, in 304, if the operation position of the interface operation is in the overlap region, the indication information associated with the interface logic of each of the plurality of operable objects is presented to the user, so that the user selects the target operation object based on the indication information.
In this step, the plurality of operable objects may be screened through the implementation logic in the several target operable object screening manners introduced in step 103, and further, the indication information associated with the interface logic of each screened part of the operable objects is displayed to the user.
And finally, optionally, receiving selection information of the target operation object selected by the user, and triggering the interface logic corresponding to the target operation object according to the selection information so as to execute the interface operation.
In this way, in the interface logic execution method shown in fig. 3, for a plurality of operable objects corresponding to an interface operation, the user may be prompted to select a target operation object from the plurality of operable objects based on the indication information by presenting the indication information associated with the interface logic of each of the plurality of operable objects to the user, so that the problem of an interface logic execution error caused by misjudgment of the operation object when the same interface operation corresponds to the plurality of interface logics is avoided, thereby achieving an interface effect intended by the user and improving user experience.
The interface logic performing apparatus of one or more embodiments of the present invention will be described in detail below. Those skilled in the art will appreciate that the interface logic performing means may be constructed using commercially available hardware components configured by the steps taught in the present solution.
Fig. 4 is a schematic structural diagram of an interface logic execution apparatus according to an embodiment of the present invention. The device is applied to various display interfaces, and as shown in fig. 4, the interface logic execution device comprises: a transceiver module 11 and a processing module 12.
The receiving and sending module 11 is used for receiving interface operations sent to the display interface;
the processing module 12 is configured to obtain an operable object corresponding to the interface operation in the display interface; if the operable objects corresponding to the interface operation are multiple, screening out a target operation object from the multiple operable objects according to historical interface data; and triggering the interface logic corresponding to the target operation object so as to execute the interface operation.
Optionally, the display interface is loaded with a first display window and a second display window, the target operation object belongs to the first display window, the interface operation is an interface operation on the target operation object in the first display window, and the first display window corresponds to a first application program.
The interface logic execution device also comprises an association operation module used for judging whether the target operation object is associated with a second application program corresponding to the second display window; and if the target operation object is associated with the second application program, executing the associated operation of the interface operation in the second application program.
Optionally, the first application program is a live program, the second application program is a game program, and the second display window is a display window of the game program.
If the target operation object is associated with the game program, the association operation module is further configured to: and displaying a prompt message in a display window of the game program, wherein the prompt message is used for reflecting the operation result of the associated operation.
Optionally, the historical interface data includes layout information of the display interface.
When the processing module 12 screens out a target operation object from a plurality of operable objects according to the historical interface data, the processing module is specifically configured to:
determining the position relation of a plurality of operable objects in the display interface according to the layout information of the display interface; and selecting the operable object at the uppermost layer from the plurality of operable objects according to the position relation, and taking the operable object at the uppermost layer as the target operating object.
Optionally, the historical interface data includes layout information of the display interface;
when the processing module 12 screens out a target operation object from a plurality of operable objects according to the historical interface data, the processing module is specifically configured to:
determining the position relation of a plurality of operable objects in the display interface according to the layout information of the display interface; selecting an operable object at the uppermost layer from the plurality of operable objects according to the position relation, and judging whether the operable object at the uppermost layer meets a preset condition; if the operable object at the uppermost layer meets the preset condition, taking the operable object at the next layer in the plurality of operable objects as the target operable object; or if the operable object at the uppermost layer does not meet the preset condition, taking the operable object at the uppermost layer as the target operation object.
Optionally, the preset condition includes one of: the display time length of the operable object at the uppermost layer in the display interface exceeds the preset time length; the operable object at the uppermost layer belongs to a preset type.
Optionally, the historical interface data includes execution times of historical interface logic.
When the processing module 12 screens out a target operation object from a plurality of operable objects according to the historical interface data, the processing module is specifically configured to:
determining the execution time of the historical interface logic associated with each of the plurality of operable objects according to the execution time of the historical interface logic; and selecting the operable object which is closest to the current moment in the associated history interface logic from the plurality of operable objects, and taking the selected operable object as the target operable object.
Optionally, the historical interface data includes historical interaction information presented to the user.
When the processing module 12 screens out a target operation object from a plurality of operable objects according to the historical interface data, the processing module is specifically configured to:
selecting interactive information meeting preset conditions from the historical interactive information; judging whether an operable object associated with the selected interactive information exists in the plurality of operable objects or not; and if so, taking the operable object associated with the selected interactive information as the target operating object.
Optionally, when the interaction information meeting the preset condition is selected from the historical interaction information, the processing module 12 is specifically configured to:
selecting the interactive information closest to the current moment from the historical interactive information; or
Selecting the interactive information with the most occurrence times from the historical interactive information; or
And selecting the interactive information with the occurrence frequency reaching a threshold value from the historical interactive information.
Optionally, the historical interface data includes operational preference data of the user.
When the processing module 12 screens out a target operation object from a plurality of operable objects according to the historical interface data, the processing module is specifically configured to:
determining an operable object matching the operation preference data from a plurality of operable objects, and taking the selected operable object as the target operable object.
Optionally, when determining an operable object matching the operation preference data from the plurality of operable objects, the processing module 12 is specifically configured to:
acquiring historical operation times corresponding to a plurality of operable objects; and determining the operable object with the historical operation times reaching the set times as the operable object matched with the operation preference data.
Optionally, a plurality of operable objects corresponding to the interface operation are respectively in different operable areas.
Optionally, the plurality of operable objects respectively belong to different display windows that are overlapped with each other in the display interface, and the different display windows respectively correspond to different application programs.
The interface logic executing apparatus shown in fig. 4 may execute the methods provided in the foregoing embodiments, and details of the parts not described in this embodiment may refer to the related descriptions of the foregoing embodiments, which are not described herein again.
Fig. 5 is a schematic structural diagram of an interface logic execution apparatus according to an embodiment of the present invention. The device is applied to various display interfaces, and as shown in fig. 5, the interface logic execution device comprises: a transceiver module 11 and a processing module 12.
The receiving and sending module 11 is used for receiving interface operations sent to the display interface;
the processing module 12 is configured to obtain an operable object corresponding to the interface operation in the display interface; if the operable objects corresponding to the interface operation are multiple, judging whether the operation position of the interface operation is in an overlapping area of operable areas of the multiple operable objects; and if the operation position of the interface operation is in the overlapping area, displaying indication information associated with the interface logic of each of the plurality of operable objects to a user so that the user selects the target operation object based on the indication information.
Optionally, the transceiver module 11 is further configured to: and receiving selection information of the target operation object selected by the user.
The processing module 12 is further configured to: and triggering the interface logic corresponding to the target operation object according to the selection information so as to execute the interface operation.
The interface logic executing apparatus shown in fig. 5 may execute the methods provided in the foregoing embodiments, and details of the parts not described in this embodiment may refer to the related descriptions of the foregoing embodiments, which are not described herein again.
In one possible design, the interface logic executing apparatus shown in fig. 4 or fig. 5 may be implemented as an electronic device.
As shown in fig. 6, the electronic device may include: a processor 21 and a memory 22. Wherein the memory 22 has stored thereon executable code, which when executed by the processor 21, at least makes the processor 21 capable of implementing the interface logic execution method as provided in the previous embodiments. The electronic device may further include a communication interface 23 for communicating with other devices or a communication network.
In addition, an embodiment of the present invention provides a non-transitory machine-readable storage medium having stored thereon executable code, which, when executed by a processor of a wireless router, causes the processor to execute the interface logic execution method provided in the foregoing embodiments.
The system, method and apparatus of the embodiments of the present invention can be implemented as pure software (e.g., a software program written in Java), as pure hardware (e.g., a dedicated ASIC chip or FPGA chip), or as a system combining software and hardware (e.g., a firmware system storing fixed code or a system with a general-purpose memory and a processor), as desired.
Another aspect of the invention is a computer-readable medium having computer-readable instructions stored thereon that, when executed, perform a method of embodiments of the invention.
While various embodiments of the present invention have been described above, the above description is intended to be illustrative, not exhaustive, and not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The scope of the claimed subject matter is limited only by the attached claims.
Claims (10)
1. A method for interface logic execution, the method comprising:
receiving interface operation sent to a display interface;
acquiring an operable object corresponding to the interface operation in the display interface;
if the operable objects corresponding to the interface operation are multiple, screening out target operable objects from the multiple operable objects according to historical interface data, wherein the multiple operable objects are respectively presented in different display windows which are mutually overlapped;
and triggering the interface logic corresponding to the target operation object so as to execute the interface operation.
2. The interface logic execution method according to claim 1, wherein the display interface is loaded with a first display window and a second display window which overlap with each other, the target operation object belongs to the first display window corresponding to a first application program, the interface operation is an interface operation on the target operation object in the first display window, and the second display window corresponds to a second application program;
the method further comprises the following steps:
judging whether the target operation object is associated with the second application program;
and if the target operation object is associated with the second application program, executing the associated operation of the interface operation in the second application program.
3. The interface logic execution method of claim 1, wherein the historical interface data comprises layout information for the display interface;
the screening out the target operation object from the plurality of operable objects according to the historical interface data comprises the following steps:
determining the position relation of a plurality of operable objects in the display interface according to the layout information of the display interface;
and selecting the target operation object from a plurality of operable objects according to the position relation and a preset condition.
4. The interface logic execution method of claim 1, wherein the historical interface data comprises layout information for the display interface;
the screening out the target operation object from the plurality of operable objects according to the historical interface data comprises the following steps:
determining the position relation of a plurality of operable objects in the display interface according to the layout information of the display interface;
and if the plurality of operable objects are positioned at the same level, selecting the operable object in the visual emphasis area as the target operable object.
5. The interface logic execution method of claim 1, wherein the historical interface data comprises execution times of historical interface logic;
the screening out the target operation object from the plurality of operable objects according to the historical interface data comprises the following steps:
determining the execution time of the historical interface logic associated with each of the plurality of operable objects according to the execution time of the historical interface logic;
and selecting the operable object which is closest to the current moment in the associated history interface logic from the plurality of operable objects, and taking the selected operable object as the target operable object.
6. The interface logic execution method of claim 1, wherein the historical interface data comprises historical interaction information presented to a user;
the screening out the target operation object from the plurality of operable objects according to the historical interface data comprises the following steps:
selecting interactive information meeting preset conditions from the historical interactive information;
judging whether an operable object associated with the selected interactive information exists in the plurality of operable objects or not;
and if so, taking the operable object associated with the selected interactive information as the target operating object.
7. The interface logic execution method of claim 1, wherein the historical interface data comprises operational preference data of a user;
the screening out the target operation object from the plurality of operable objects according to the historical interface data comprises the following steps:
determining an operable object matching the operation preference data from a plurality of operable objects, and taking the selected operable object as the target operable object.
8. An interface logic execution apparatus, comprising:
the receiving and sending module is used for receiving interface operation sent to the display interface;
the processing module is used for acquiring an operable object corresponding to the interface operation in the display interface; if the operable objects corresponding to the interface operation are multiple, screening out target operable objects from the multiple operable objects according to historical interface data, wherein the multiple operable objects are respectively presented in different display windows which are mutually overlapped; and triggering the interface logic corresponding to the target operation object so as to execute the interface operation.
9. An electronic device, comprising a memory and a processor, wherein the memory stores a computer program operable on the processor, and the processor implements the interface logic execution method according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable medium, wherein the computer-readable medium causes a processor to perform the interface logic performing method of any of the preceding claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111350506.1A CN114153357A (en) | 2020-11-20 | 2020-11-20 | Interface logic execution method and device, electronic equipment and medium |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011315279.4A CN112486382B (en) | 2020-11-20 | 2020-11-20 | Interface logic execution method and device, electronic equipment and medium |
CN202111350506.1A CN114153357A (en) | 2020-11-20 | 2020-11-20 | Interface logic execution method and device, electronic equipment and medium |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011315279.4A Division CN112486382B (en) | 2020-11-20 | 2020-11-20 | Interface logic execution method and device, electronic equipment and medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114153357A true CN114153357A (en) | 2022-03-08 |
Family
ID=74933040
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111350506.1A Pending CN114153357A (en) | 2020-11-20 | 2020-11-20 | Interface logic execution method and device, electronic equipment and medium |
CN202011315279.4A Active CN112486382B (en) | 2020-11-20 | 2020-11-20 | Interface logic execution method and device, electronic equipment and medium |
Family Applications After (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011315279.4A Active CN112486382B (en) | 2020-11-20 | 2020-11-20 | Interface logic execution method and device, electronic equipment and medium |
Country Status (1)
Country | Link |
---|---|
CN (2) | CN114153357A (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113849390A (en) * | 2021-10-08 | 2021-12-28 | 珠海格力电器股份有限公司 | Behavior data acquisition method and device, electronic equipment and storage medium |
CN114356487A (en) * | 2022-01-07 | 2022-04-15 | 京东科技控股股份有限公司 | Method and device for loading task bullet layer |
CN114442889A (en) * | 2022-02-10 | 2022-05-06 | 网易(杭州)网络有限公司 | Object operation method and device in game and electronic equipment |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101782832A (en) * | 2009-01-19 | 2010-07-21 | 三星电子株式会社 | Apparatus and method for controlling display information |
CN102117143A (en) * | 2009-12-31 | 2011-07-06 | 深圳迈瑞生物医疗电子股份有限公司 | Method and device for responding a touch screen |
CN102741795A (en) * | 2009-12-04 | 2012-10-17 | 索尼公司 | Information processing device, display method, and program |
CN103412713A (en) * | 2013-06-28 | 2013-11-27 | 北京君正集成电路股份有限公司 | Management method of intelligent device for having control over a plurality of windows simultaneously |
CN106250034A (en) * | 2016-07-18 | 2016-12-21 | 深圳市金立通信设备有限公司 | A kind of method of windows exchange and terminal |
CN107433036A (en) * | 2017-06-21 | 2017-12-05 | 网易(杭州)网络有限公司 | The choosing method and device of object in a kind of game |
US20180310043A1 (en) * | 2016-08-08 | 2018-10-25 | Tencent Technology (Shenzhen) Company Limited | Media information delivery method and system, terminal, server, and storage medium |
CN109771941A (en) * | 2019-03-13 | 2019-05-21 | 网易(杭州)网络有限公司 | Selection method and device, the equipment and medium of virtual objects in game |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8127248B2 (en) * | 2003-06-20 | 2012-02-28 | Apple Inc. | Computer interface having a virtual single-layer mode for viewing overlapping objects |
CN104978739B (en) * | 2015-04-29 | 2017-12-29 | 腾讯科技(深圳)有限公司 | A kind of image object choosing method and device |
WO2017166218A1 (en) * | 2016-03-31 | 2017-10-05 | 华为技术有限公司 | Pressure-sensing touch method and electronic device |
CN106484224B (en) * | 2016-09-22 | 2019-11-08 | 北京字节跳动网络技术有限公司 | A kind of operating method and terminal |
CN109218346B (en) * | 2017-06-29 | 2020-07-28 | 北京嘀嘀无限科技发展有限公司 | Network appointment vehicle application program Feed stream pushing method and device |
CN107643866B (en) * | 2017-08-21 | 2020-08-07 | 广州视源电子科技股份有限公司 | Method and device for operating different-level pictures, terminal equipment and storage medium |
CN109684006B (en) * | 2018-12-11 | 2023-01-24 | 维沃移动通信(深圳)有限公司 | Terminal control method and device |
-
2020
- 2020-11-20 CN CN202111350506.1A patent/CN114153357A/en active Pending
- 2020-11-20 CN CN202011315279.4A patent/CN112486382B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101782832A (en) * | 2009-01-19 | 2010-07-21 | 三星电子株式会社 | Apparatus and method for controlling display information |
CN102741795A (en) * | 2009-12-04 | 2012-10-17 | 索尼公司 | Information processing device, display method, and program |
CN102117143A (en) * | 2009-12-31 | 2011-07-06 | 深圳迈瑞生物医疗电子股份有限公司 | Method and device for responding a touch screen |
CN103412713A (en) * | 2013-06-28 | 2013-11-27 | 北京君正集成电路股份有限公司 | Management method of intelligent device for having control over a plurality of windows simultaneously |
CN106250034A (en) * | 2016-07-18 | 2016-12-21 | 深圳市金立通信设备有限公司 | A kind of method of windows exchange and terminal |
US20180310043A1 (en) * | 2016-08-08 | 2018-10-25 | Tencent Technology (Shenzhen) Company Limited | Media information delivery method and system, terminal, server, and storage medium |
CN107433036A (en) * | 2017-06-21 | 2017-12-05 | 网易(杭州)网络有限公司 | The choosing method and device of object in a kind of game |
CN109771941A (en) * | 2019-03-13 | 2019-05-21 | 网易(杭州)网络有限公司 | Selection method and device, the equipment and medium of virtual objects in game |
Also Published As
Publication number | Publication date |
---|---|
CN112486382B (en) | 2021-12-17 |
CN112486382A (en) | 2021-03-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP7357027B2 (en) | Input devices and user interface interactions | |
CN112486382B (en) | Interface logic execution method and device, electronic equipment and medium | |
US11543938B2 (en) | Identifying applications on which content is available | |
CN111353839B (en) | Commodity information processing method, commodity live broadcasting method, commodity information processing device and electronic equipment | |
US11966560B2 (en) | User interfaces for browsing content from multiple content applications on an electronic device | |
US10659844B2 (en) | Interaction method and system based on recommended content | |
WO2020000972A1 (en) | Video access method, client, video access apparatus, terminal, server, and storage medium | |
CN107551555B (en) | Game picture display method and device, storage medium and terminal | |
US10116601B2 (en) | Methods and devices for display device notifications | |
CN107484025B (en) | Bullet screen display method and mobile terminal | |
US9542061B2 (en) | Graphical user interface sizing and arrangement system | |
WO2019007227A1 (en) | Method and apparatus for continuing to display view after switching pages | |
EP3096529A1 (en) | System and methods for video comment threading | |
CN107102806A (en) | A kind of split screen input method and mobile terminal | |
US20210314668A1 (en) | Display Device And Content Recommendation Method | |
CN111417021B (en) | Plug-in identification method and device, computer equipment and readable storage medium | |
US20150339009A1 (en) | Providing dynamic contents using widgets | |
CN110072138B (en) | Video playing method, video playing equipment and computer readable storage medium | |
CN113485603B (en) | Message display method and device and electronic equipment | |
KR20160020486A (en) | Independent hit testing for touchpad manipulations and double-tap zooming | |
US9174132B2 (en) | Electronic game device, electronic game processing method, and non-transitory computer-readable storage medium storing electronic game program | |
CN113453057B (en) | Display device and playing progress control method | |
WO2020204941A1 (en) | Methods, systems, and media for navigating user interfaces | |
WO2015191894A2 (en) | Methods, systems, and media for presenting advertisements during background presentation of media content | |
CN112486381B (en) | Interface logic execution method and device, electronic equipment and medium |
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 |