CN115314725A - Interaction method based on anchor application and terminal equipment - Google Patents
Interaction method based on anchor application and terminal equipment Download PDFInfo
- Publication number
- CN115314725A CN115314725A CN202210837826.8A CN202210837826A CN115314725A CN 115314725 A CN115314725 A CN 115314725A CN 202210837826 A CN202210837826 A CN 202210837826A CN 115314725 A CN115314725 A CN 115314725A
- Authority
- CN
- China
- Prior art keywords
- function
- control
- anchor
- controls
- auxiliary control
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/04817—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
-
- 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/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/472—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
-
- 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/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/478—Supplemental services, e.g. displaying phone caller identification, shopping application
- H04N21/4788—Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Software Systems (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The present disclosure relates to an interaction method and a terminal device based on anchor application, the method is implemented by the terminal device installing the anchor application, the method comprises: providing an interactive component of the anchor application on other interfaces when the anchor application runs a live broadcast function in a background and the terminal equipment displays other interfaces except an anchor application interface; the interactive assembly comprises an auxiliary control and at least two function controls, and the default states of the at least two function controls are non-display retraction states; receiving a first user input to the secondary control; and according to the first user input, when the at least two functional controls are in the retracted state, the at least two functional controls are expanded on a straight line track with the auxiliary control as a reference point, so that a user can perform interaction related to an anchor application through the functional controls.
Description
Technical Field
The present disclosure relates to the field of anchor application technologies, and in particular, to an interaction method based on an anchor application and a terminal device.
Background
The anchor application is an application for the anchor to carry out online live broadcast, the anchor can carry out live broadcast on various operations executed on the anchor terminal by the anchor application installed on the anchor terminal such as a mobile phone, namely, so-called push stream live broadcast, at the moment, live broadcast audiences can see a screen picture of the anchor terminal in real time and further see various operations executed on the anchor terminal by the anchor, for example, the anchor carries out hand-play live broadcast in a push stream live broadcast mode, the live broadcast audiences can see a game picture displayed by the anchor terminal and further see an operation process of the anchor executing various operations in game playing.
In push-stream live broadcasting, after the anchor starts live broadcasting through the anchor application, the anchor needs to return to a desktop to open an object needing live broadcasting, for example, a game needing live broadcasting is opened, at the moment, if the anchor needs to perform function operation on the anchor application and the like, the anchor needs to return to the live broadcasting application again to complete required function operation on an interface of the live broadcasting application, the operation mode is long in operation chain and can influence a live broadcasting process, and therefore an interaction method facilitating man-machine interaction of the anchor in a live broadcasting process needs to be provided.
Disclosure of Invention
An object of the embodiments of the present disclosure is to provide a man-machine interaction scheme based on a anchor application, so as to support the anchor to perform functional operation on a live application in a live process without affecting a live process.
According to a first aspect of the present disclosure, there is provided an interaction method of a anchor application, implemented by a terminal device that installs the anchor application, the method including:
providing an interactive component of the anchor application on other interfaces when the anchor application runs a live broadcast function in a background and the terminal equipment displays other interfaces except an anchor application interface; the interactive assembly comprises an auxiliary control and at least two function controls, and the default states of the at least two function controls are non-display retraction states;
receiving a first user input to the secondary control;
and according to the first user input, when the at least two functional controls are in the retracted state, the at least two functional controls are expanded on a straight line track taking the auxiliary control as a reference point, so that a user can perform interaction associated with an anchor application through the functional controls.
Optionally, the expanding the at least two function controls on a straight-line trajectory with the auxiliary control as a reference point includes:
acquiring the position coordinates of the auxiliary control in a display area of the terminal equipment;
according to the position coordinates, obtaining a straight-line distance from the auxiliary control to the boundary of the display area along a set first direction;
selecting at least one direction as a deployment direction from the first direction and a second direction opposite to the first direction according to the linear distance;
and expanding the at least two function controls on a straight line track which takes the auxiliary control as a reference point and is along the expansion direction.
Optionally, the selecting, according to the linear distance, at least one direction as a deployment direction from the first direction and a second direction opposite to the first direction includes:
selecting the first direction as a deployment direction when the linear distance is greater than or equal to a first set threshold;
and selecting the second direction as the unfolding direction when the linear distance is smaller than the first set threshold value.
Optionally, the at least two function controls include a first function control, where the first function control is a function control having at least two function states, the first function control has an indication icon indicating the function state of the first function control, and different function states correspond to different indication icons; after the receiving the first user input to the secondary control, the method further comprises:
according to the first user input, under the condition that the indication icon of the first function control is arranged on the auxiliary control, the indication icon of the first function control displayed on the auxiliary control is removed.
Optionally, the interactive component further comprises a message box displayed with the auxiliary control as a reference point; wherein the message box is used for displaying messages from the anchor application, the message box comprises a first message box and a second message box, and the size of the second message box is larger than that of the first message box; after said providing the interactive component of the anchor application on the other interface, the method further comprises:
receiving a fourth user input to a first message box in a case where the first message box is displayed;
switching the first message box to the second message box according to the fourth user input;
receiving, with a second message box displayed, a fifth user input to the second message box;
switching the second message box to the first message box according to the fifth user input.
Optionally, after the at least two function controls are deployed on the straight-line trajectory with the auxiliary control as a reference point, the method further includes:
when any one of the set retraction conditions is detected, retracting the at least two function controls;
the set packing condition comprises at least one condition of receiving a third user input to the auxiliary control, expanding the expanding time of the at least two functional controls to a set time and receiving a second user input to the functional controls, wherein the second user input is used for triggering the terminal equipment to execute the functional operation corresponding to the functional controls.
Optionally, the at least two function controls include a first function control, where the first function control is a function control having at least two function states, the first function control has an indication icon indicating the function state where the first function control is located, different function states correspond to different indication icons, and when any one of the set retraction conditions is detected, the method further includes:
acquiring the function state of the first function control;
and displaying an indication icon of the first function control corresponding to the located function state on the auxiliary control under the condition that the located function state is the set function state.
Optionally, after providing the interactive component of the anchor application on the other interface, the method further includes:
and under the condition that the auxiliary control is detected to be positioned in a set edge area of a display interface of the terminal equipment, adsorbing the auxiliary control at the edge part of the display interface corresponding to the set edge area, and collecting other parts of the interactive assembly.
Optionally, the interactive component further comprises a message box displayed with the auxiliary control as a reference point, and the other part comprises the message box and the at least two function controls; in the case that the auxiliary control is attached to the edge part, the method further includes:
acquiring the message quantity of the messages received by the anchor application after the message frame is retracted;
displaying the number of messages on the secondary control.
According to a second aspect of the present disclosure, there is also provided a terminal device comprising a memory for storing a computer program and a processor for executing the interaction method of the anchor application according to the first aspect of the present disclosure under the control of the computer program.
One beneficial effect of the disclosed embodiment is that, in the interaction method of the disclosed embodiment, when other interfaces besides the anchor application interface are displayed during the live broadcast of the anchor application, for example, when the desktop of the terminal device or the interface of the live object is displayed, the interaction component of the anchor application is provided on the other interfaces, the interaction component includes an auxiliary control, the terminal device can expand the function control of the anchor application on the other interfaces according to the trigger of the user (anchor) on the auxiliary control, so that the anchor can perform corresponding function operation on the anchor application through the function control when the terminal device displays the other interfaces, and does not need to return to the anchor application interface from the other interfaces to perform the function operation, which not only can shorten the operation chain of the anchor application performing function operation on the anchor application in the live broadcast process, but also does not affect the live broadcast process, and can effectively improve the user experience of the anchor and audience. On the other hand, in the interaction method of the embodiment of the present disclosure, when the terminal device expands the function controls according to the triggering of the user on the auxiliary controls, the function controls are expanded on the straight track using the auxiliary controls as the reference points, and because the straight track has the characteristic of easy extension, this can conveniently perform the expansion of the function controls, and has better expansibility.
Features of embodiments of the present specification and advantages thereof will become apparent from the following detailed description of exemplary embodiments thereof, which proceeds with reference to the accompanying drawings.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the specification and together with the description, serve to explain the principles of the embodiments of the specification.
FIG. 1 illustrates an application scenario diagram of an interaction method based on a anchor application, in accordance with some embodiments;
fig. 2 is a schematic diagram of a hardware structure of a terminal device for implementing an interaction method according to an embodiment of the present disclosure;
FIG. 3 illustrates a flow diagram of an interaction method according to some embodiments;
FIG. 4 illustrates an interface diagram of a terminal device when performing an interaction method according to some embodiments;
FIG. 5 illustrates an interface diagram of a terminal device when performing interaction methods according to further embodiments;
FIG. 6 illustrates an interface diagram of a terminal device when performing an interaction method according to further embodiments;
FIG. 7 illustrates an interface diagram of a terminal device when performing an interaction method according to still further embodiments;
fig. 8 illustrates a hardware architecture diagram of a terminal device according to some embodiments.
Detailed Description
Various exemplary embodiments of the present specification will now be described in detail with reference to the accompanying drawings.
The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the embodiments, their application, or uses.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, further discussion thereof is not required in subsequent figures.
It should be noted that all actions of acquiring signals, information or data in the present disclosure are performed under the premise of complying with the corresponding data protection regulation policy of the country of the location and obtaining the authorization given by the owner of the corresponding equipment.
The embodiment of the disclosure relates to an interactive scheme for a anchor application to perform functional operation in a live broadcast process through the anchor application installed on a terminal device. Referring to an application scenario shown in fig. 1, a terminal device 1000 such as a mobile phone of an anchor is installed with an anchor application (corresponding to an icon D) and an application (corresponding to an icon E) providing a live object to be live broadcasted, for example, a game, and the terminal device 1000 may also be installed with other applications, and an icon A, B, C, F shown in fig. 1 is an icon of the other applications, and the like. The anchor can be through pushing the live broadcast mode, live to the various operations of oneself in the live broadcast object, in pushing the live broadcast, terminal equipment 1000 can carry out screen picture in real time and record and sound acquisition, form the live broadcast streaming data, and push live broadcast streaming data to the server and carry out the live broadcast in step, thus, the terminal equipment of the live broadcast audience alright after the live broadcast audience gets into the live broadcast room of this anchor, broadcast the live broadcast content (including the screen picture and the sound of this anchor), for example, the anchor carries out the hand trip live broadcast with the mode of pushing the live broadcast, the live broadcast audience can be through respective terminal equipment, receive the game picture and the operation etc. that this anchor explains game operation through terminal equipment 1000 in the live broadcast of this anchor.
When such push-stream live broadcasting is required, as shown in fig. 1, an anchor can click an icon D of an anchor application on a desktop (corresponding to an interface 1) of the terminal device 1000, the terminal device 1000 responds to a click operation of the anchor on the icon D to open the anchor application (corresponding to step (1) in fig. 1), at this time, the terminal device 1000 displays a live broadcast home page (corresponding to an interface 2) of the anchor application, and after the anchor completes a required setting on the live broadcast home page, the anchor can click a live broadcast starting control provided by the live broadcast home page (the control is named as "start live broadcast", for example). In response to the trigger of the anchor on the control, the terminal device 1000 may enter a live main interface (corresponding to interface 3-1) of the anchor application to start live broadcasting (corresponding to step (2) in fig. 1), where as shown in fig. 1, the live main interface of the anchor application may include a first display area MA1 for displaying live prompting information, a second display area MA2 for displaying interactive messages of live viewers, and various function controls, for example, the function controls include a function control FC1 related to a privacy mode, and the anchor may open or close the privacy mode by operating the function control FC1, where the privacy mode is a mode in which pushing of live pictures and sounds to the server is suspended, so that, in the privacy mode, the terminal device of the live viewers may not play pictures and sounds of the anchor any more, and may display prompting information related to the live broadcast that the privacy mode has been opened in the live window.
After the display interface of the terminal device 1000 is switched from the live home page to the live main interface, as shown in fig. 1, the anchor application may display prompt information about live operation in a first display area MA1 of the live main interface, where the prompt information includes, for example, information for prompting the anchor to return to a desktop to open a live object to be live, and at this time, the anchor may trigger the terminal device 1000 to return to the desktop from the live main interface by an operation of sliding the live main interface upward (corresponding to step (3)). After the terminal device 1000 returns to the desktop, the terminal device 1000 may open the live object according to an operation of the anchor clicking the icon E of the live object (corresponding to step (4)). After the live object is opened, the terminal device 1000 displays an interface (corresponding to the interface 4) of the live object, and at this time, the live viewers can see the interface of the live object in the live room of the anchor through their respective terminal devices.
When the anchor performs live broadcast on an interface of a live target, if a function operation needs to be performed on an anchor application, for example, if the anchor wants to start a privacy mode, the general operations include: first, a first operation of returning to the desktop from the interface of the live broadcast object is executed, and at this time, the terminal device 1000 returns to the desktop from the interface of the live broadcast object according to the first operation (corresponding to step (5)); then, a second operation of re-opening the anchor application is executed, and at this time, the terminal device 1000 switches from the desktop to the live main interface according to the second operation (corresponding to step (6)); then, the anchor may execute a third operation of opening the privacy mode by clicking the function control FC1 on the live main interface, at this time, the terminal device 1000 opens the privacy mode according to the third operation, and updates the live main interface from the interface 3-1 in fig. 1 to the interface 3-2. It can be seen that, when the display interface of the terminal device 1000 is switched from the anchor application interface to another interface during live broadcasting, where the other interface is, for example, a desktop or an interface of a live target, if the anchor application needs to be functionally operated, the anchor application needs to perform a series of operations, and a corresponding operation chain is relatively long, so that the operation is not easy to perform, and a live broadcasting process may be affected.
In order to solve the problem of the above operation chain length, the present disclosure provides an interaction scheme that, in a case that a terminal device displays another interface during live broadcast of a live broadcast application, an interaction component of a anchor application is provided on the other interface to support the anchor to interact with the anchor application through the interaction component on the other interface.
Fig. 2 shows a hardware structure diagram of an alternative terminal device 1000 for implementing the interaction method of the embodiment of the present disclosure. The terminal device 1000 is installed with a anchor application supporting the interaction method of the embodiment of the present disclosure. The terminal device 1000 may be a mobile phone, a tablet computer, a wearable device, etc., and is not limited herein.
As shown in fig. 2, the terminal device 1000 can include a processor 1101, a memory 1102, an interface device 1103, a communication device 1104, an output device 1105, an input device 1106, and so on. The hardware configuration shown in fig. 2 is merely illustrative and is in no way intended to limit the present disclosure, its application, or uses.
The processor 1101 is configured to execute a computer program that may be written in an instruction set of architectures such as x86, arm, RISC, MIPS, SSE, and the like. The memory 1102 includes, for example, a ROM (read only memory), a RAM (random access memory), a nonvolatile memory such as a hard disk, and the like. The interface device 1103 includes, for example, a USB interface, a headphone interface, and the like. The communication device 1104 can perform wired or wireless communication, for example, the communication device 1105 can include at least one short-range communication module, such as any module for performing short-range wireless communication based on short-range wireless communication protocols such as Hilink protocol, wiFi (IEEE 802.11 protocol), mesh, bluetooth, zigBee, thread, Z-Wave, NFC, UWB, liFi, etc., and the communication device 1104 can also include a long-range communication module, such as any module for performing WLAN, GPRS, 2G/3G/4G/5G long-range communication. The output device 1105 may include, for example, a liquid crystal display or touch screen display, speakers, etc. The input device 1106 may include, for example, a touch screen, a keyboard, a microphone, various sensors, and the like.
In this embodiment, the memory 1102 of the terminal device 1000 is configured to store a computer program, which is configured to control the processor 1101 to operate so as to control the terminal device 1000 to execute the interaction method according to any embodiment of the present disclosure when the anchor application is running.
The method steps of the interaction method of the anchor application according to an embodiment of the present disclosure are explained next. Fig. 3 shows a schematic flowchart of an interaction method according to some embodiments, and the method of the present embodiment is described by taking the terminal device 1000 shown in fig. 1 and fig. 2 as an implementation subject, where the method of the present embodiment is implemented by the terminal device 1000 during a live broadcast of a anchor application, and the interaction method of the present embodiment includes the following steps S310 to S330:
and S310, providing interactive components of the anchor application on other interfaces under the condition that the terminal equipment displays other interfaces except the anchor application interface when the anchor application runs the live function in the background.
In this embodiment, the anchor is applied to the period of the background live broadcasting function, that is, the anchor is live through the anchor application, and the period of the anchor applied to the background live broadcasting function is: and the time period from the live broadcast starting by the anchor application according to the trigger of the anchor to the live broadcast ending by the anchor application according to the trigger of the anchor.
During the live broadcast by the anchor application installed on the terminal device 1000, referring to fig. 1, an interface displayed by the terminal device 1000 may be an anchor application interface, which is also an interface of the anchor application, where the anchor application interface includes a live broadcast home page (e.g., interface 2 in fig. 1), a live broadcast home interface (e.g., interface 3-1 or interface 3-2 in fig. 1), and the like, or may be an interface other than the anchor application interface, where the other interface may be a desktop of the terminal device 1000 (e.g., interface 1 in fig. 1), may also be an interface of a live broadcast object (e.g., interface 4 in fig. 1), and may also be an interface of another application installed on the terminal device 1000, and the like, which is not limited herein. Other interfaces in this embodiment may include any interface other than the anchor application interface.
In this embodiment, during the live function of the anchor application running, the terminal device 1000 displays other interfaces except the anchor application interface, and runs in the background on behalf of the anchor application.
In this embodiment, as shown in fig. 4, in a case that the terminal device 1000 displays another interface during live broadcasting of the anchor application, an interactive component IC of the anchor application is provided on the other interface, and the anchor can interact with the anchor application through the interactive component IC in a case that the terminal device 1000 displays another interface, for example, the anchor application is subjected to function operation through the interactive component IC. In fig. 4, the other interface displayed by the terminal device 1000 is a game interface as a live broadcast object, but the other interface is not limited to this, and the other interface may be any interface other than the anchor application interface, and is not limited herein.
In the case that the terminal device 1000 displays the anchor application interface, since the anchor can directly interact with the anchor application through the anchor application interface, the terminal device 1000 may not need to display the interactive component IC in the case that the anchor application interface is displayed.
In this embodiment, referring to fig. 4, the interactive component IC includes an auxiliary control IC1 and at least two functional controls, where a functional control is a control for a anchor (user) to perform functional operation on an anchor application. Fig. 4 shows two function controls, namely a function control IC21 and a function control IC22, where the function control IC21 is a function control that returns to a live main interface of the anchor application, and the function control IC22 is a switch-class function control for turning on and off the privacy mode.
In this embodiment, the number and the function type of the function control included in the interactive component IC may be set by a developer of the anchor application, and the anchor application may support a user to modify the setting, or may not support the user to modify the setting, which is not limited herein.
The default state of these functionality controls is a stowed state that is not displayed, as shown in interface 4a in fig. 4, to reduce occlusion of other interfaces. The auxiliary control IC1 is a control for expanding and collapsing the functional controls, and the default state of the functional controls is a normal state when the anchor (user) does not perform the first user input for expanding the functional controls with respect to the auxiliary control IC1, for example, as shown in fig. 1, when the terminal device 1000 returns from the anchor main interface to the desktop in step (3), the interactive component IC shown as the interface 4a in fig. 4 is provided on the desktop, and at this time, the functional controls are in the default state, that is, in the invisible collapsed state.
The auxiliary control IC1 may be a floating control capable of moving on other interfaces, and the terminal device 1000 may move the auxiliary control IC1 from a first position to a second position in a display area of the mobile terminal 1000 according to a movement operation of the anchor on the auxiliary control IC1, where the first position is a starting point of the movement operation, and the second position is an end point of the movement operation.
The auxiliary control IC1 may have an application identifier corresponding to a anchor application, and the anchor may determine a correspondence between the interactive component IC and the anchor application according to the application identifier.
In step S320, a first user input to the auxiliary control is received.
The first user input is an input for triggering the terminal device 1000 to expand or collapse the function control of the interactive component. The first user input may be set as desired, and may be, for example, an input to click an auxiliary control.
Step S330, according to the first user input, when the at least two function controls are in the retracted state, the at least two function controls are deployed on the linear trajectory using the auxiliary control as the reference point.
As shown in fig. 4, when receiving a first user input such as clicking the auxiliary control IC1, if the function controls are in the retracted state in the interface 4a at this time, the terminal device 1000 expands the function controls on a straight line trajectory with the auxiliary control IC1 as a reference point on another interface, so that the function controls are in the expanded state as shown in the interface 4 b. At this time, the anchor may execute corresponding functional operations on the anchor application through the functional controls, for example, the anchor may trigger the terminal device 1000 to open the privacy mode of the anchor application through the functional control IC22, and for example, the anchor may also trigger the terminal device 1000 to directly return to the live main interface (corresponding interface 3-1) of the anchor application in fig. 1 from another interface shown by the interface 4b in fig. 4 through the functional control IC21, without returning to the anchor application interface to execute the required functional operations, thereby reducing an operation chain of the anchor executing the functional operations on the anchor application.
And when at least two function controls are in the expanded state, the terminal device 1000 may pack the function controls with respect to the auxiliary control IC1 according to the first user input, so that the function controls are in the non-displayed pack state, and at this time, the display interface of the terminal device 1000 returns to the interface 4a of fig. 4 from the interface 4b of fig. 4.
In this embodiment, at least two function controls are expanded on a straight-line trajectory taking the auxiliary control as a reference point to represent: the expanded function controls and the auxiliary controls have a determined relative position relationship, and the relative position relationship is kept unchanged when the position of the auxiliary controls in the display area of the mobile terminal is changed.
In this embodiment, for the curve track, because the straight line track that uses the auxiliary control as the benchmark has the characteristics of the mutual decoupling of the expansion position between easy extension and the functional control, consequently, this kind of expansion mode can conveniently carry out the extension of functional control, has better expansibility.
The deployment direction corresponding to the linear trajectory may be set as needed, and the linear trajectory may be a vertically downward trajectory with the auxiliary control IC1 as a reference point as shown in fig. 4, or may be a vertically upward trajectory with the auxiliary control IC1 as a reference point as shown in fig. 5. The straight-line trajectory may also be a trajectory in other directions, such as a trajectory in a horizontal direction, and the like, which is not limited herein. In the present embodiment, the above vertical downward and vertical upward are directions in the display area of the terminal device 1000, not absolute directions of the terminal device in space, and the vertical direction (including vertical upward and vertical downward) in the display area may be a length direction of the terminal device 1000 or a width direction of the terminal device 1000 according to the posture of the terminal device 1000.
In some embodiments, the direction of the straight-line trajectory may be preset, for example, the straight-line trajectory is a vertically downward trajectory with the auxiliary control IC1 as a reference point.
In other embodiments, the unfolding direction corresponding to the straight-line trajectory may also be determined according to the position coordinates of the auxiliary control IC1 in the display area of the terminal device 1000, so that the function controls can be displayed more friendly. In these embodiments, the expanding at least two function controls on the straight-line trajectory with the auxiliary control as the reference point in step S330 may include steps S3311 to S3314:
step S3311, a position coordinate of the auxiliary control in the display area of the terminal device is obtained.
The display area of the terminal device is the largest screen area of the terminal device capable of displaying pictures.
The position coordinates of the auxiliary control may refer to the position coordinates of the center point of the auxiliary control.
Step S3312, according to the position coordinate, a straight-line distance from the auxiliary control to the boundary of the display area along the set first aspect is obtained.
The first direction may be a default set deployment direction. For example, the first direction is a vertically downward direction pointing from the auxiliary control to the lower boundary of the display area, and in step S3312, the straight-line distance from the auxiliary control to the boundary of the display area along the set first direction is the straight-line distance between the auxiliary control and the lower boundary of the display area in the vertically downward direction. For another example, the first direction is a vertically upward direction pointing from the auxiliary control to the upper boundary of the display area, and in step S3312, the linear distance from the auxiliary control to the boundary of the display area along the set first aspect is the linear distance between the auxiliary control and the upper boundary of the display area in the vertically upward direction.
Step S3313 selects at least one direction as the deployment direction, from among the first direction and a second direction opposite to the first direction, according to the straight-line distance.
In step S3313, the first direction, the second direction, or both of the first direction and the second direction may be selected as the development direction of the corresponding linear trajectory, based on the comparison result between the linear distance and the set threshold value.
In some embodiments, the selecting of at least one direction as the deployment direction in the first direction and the second direction opposite to the first direction according to the linear distance in the step S3313 may include S3313-1 and S3313-2:
in step S3313-1, in the case where the straight distance is greater than or equal to the first set threshold value, the first direction is selected as the deployment direction.
The first set threshold is greater than or equal to the expansion lengths of at least two function controls, and when the linear distance is greater than or equal to the first set threshold, the linear distance is sufficient to completely display the expanded function controls, that is, the controls with the display area below the auxiliary controls are sufficient to expand the function controls.
For example, the first direction is a vertically downward direction, and as shown in the section 4b in fig. 4, in the case where the linear distance between the auxiliary control IC1 and the lower boundary of the display area is greater than or equal to the first set threshold, the functional controls IC21 and IC22 may be deployed in the vertically downward direction with the auxiliary control IC1 as a reference point.
In step S3313-2, when the linear distance is smaller than the second set threshold value, the second direction is selected as the deployment direction.
In step S3313-2, the second direction is opposite to the first direction, i.e., 180 degrees is formed between the first direction and the second direction.
For example, the first direction is a vertically downward direction, and as shown in the interface of fig. 5, when the linear distance between the auxiliary control IC1 and the lower boundary of the display area is smaller than the second set threshold, the auxiliary control IC1 is used as a reference point to expand the function controls IC21 and IC22 in a vertically upward direction (i.e., the second direction).
The second set threshold may be equal to the first set threshold. In this way, in the case where the linear distance is smaller than the first set threshold, i.e., on the linear trajectory extending in the second direction with the auxiliary control as a reference point, at least two function controls are deployed.
The second set threshold may be smaller than the first set threshold, in which case, in step S3313, at least one direction is selected as the deployment direction from among the first direction and a second direction opposite to the first direction according to the linear distance, and the method may further include: when the linear distance is greater than or equal to a second set threshold and less than a first set threshold, the first direction and the second direction are selected as the deployment direction.
In a case where the first direction and the second direction are selected as the deployment directions, the terminal device 1000 deploys at least two function controls on a first straight-line trajectory in the first direction and a second straight-line trajectory in the second direction with the auxiliary control as a reference point. At this time, the function controls are allocated on the first straight-line trajectory and the second straight-line trajectory for expansion, and the allocation scheme may be preset, or may be determined according to the straight-line distance and the number of the function controls, which is not limited herein.
Step S3314, at least two function controls are expanded on a straight line trajectory along the expansion direction with the auxiliary control as a reference point.
In step S3314, when the unfolding direction is, for example, the first direction facing vertically downward, referring to the interface 4b in fig. 4, at least two function controls are unfolded on a straight line trajectory along the first direction with the auxiliary control as a reference point. When the unfolding direction is a second direction, e.g., vertically upward, referring to the interface in fig. 5, on a straight-line trajectory in the second direction with the auxiliary control as a reference point, at least two function controls are unfolded so that the function controls can be fully displayed in the display area when unfolded.
As can be seen from the above steps S310 to S330, in the interaction method according to this embodiment, when the anchor displays other interfaces such as a desktop or an interface of a live broadcast object, the terminal device 1000 may be triggered by the auxiliary control IC1 to expand the function control of the interaction component, and perform corresponding function operation on the anchor application through the expanded function control, without returning to the anchor application interface from other interfaces to execute the function operation, which may effectively shorten an operation chain of the anchor performing function operation on the anchor application in a live broadcast process. In addition, the auxiliary control controls the retraction and the expansion of the function control, so that the interaction assembly of the anchor application can be provided on other interfaces, and the shielding of the interaction assembly on other interfaces is reduced. Moreover, the functional controls are expanded on a straight line track taking the auxiliary controls as datum points, so that the functional controls can be conveniently expanded, for example, the functional controls can be added at any time according to needs, and the expansion performance is better.
After at least two function controls are deployed on the straight-line trajectory with the auxiliary control as the reference point in step S330, the anchor may trigger the terminal device 1000 to perform corresponding function operations through the function controls. Therefore, in some embodiments, the method may further include the following steps S340 and S350:
step S340, receiving a second user input to the functionality control.
Step S350, according to the second user input, executing a function operation corresponding to the function control.
As shown in fig. 4, for example, the function control for which the second user input is directed is the function control IC21 in fig. 4, and upon receiving the second user input to the function control IC21, the interface 4b in fig. 4 is returned to the live main interface 3-1 or the live main interface 3-2 of the anchor application in fig. 1. For another example, the function control for which the second user input is directed is the function control IC22 in fig. 4, and when the second user input to the function control IC22 is received, if the function control IC22 is in the off-function state in which the privacy mode is off, the function operation in which the privacy mode is on will be performed, and if the function control IC22 is in the on-function state in which the privacy mode is on, the function operation in which the privacy mode is off will be performed.
It can be seen that, among these function controls, at least some of the controls are the first function control having at least two function states, for example, the first function control is a switch-type function control having an on function state and an off function state, just like the above function control IC22 in the privacy mode, the first function control may have an indication icon indicating the function state where the first function control is located, and different function states correspond to different indication icons, so that the anchor specifies the function state where the anchor application is located on the function according to the indication icon. Taking the function control IC22 of the privacy mode as an example, in the off-function state where the privacy mode is off, the indication icon is, for example, an eye icon as shown in the interface 4b in fig. 4, and in the on-function state where the privacy mode is on, the indication icon is, for example, an icon with a dash line added on the eye as shown in the interface 4c in fig. 4.
In step S340, if the function control targeted by the second user input is the first function control, the executing, in step S350, the function operation corresponding to the first function control may include: and executing the function operation corresponding to the first function control in the function state. For example, the first function control includes an open function state and a close function state, and the corresponding function operation in the open function state is an operation for closing the corresponding function, and the function operation in the close function state is an operation for opening the corresponding function.
In step S340, if the function control targeted by the second user input is the first function control, after the execution of the function operation corresponding to the first function control in the function state, the method may further include: and switching the function state and the indication icon of the first function control according to a set switching rule.
Under the condition that the first function control has an open function state and a close function state, the switching rule is as follows: and switching the functional state of the first functional control from the first functional state before receiving the second user input to the second functional state, and switching the indication icon of the first functional control from the first indication icon before receiving the second user input to the second indication icon. The first function state is an open function state or a close function state, the second function state is a function state opposite to the first function state, the first indication icon is an indication icon corresponding to the first function state, and the second indication icon is an indication icon corresponding to the second function state.
After at least two function controls are deployed on the straight-line trajectory based on the auxiliary control in step S330, the terminal device 1000 may automatically retract the function controls according to the trigger of the anchor (user) to reduce the occlusion of the interactive component on other interfaces. Therefore, in some embodiments, after the step S330 of expanding at least two function controls on the straight-line trajectory with the auxiliary control as the reference point, the method may further include: and in the case of detecting that any one of the set retracting conditions is set, retracting at least two function controls so that the function controls are in the retracting state which is not displayed again.
As shown in fig. 4, when the function controls are in the expanded state shown by the interface 4b in fig. 4, the terminal device 1000, if any condition is detected, will collapse the function controls, so that the function controls return to the collapsed state shown by the interface 4c in fig. 4.
The set stow condition may include at least one of the following conditions:
conditional 1, a third user input to the secondary control is received.
The third user input may be the same form of input as the first user input described above, such as a single click of an auxiliary control. Corresponding to condition 1, the anchor may trigger terminal device 1000 to collapse the functional controls with respect to the auxiliary controls by performing a third user input to the auxiliary controls.
And 2, when the expansion time of the at least two function controls reaches the set time, expanding the at least two function controls.
The set time length can be set according to needs, and the set time length can be set in a range of 3s-10s, for example, 5s, so that automatic retraction of the function control is realized. For this condition, if the anchor causes the function controls to expand due to the false touch of the auxiliary control, or after the anchor completes the required function operation, the terminal device 1000 may automatically retract the function controls when the expansion reaches the set length based on this condition 2.
Conditional 3, a second user input to the functionality control is received.
In the case where the set retraction condition includes this condition 3, the terminal device 1000 may retract the function controls immediately after receiving a second user input to the function controls by the anchor, that is, after the anchor completes a required function operation based on the function controls, so as to control the deployment duration to be the shortest in the case where the anchor completes an effective operation.
And 4, the auxiliary control is positioned in a set edge area of the display area.
The set edge region may be, for example, an edge region having a set width located on both left and right sides of the display region, or an edge region having a set width located on the left or right side of the display region, and is not limited herein. Under the condition that the set retraction condition includes the condition 4, the terminal device 1000 may retract the function controls when it is detected that the position of the auxiliary control is located in the set edge region, and correspondingly, the anchor may trigger the terminal device 1000 to retract the function controls by dragging the auxiliary control to the set edge region.
In a case that the at least two function controls include the first function control, since collapsing these function controls may affect the anchor to determine the function state of the first function control according to the indication icon of the first function control, in some embodiments, in a case that any one of the set collapsing conditions is detected, for example, after collapsing these function controls, the method may further include: acquiring the function state of the first function control; and displaying an indication icon of the first function control corresponding to the function state on the auxiliary control under the condition that the function state is the set function state.
The set functional state may be a partial functional state of the at least two functional states of the first functionality control. With respect to the additional functionality state, the anchor can be determined from an indication icon on the secondary control that does not have the first functionality control.
Taking fig. 4 as an example, the interactive component IC includes a function control IC22 in the privacy mode, where the function control IC22 is used as a first function control and has an open function state and a close function state, and the terminal device 1000 obtains the function state where the function control IC22 is located when detecting any one of the set retraction conditions, for example, in the expansion state shown by the interface 4b in fig. 4, the function control IC22 is triggered by the anchor and is switched from the close function state of the interface 4b to the open function state, and the open function state is the set function state, so that when retracting the function controls, as shown by the interface 4c in fig. 4, the terminal device 1000 displays the indication icon IC221 corresponding to the open function state of the privacy mode on the auxiliary control IC 1.
In an embodiment that the auxiliary control may display the indication icon of the first function control when the function controls are in the collapsed state, the mobile terminal 1000 may remove the indication icon of the first function control displayed on the auxiliary control when the function controls are expanded, and directly perform the indication of the function state through the expanded first function control itself. Thus, in some embodiments, the method may further include, after receiving the first user input to the auxiliary control at step S320 above, the steps of: according to the first user input, under the condition that the indication icon of the first function control is arranged on the auxiliary control, the indication icon of the first function control displayed on the auxiliary control is removed.
For example, for the interface 4c in fig. 4, if the anchor performs a first user input of clicking the auxiliary control IC1 in the state shown in the interface 4c, the terminal device 1000 will expand the function controls according to the first user input and remove the indication icon IC221 displayed on the auxiliary control IC1 when receiving the first user input, and at this time, the expanded function control IC22 will display the indication icon IC221.
In order to enable the anchor to see the message of the anchor application when the terminal device 1000 displays other interfaces, so as to perform interaction with the audience according to the message, in some embodiments, the interaction component may further include a message box displayed with the auxiliary control as a reference point, and the message box is used for displaying a message from the anchor application, the message is also a message displayed in the second display area MA2 of the live main interface in fig. 1, the message includes an audience interaction message, and may further include a platform announcement message about the interaction message, and the like.
In these embodiments, the message frame comprises a first message frame IC31 and a second message frame IC32 as in fig. 6, the size of the second message frame IC32 is larger than the size of the first message frame IC31, i.e. the size of the second message frame IC32 in at least one direction is larger than the size of the first message frame IC31 in the corresponding direction, e.g. the size of the second message frame IC32 in the vertical direction of the display area is larger than the size of the first message frame IC31 in the vertical direction. In this way, the second message frame IC32 can present more messages at the same time with respect to the first message frame IC 31.
In these embodiments, the first message frame IC31 and the second message frame IC32 are displayed alternatively, and the terminal device 1000 supports the anchor to select the required message frame, wherein the interaction component defaults to the displayed message frame as the first message frame IC31, so as to reduce the occlusion of other interfaces. Therefore, after providing the interactive component of the anchor application on the other interface in step S310 above, the method may further include the steps of: receiving a fourth user input to the first message box in a case where the first message box is displayed; switching the first message frame into a second message frame according to the fourth user input; receiving a fifth user input to the second message box in a case where the second message box is displayed; and switching the second message frame into the first message frame according to the fifth user input.
As shown in fig. 5, when the terminal device 1000 displays the first message frame IC31 in the interface 5a, the first message frame IC31 has a first switching control displayed as a downward arrow, for example, and when the terminal device 1000 receives the fourth user input of clicking the first switching control, the first message frame IC31 may be switched to the second message frame IC32 shown in the interface 5 b. Conversely, when the terminal device 1000 is displaying the second message frame IC32 in the interface 5b, the second message frame IC32 has the second switching control displayed as an upward arrow, for example, at this time, the terminal device 1000 may switch the second message frame IC32 to the first message frame IC32 in the interface 5a when receiving the fifth user input of clicking the second switching control.
In these embodiments, terminal device 1000 can scroll through the messages of the anchor application in the message box until the latest message is displayed in the message box.
When switching the message frame, for example, switching the first message frame IC31 to the second message frame IC32, the terminal device 1000 may cause the first message frame IC31 to disappear by setting the transparency of the first message frame IC31 from 1 (corresponding to opaque) to 0 (corresponding to transparent), and cause the second message frame IC32 to appear on the other interface by setting the transparency of the second message frame IC32 from 0 to 1.
In some embodiments, the interactive component may be attached to an edge of the display area, and at this time, the interactive component will not substantially obstruct other interfaces. In these embodiments, after providing the interactive component of the anchor application on the other interface in step S310, the method may further include: and under the condition that the auxiliary control is detected to be positioned in the set edge area of the display area of the terminal equipment, adsorbing the auxiliary control at the edge part of the display interface corresponding to the set edge area, and collecting other parts of the interactive assembly.
The other part is also the part of the interactive component except the auxiliary control, the other part at least comprises the above function control, and in case that the interactive component also comprises a message box, the other part also comprises the message box. FIG. 7 shows the adsorption state of the interactive component in three different situations, and it can be seen that in any adsorption state, the functionality control and the message box will not be displayed any more.
The set edge region is, for example, an edge region having a set width located on the left and/or right side of the display region. When detecting that the auxiliary control enters the set edge region, the terminal device 1000 automatically adsorbs the auxiliary control to an edge portion corresponding to the edge region where the auxiliary control enters, where the edge portion may be a preset portion, or a portion aligned with a position coordinate of the auxiliary control in the edge region, and is not limited herein.
Under the condition that the auxiliary control is adsorbed at the edge part of the display interface, if the auxiliary control is provided with the indication icon of the first function control, the terminal device 1000 may retain the indication icon on the auxiliary control so as to keep the indication of the function state of the first function control in the adsorption state. Fig. 7 shows the adsorption state of the interactive component under different conditions, where the adsorption state of the intermediate position is the adsorption state of the indication icon of the auxiliary control with the first function control, and at this time, the auxiliary control IC still displays the indication icon IC221 in the adsorption state.
Terminal equipment 1000 can increase the transparency of the interactive component under the condition that the auxiliary control is adsorbed at the edge of the display interface, so as to reduce the shielding of the edge. In the suction state, the transparency of the interactive component may be set to be greater than 50%, for example, the transparency of the interactive component may be set to be 60%, etc.
Under the condition that the terminal device 1000 adsorbs the auxiliary control at the edge of the display interface, as shown in fig. 7, only a part of the auxiliary control may be displayed, so as to reduce the shielding area of the auxiliary control IC1 on other interfaces.
Under the condition that the terminal device 1000 adsorbs the auxiliary control to the edge of the display interface, because the message frame is collected at this time, the method may further include: acquiring the message quantity of messages received by the anchor application after the message frame is retracted; and displaying the message number on the auxiliary control. As shown in the suction state of the uppermost and intermediate positions in fig. 7, the auxiliary control IC1 is displayed with the message number IC33. In this way, the anchor can be prompted about the condition of the unread message, and the anchor can trigger the terminal device 1000 to redisplay the message frame through the operation of dragging the auxiliary control to the central area of the display area.
The embodiment of the present disclosure also provides a terminal device, as shown in fig. 8, the terminal device 800 includes a processor 810 and a memory 820, where the memory 820 is used to store a computer program, and the computer program is used to control the processor 810 to operate so as to control the terminal device 800 to execute the interaction method for the anchor application according to any embodiment of the present disclosure.
The disclosed embodiments also provide a computer-readable storage medium storing a computer program that, when executed by a processor, implements an interaction method for a anchor application according to any of the disclosed embodiments.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, as for the device and apparatus embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference may be made to the partial description of the method embodiments for relevant points.
The foregoing description has been directed to specific embodiments of this disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
Embodiments of the present description may be an apparatus, method, and/or computer program product. The computer program product may include a computer-readable storage medium having computer-readable program instructions embodied therewith for causing a processor to implement aspects of embodiments of the present description.
The computer readable storage medium may be a tangible device that can hold and store the instructions for use by the instruction execution device. The computer readable storage medium may be, for example, but not limited to, an electronic memory device, a magnetic memory device, an optical memory device, an electromagnetic memory device, a semiconductor memory device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a Static Random Access Memory (SRAM), a portable compact disc read-only memory (CD-ROM), a Digital Versatile Disc (DVD), a memory stick, a floppy disk, a mechanical coding device, such as punch cards or in-groove projection structures having instructions stored thereon, and any suitable combination of the foregoing. Computer-readable storage media as used herein is not to be construed as transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission medium (e.g., optical pulses through a fiber optic cable), or electrical signals transmitted through electrical wires.
The computer-readable program instructions described herein may be downloaded from a computer-readable storage medium to a respective computing/processing device, or to an external computer or external storage device via a network, such as the internet, a local area network, a wide area network, and/or a wireless network. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. The network adapter card or network interface in each computing/processing device receives computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in the respective computing/processing device.
The computer program instructions for carrying out operations for embodiments of the present description may be assembly instructions, instruction Set Architecture (ISA) instructions, machine related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The computer readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider). In some embodiments, an electronic circuit, such as a programmable logic circuit, a Field Programmable Gate Array (FPGA), or a Programmable Logic Array (PLA), can execute computer-readable program instructions to implement various aspects of embodiments of the present specification by utilizing state information of the computer-readable program instructions to personalize the electronic circuit.
Aspects of embodiments of the present specification are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (devices) and computer program products according to embodiments of the specification. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer-readable program instructions.
These computer-readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer-readable program instructions may also be stored in a computer-readable storage medium that can direct a computer, programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer-readable medium storing the instructions comprises an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer, other programmable apparatus or other devices implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present description. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions. It is well known to those skilled in the art that implementation by hardware, by software, and by a combination of software and hardware are equivalent.
The foregoing description of the embodiments of the present specification has been presented for purposes of illustration and description, but is not intended to be exhaustive or limited to the embodiments disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope of the described embodiments. The terminology used herein is chosen in order to best explain the principles of the embodiments, the practical application, or improvements made to the technology in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.
Claims (10)
1. An interaction method based on a anchor application, characterized in that, the interaction method is implemented by a terminal device installing the anchor application, and the method comprises:
providing an interactive component of the anchor application on other interfaces when the anchor application runs a live broadcast function in a background and the terminal equipment displays other interfaces except an anchor application interface; the interactive assembly comprises an auxiliary control and at least two function controls, and the default states of the at least two function controls are non-display retraction states;
receiving a first user input to the secondary control;
and according to the first user input, when the at least two functional controls are in the retracted state, the at least two functional controls are expanded on a straight line track taking the auxiliary control as a reference point, so that a user can perform interaction associated with an anchor application through the functional controls.
2. The method of claim 1, wherein the expanding the at least two functional controls on a straight-line trajectory referenced by the auxiliary control comprises:
acquiring the position coordinates of the auxiliary control in a display area of the terminal equipment;
according to the position coordinates, obtaining a straight-line distance from the auxiliary control to the boundary of the display area along a set first direction;
selecting at least one direction as a deployment direction from the first direction and a second direction opposite to the first direction according to the linear distance;
and expanding the at least two function controls on a straight-line track which takes the auxiliary control as a reference point and is along the expansion direction.
3. The method of claim 2, wherein selecting at least one direction as a deployment direction from the first direction and a second direction opposite to the first direction according to the linear distance comprises:
selecting the first direction as a deployment direction when the linear distance is greater than or equal to a first set threshold;
and selecting the second direction as the unfolding direction when the straight-line distance is smaller than the first set threshold value.
4. The method according to claim 1, wherein the at least two function controls comprise a first function control, wherein the first function control is a function control having at least two function states, the first function control has an indication icon indicating the function state of the first function control, and different function states correspond to different indication icons; after the receiving the first user input to the secondary control, the method further comprises:
according to the first user input, under the condition that the indication icon of the first function control is arranged on the auxiliary control, the indication icon of the first function control displayed on the auxiliary control is removed.
5. The method of claim 1, wherein the interactive component further comprises a message box displayed with the auxiliary control as a reference point; wherein the message box is used for displaying messages from the anchor application, the message box comprises a first message box and a second message box, and the size of the second message box is larger than that of the first message box; after said providing the interactive component of the anchor application on the other interface, the method further comprises:
receiving a fourth user input to a first message box in a case where the first message box is displayed;
switching the first message box to the second message box according to the fourth user input;
receiving, with a second message box displayed, a fifth user input to the second message box;
switching the second message box to the first message box according to the fifth user input.
6. The method of any of claims 1-5, wherein after the deploying the at least two functional controls on a linear trajectory referenced by the auxiliary control, the method further comprises:
when any one of the set retraction conditions is detected, retracting the at least two function controls;
the set packing condition comprises at least one condition of receiving a third user input to the auxiliary control, expanding the expanding time of the at least two functional controls to a set time and receiving a second user input to the functional controls, wherein the second user input is used for triggering the terminal equipment to execute the functional operation corresponding to the functional controls.
7. The method according to claim 6, wherein the at least two function controls include a first function control, wherein the first function control is a function control having at least two function states, the first function control has an indication icon indicating the function state of the first function control, different function states correspond to different indication icons, and in case that any one of the set stowage conditions is detected, the method further comprises:
acquiring the function state of the first function control;
and displaying an indication icon of the first function control corresponding to the located function state on the auxiliary control under the condition that the located function state is the set function state.
8. The method of any of claims 1-5, wherein after providing the interactive component of the anchor application on the other interface, the method further comprises:
and under the condition that the auxiliary control is detected to be positioned in a set edge area of a display interface of the terminal equipment, adsorbing the auxiliary control at the edge part of the display interface corresponding to the set edge area, and collecting other parts of the interactive assembly.
9. The method of claim 8, wherein the interactive component further comprises a message box displayed with the auxiliary control as a reference point, and wherein the other portion comprises the message box and the at least two functionality controls; in the case that the auxiliary control is attached to the edge part, the method further includes:
acquiring the message quantity of the messages received by the anchor application after the message frame is retracted;
displaying the number of messages on the secondary control.
10. A terminal device, characterized in that it comprises a memory for storing a computer program and a processor for executing the interaction method according to any one of claims 1 to 9 under the control of said computer program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210837826.8A CN115314725B (en) | 2022-07-15 | 2022-07-15 | Interaction method based on anchor application and terminal equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210837826.8A CN115314725B (en) | 2022-07-15 | 2022-07-15 | Interaction method based on anchor application and terminal equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115314725A true CN115314725A (en) | 2022-11-08 |
CN115314725B CN115314725B (en) | 2023-08-04 |
Family
ID=83856333
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210837826.8A Active CN115314725B (en) | 2022-07-15 | 2022-07-15 | Interaction method based on anchor application and terminal equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115314725B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150135234A1 (en) * | 2013-11-14 | 2015-05-14 | Smiletime, Inc. | Social multi-camera interactive live engagement system |
CN107783830A (en) * | 2017-10-23 | 2018-03-09 | 华为技术有限公司 | A kind of multitask management process and terminal device |
CN109246466A (en) * | 2018-10-30 | 2019-01-18 | 北京达佳互联信息技术有限公司 | Video broadcasting method, device and electronic equipment |
CN110837406A (en) * | 2019-11-11 | 2020-02-25 | 青岛海信移动通信技术股份有限公司 | Display method of floating ball view and terminal |
CN111935498A (en) * | 2020-10-16 | 2020-11-13 | 北京达佳互联信息技术有限公司 | Live broadcast interaction method and device and electronic equipment |
CN112272822A (en) * | 2019-04-15 | 2021-01-26 | 苹果公司 | System, method, and user interface for interacting with multiple application windows |
CN114210071A (en) * | 2021-11-26 | 2022-03-22 | 腾讯科技(深圳)有限公司 | Game live broadcast display method and device, storage medium and electronic equipment |
-
2022
- 2022-07-15 CN CN202210837826.8A patent/CN115314725B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150135234A1 (en) * | 2013-11-14 | 2015-05-14 | Smiletime, Inc. | Social multi-camera interactive live engagement system |
CN107783830A (en) * | 2017-10-23 | 2018-03-09 | 华为技术有限公司 | A kind of multitask management process and terminal device |
CN109246466A (en) * | 2018-10-30 | 2019-01-18 | 北京达佳互联信息技术有限公司 | Video broadcasting method, device and electronic equipment |
CN112272822A (en) * | 2019-04-15 | 2021-01-26 | 苹果公司 | System, method, and user interface for interacting with multiple application windows |
CN110837406A (en) * | 2019-11-11 | 2020-02-25 | 青岛海信移动通信技术股份有限公司 | Display method of floating ball view and terminal |
CN111935498A (en) * | 2020-10-16 | 2020-11-13 | 北京达佳互联信息技术有限公司 | Live broadcast interaction method and device and electronic equipment |
CN114210071A (en) * | 2021-11-26 | 2022-03-22 | 腾讯科技(深圳)有限公司 | Game live broadcast display method and device, storage medium and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN115314725B (en) | 2023-08-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN118363553A (en) | Screen projection method, device, terminal and storage medium | |
RU2660642C2 (en) | Information display apparatus and method of user device | |
KR102145515B1 (en) | Method for controlling window and an electronic device thereof | |
KR101761612B1 (en) | Mobile terminal and Method for organizing menu screen thereof | |
EP3082028B1 (en) | Apparatus and method for providing information via portion of display | |
KR102078753B1 (en) | Method for controlling layout and an electronic device thereof | |
KR101695816B1 (en) | Mobile terminal and method for controlling thereof | |
EP2278447A1 (en) | Mobil terminal for displaying menu information on a trace according to a touch input signal | |
CN109960504B (en) | Object switching method based on visual programming, interface display method and device | |
CN108845854B (en) | User interface display method, device, terminal and storage medium | |
CN110851044B (en) | Method for displaying and electronic device thereof | |
JP2015528958A (en) | Method and apparatus for adding application icons and method and apparatus for deleting application icons | |
KR20120018952A (en) | Mobile terminal and method for setting application indicator thereof | |
CN112269555A (en) | Display control method, display control device, storage medium and electronic equipment | |
US20130215059A1 (en) | Apparatus and method for controlling an object in an electronic device with touch screen | |
KR20150079792A (en) | Icon display method and apparatus | |
EP4161082A1 (en) | Video playback control method and apparatus, electronic device, and storage medium | |
US9996225B2 (en) | Displaying nodes on a view screen | |
KR20150044373A (en) | Method for editing media and an electronic device thereof | |
CN111435277A (en) | Method, device, terminal and storage medium for displaying content | |
CN107454951B (en) | Electronic device and method for electronic device | |
CN110383244A (en) | A kind of operation method and terminal of calculator | |
JP2024526163A (en) | Control display method, device, equipment and medium | |
CN110753251A (en) | Video switching method and device and electronic equipment | |
KR102295844B1 (en) | Apparatus and method for controlling a display of a screen in electronic device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |