CN111399954A - Interface interaction method and device, storage medium and electronic equipment - Google Patents

Interface interaction method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN111399954A
CN111399954A CN202010162726.0A CN202010162726A CN111399954A CN 111399954 A CN111399954 A CN 111399954A CN 202010162726 A CN202010162726 A CN 202010162726A CN 111399954 A CN111399954 A CN 111399954A
Authority
CN
China
Prior art keywords
content
language
user
target
page
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
Application number
CN202010162726.0A
Other languages
Chinese (zh)
Inventor
张超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing ByteDance Network Technology Co Ltd
Original Assignee
Beijing ByteDance Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN202010162726.0A priority Critical patent/CN111399954A/en
Publication of CN111399954A publication Critical patent/CN111399954A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • G06F9/454Multi-language systems; Localisation; Internationalisation

Landscapes

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

Abstract

The disclosure relates to an interface interaction method, which provides a multi-language type content interface for a user, enables the user to quickly see the content corresponding to the selected language type when the language type selection is completed, and provides the user with good experience after selection. The interface interaction method comprises the following steps: displaying a content language selection interface, wherein multiple language types are borne on the content language selection interface for a user to select; responding to the selection operation of a user on the content language selection interface, and acquiring target content corresponding to a target language selected by the user, wherein the target content covers the language type of the target language; and controlling the target content to be displayed in the user visible area.

Description

Interface interaction method and device, storage medium and electronic equipment
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to an interface interaction method and apparatus, a storage medium, and an electronic device.
Background
With the continuous development of mobile internet technology, mobile terminals such as mobile phones and pads gradually permeate into the aspects of people's life, and people can perform different operations such as social contact, entertainment and payment through various application programs installed on the mobile terminals. For example, a user may publish various content in an application, and accordingly other users may view the content published by the user.
In the related art, a user is usually provided with a content interface in a default language, so that the user can only publish content in the default language in an application program, and accordingly other users can only view the content in the default language. However, as globalization progresses, users of applications may come from different countries, using different languages, and thus how to provide users with multi-language type content becomes increasingly important.
Disclosure of Invention
This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the detailed description. This summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
In a first aspect, the present disclosure provides an interface interaction method, including:
displaying a content language selection interface, wherein multiple language types are borne on the content language selection interface for a user to select;
responding to the selection operation of a user on the content language selection interface, and acquiring target content corresponding to a target language selected by the user, wherein the target content covers the language type of the target language;
and controlling the target content to be displayed in the user visible area.
In a second aspect, the present disclosure provides an interface interaction device, the device comprising:
the display module is used for displaying a content language selection interface, and multiple language types are borne on the content language selection interface for a user to select;
the acquisition module is used for responding to the selection operation of the user on the content language selection interface, acquiring target content corresponding to a target language selected by the user, wherein the target content covers the language type of the target language;
and the control module is used for controlling the target content to be displayed in the user visible area.
In a third aspect, the present disclosure provides a computer readable medium having stored thereon a computer program, characterized in that the program, when executed by a processing apparatus, implements the steps of the method as set forth in the first aspect.
In a fourth aspect, the present disclosure provides an electronic device comprising:
a storage device having a computer program stored thereon;
processing means for executing the computer program in the storage means to carry out the steps of the method of the first aspect.
Through the technical scheme, the content language selection interface can be displayed for the user, and the content language selection interface is loaded with a plurality of language types for the user to select, so that the target content corresponding to the target language selected by the user can be acquired in response to the selection operation of the user on the content language selection interface, and then the target content is controlled to be displayed in the user visible area. By the method, the display of the content in the interface can be controlled according to the selection operation of the user on the language type, so that the content of different language types can be provided for the user. And the user can quickly see the content corresponding to the selected language type when finishing the selection of the language type, thereby perceiving the content change caused by the change of the language type in real time and giving the user the good experience of selection.
Additional features and advantages of the disclosure will be set forth in the detailed description which follows.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and features are not necessarily drawn to scale.
In the drawings:
FIG. 1 is a flow chart illustrating a method of interface interaction according to an exemplary embodiment of the present disclosure;
FIG. 2 is a schematic diagram of a page in an interface interaction method according to an exemplary embodiment of the present disclosure;
FIG. 3 is a schematic diagram of a page in an interface interaction method according to an exemplary embodiment of the present disclosure;
FIG. 4 is a schematic diagram of a page in a method of interface interaction shown in accordance with another exemplary embodiment of the present disclosure;
FIG. 5 is a schematic diagram of a page in a method of interface interaction shown in accordance with another exemplary embodiment of the present disclosure;
FIG. 6 is a schematic diagram of a page in a method of interface interaction shown in accordance with another exemplary embodiment of the present disclosure;
FIG. 7 is a block diagram illustrating an interface interaction device according to an exemplary embodiment of the present disclosure;
fig. 8 is a block diagram illustrating an electronic device according to an exemplary embodiment of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order, and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units. It is further noted that references to "a", "an", and "the" modifications in the present disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
As background, in the related art, a user is usually provided with a content interface in only one default language, so that the user can only publish content in the default language in an application program, and accordingly, other users can only view the content in the default language. However, as globalization progresses, users of applications may come from different countries, using different languages, and thus how to provide users with multi-language type content becomes increasingly important.
The inventor researches and discovers that when content recommendation is performed on a user in the related art, content recommendation is generally performed according to the user interest degree, content with high user interest degree is recommended in advance, otherwise content with low user interest degree is recommended after being arranged, and based on the product design, when multi-language content selection service is provided for the user, the user is likely not to see multi-language content in time after selecting the multi-language type, so that the user cannot intuitively perceive the effect of the multi-language configuration function, even if the user is seriously overlooked or misoperation, multi-language configuration is performed repeatedly, and invalid network requests are caused for a client and a server, and user experience is seriously influenced. Therefore, in the case of being compatible with the original product design, how to improve the display effect of the multi-language configuration function to enable the user to enjoy the selected configuration experience is needed, and simultaneously, a lot of invalid network requests are reduced to improve the utilization rate of network resources, which is a technical problem that needs to be solved urgently at present.
In view of this, the embodiments of the present disclosure provide an interface interaction method to solve the problems in the related art, so that a user can perceive a content change caused by a change of a language type in real time while providing a multi-language type content for the user, and the user can select a good experience.
Fig. 1 is a flowchart illustrating an interface interaction method according to an exemplary embodiment of the present disclosure. Referring to fig. 1, the interface interaction method may include:
step 101, displaying a content language selection interface. The content language selection interface bears a plurality of language types for the user to select.
For example, the content language selection interface may bear different language types such as chinese, english, japanese, korean, and the like for the user to select, which is not limited by the embodiment of the disclosure.
In a possible mode, the content language selection interface can be displayed in a half-screen display mode in response to a language configuration operation triggered by a user on a current content page.
Illustratively, a control, such as a button control or the like, may be provided on the current content page for receiving a language configuration operation by the user. Accordingly, if the user wants to perform language configuration to view content of a particular language type on the current content page, the control can be clicked or pressed for a long time to trigger a language configuration operation. Then, a content language selection interface can be displayed in a half-screen display mode in response to a language configuration operation triggered by a user on the current content page.
Furthermore, a content language selection interface can be displayed on the top or the bottom of the current content page in a half-screen display mode, so that a user can visually check multiple language types, and language type selection operation is more convenient to perform. Of course, the content language selection interface may also be displayed in any other screen occupying manner, such as a quarter screen, and the like, which is not limited in the embodiment of the present disclosure.
And 102, responding to the selection operation of the user on the content language selection interface, and acquiring the target content corresponding to the target language selected by the user. Wherein the target content covers the language type of the target language.
For example, in the content language selection interface, the multiple language types may respectively correspond to controls that can receive a user selection operation, such as a radio box control, a button control, and the like, and the display content of each control is set to correspond to the multiple language types one to one, so that a user can click on the control in the content language selection interface to realize a selection operation on a target language.
In a possible mode, a voice instruction input by a user can be received, and then the voice instruction is analyzed to determine a target language included by the voice instruction. That is to say, in the embodiment of the present disclosure, the user can select the target language in multiple voice types by means of voice input, so that the intelligence of the interface interaction process is improved, and the user can select the target language more conveniently.
It should be understood that the user may select at least one language type as the target language, and the acquired target content may cover each language type in the target language, thereby ensuring that the user can perceive the content change due to the language type selection in real time.
In a possible manner, the obtaining of the target content corresponding to the target language selected by the user may be: acquiring the latest updated content corresponding to the target language from a server as target content; or the content corresponding to the locally built-in target language and used for previewing the language configuration effect can be used as the target content.
Illustratively, the target content may be page content data corresponding to the target language, that is, the target content data may be real-time content data published by the user and displayed on the page for other users to view, such as real-time text content published by the user, real-time video content, and the like. Each piece of content data stored on the server may have identification information for characterizing a language type, and thus, after the target language selected by the user is determined, the latest updated content corresponding to the target language may be acquired from the server. By the method, the user can view the real-time content data corresponding to the target language.
Alternatively, the target content may be content for previewing a language configuration effect corresponding to the target language stored locally in the application program. In this case, the target content may be historical content data issued by a historical user, or may also be any content data corresponding to a target language that is set in advance, and the like. By the method, the target content corresponding to the target language can be acquired more quickly without interaction with the server, so that the user can perceive the content change caused by language selection more quickly.
In a possible manner, the acquisition from the server and the acquisition from the local may also be combined. Specifically, the latest updated content corresponding to the target language may be preferentially acquired from the server as the target content. And when the content is not acquired within the preset response time, taking the content for previewing the language configuration effect corresponding to the locally built-in target language as the target content. The preset response time may be set according to an actual situation, which is not limited in the embodiment of the present disclosure. By the method, the user can be preferentially ensured to view the real-time content data corresponding to the target language. And if network failure occurs, so that the target content corresponding to the target language cannot be acquired from the server, the target content corresponding to the target language can be continuously acquired from the local, so that the user can perceive the content change caused by language selection.
And 103, displaying the control target content in the user visible area.
It should be understood that, for a certain page in an application program, generally, the content in the page is many, and a user may need to perform a sliding operation to see all the content in the page, so for the user, the page area may be divided into a user visible area and a user invisible area, and for the content in the page area that is not visible to the user, the user needs to perform the sliding operation to see the content.
For example, referring to FIG. 2, before selecting "language C", the user may see the display of the page as shown in FIG. 2. According to the mode in the embodiment of the present disclosure, after the user selects "language C", the target content corresponding to the language C (target language) may be acquired, and then the target content may be controlled to be displayed in the user visible area. Specifically, referring to fig. 3, after the user selects "language C", the target contents "content C1", "content C2", and "content C3" may be acquired, and then may be controlled to be displayed within the user visible area.
In this way, the content displayed in the interface can be determined according to the selection of the language type by the user, so that the content with multiple language types can be provided for the user. Moreover, the user can quickly see the content corresponding to the selected language when the language selection is completed, so that the content change caused by the language selection is sensed in real time, the problem that the user cannot quickly sense the content change after selecting the language is solved, and the user can obtain good experience after selecting the language.
In a possible manner, step 103 may be: and inserting the target content into a content list corresponding to the current content page, and updating the content of the current content page according to the content list so that the target content is in a user visible area.
Illustratively, the content list may be in a column-wise presentation of the content data in, for example, fig. 2 and 3 in the current content page. Of course, the content category may have other display forms, and the embodiment of the disclosure does not limit this. After the target content corresponding to the target language is acquired, the target content data may be inserted to the end of the content list corresponding to the current content page or any position in the middle of the content list, and so on. According to the related art, a user may need to slide a page to see the target content corresponding to the target language, and cannot quickly perceive the content change caused by language selection after the language is selected. In the embodiment of the disclosure, the content of the current content page can be updated according to the content list, so that the target content is in the user visible area, and thus the user can perceive the content change caused by language selection in real time, and the user can select the content to obtain good experience.
In a possible manner, updating the content of the current content page according to the content list may be: controlling the content of the current content page to be updated in a rolling manner according to the content list until the target content is in the user visible area; or determining that the user is in the gazing point area of the current content page, and replacing the content displayed in the gazing point area with target content according to the content list so as to display the target content in the user visible area.
That is, after the target content is inserted into the content list corresponding to the current content page, the content of the current content page may be controlled according to the content list to perform automatic scrolling update, so that the target content is in the user visible area.
Alternatively, when the user is browsing a page on an electronic device (e.g., a mobile phone, a computer, etc.), the eyes of the user may be tracked by a camera or an infrared sensing device disposed on the electronic device to determine the gazing point area of the user on the current content page. The content data corresponding to the gaze point region may be content data currently visible to the user, and therefore, after the gaze point region of the user is determined, the content displayed by the gaze point region may be replaced with target content according to the content list, so that the target content is displayed in the visible region of the user, and the user can perceive content changes caused by language selection in real time, and good experience selected by the user is provided.
In a possible manner, step 102 may be: and acquiring a plurality of target contents corresponding to the target language selected by the user, wherein each target content corresponds to a preset priority. Accordingly, step 103 may be: and controlling the target content to be displayed in the user visible area according to the sequence from high priority to low priority.
Illustratively, the preset priority may be divided according to the user's interest level in the content. For example, a target content tag which the user is interested in may be determined according to content data historically browsed by the user, and then a preset priority may be labeled to the content data corresponding to the target language according to the association degree between each piece of content data corresponding to the target language and the target content tag. It should be understood that, the determination of the target content tag in which the user is interested and the determination of the association degree between the content and the target content tag may be performed by a related art manner, and will not be described herein again.
In this case, each piece of the acquired target content may correspond to a preset priority. The preset priority is set according to a program that the user may be interested in the content, for example, the priority corresponding to the content may be determined according to the matching between the interest tag of the user and the content tag of the content and the matching degree. The higher the preset priority is, the more interested the user is in the target content, and the lower the preset priority is, the less interested the user is in the target content. Therefore, the target content is controlled to be displayed in the user visible area according to the sequence from the high priority to the low priority, so that the target content which is more interesting to the user can be displayed while the user can quickly perceive the content change caused by language selection, and the satisfaction degree of the user on the target content is improved.
For example, the user selects the target language to be "language D", and the 3-entry target contents corresponding to the acquired language D are: the 3 items comprise content D1, content D2 and content D3, and the preset priorities of the 3 items are level 2, level 1 and level 3 respectively. Wherein, the levels of the preset priority level 1, 2 and 3 are sequentially increased. In this case, the control target contents are displayed in the user visible area in the order of the preset priority from high to low, and referring to fig. 4, the user can see the target contents in the current content page in the order of content D3, content D1, and content D2.
In a possible mode, a configuration control is loaded on the content language selection interface, and the configuration control is used for configuring a corresponding language type for each navigation option in the navigation bar by a user. Accordingly, step 102 may be: and responding to the language selection operation of the user on the content language selection interface aiming at the navigation option, and acquiring the target content corresponding to the navigation option and the target language selected by the user. Step 103 may be: displaying a preview window on the current content page, and displaying target content corresponding to the corresponding navigation option in the preview window in a mode of automatically switching the navigation option; or simultaneously displaying the target contents corresponding to the corresponding navigation options in the preview window.
For example, the configuration control carried by the content language selection interface may be a radio box control, a multi-box control, a button control, or the like, and is used for configuring, by the user, a corresponding language type for each navigation option in the navigation bar. For example, a navigation bar is included in the page, the navigation bar including a plurality of navigation options for linking to other pages, respectively a "video" option (for linking to video pages), "news" option (for linking to news pages), "music" option (for linking to music pages). In this case, the user wants to view the content corresponding to the language a in the video page and the content corresponding to the language B in the news page, and the "video" option and the "news" option in the navigation bar can be configured in a language type through the configuration control carried by the content language selection interface. In this way, it can be determined that the target language of the page corresponding to the navigation option "video" selected by the user is language a, and the target language of the page corresponding to the navigation option "news" is language B.
Then, the target content corresponding to the navigation option and the target language selected by the user can be acquired in response to the language selection operation of the user on the content language selection interface aiming at the navigation option. For example, in the example of the navigation bar, video content data corresponding to language a may be acquired, and news content data corresponding to language B may be acquired. After the target content of the corresponding page is obtained, the target content of the corresponding page can be controlled to be displayed in a user visible area, so that a user can perceive content change caused by language selection in real time, and good experience selected by the user is provided.
For example, a preview window may be displayed on the current content page, and target content corresponding to the corresponding navigation option is displayed in the preview window in a manner of automatically switching the navigation option; or simultaneously displaying the target contents corresponding to the corresponding navigation options in the preview window. The position and size of the preview window on the current content page may be set according to actual conditions, which is not limited in the embodiment of the present disclosure.
For example, referring to fig. 5, the preview window may be a page area 52 located below the navigation bar 51, and the above example in which the target language of the user-selected video page is the language a and the target language of the news page is the language B is continued, and the acquired target content data may be simultaneously displayed in the preview window (the page area 52 shown in fig. 5), so that the user can simultaneously view the content change due to the language selection.
It should be understood that fig. 5 only illustrates the preview content data corresponding to the video page and the target content vertical column display corresponding to the news page, and in other possible manners, the target content corresponding to the navigation option and the target language selected by the user may also be displayed in other manners, such as a horizontal display manner, and the like, which is not limited by the embodiment of the present disclosure.
For another example, referring to fig. 6, the preview window may be a page area 62 located below the navigation bar 61, and the above example in which the target language of the video page selected by the user is the language a and the target language of the news page is the language B is continued, and the acquired preview content data may display the target content corresponding to the navigation option in the preview window in a manner of automatically switching the navigation option, for example, sequentially display the target content in the preview window (the page area 62 shown in fig. 6) at preset time intervals.
It should be understood that, as illustrated in fig. 6, the target content is currently the preview content data corresponding to the video page, after a preset time interval, the content data displayed in the page area 62 may be converted into the target content corresponding to the news page, and then after another preset time interval, the content data displayed in the page area 62 may be converted into the target content corresponding to the video page, so as to display the target content corresponding to the corresponding navigation option in the manner of automatically switching the navigation option. In this way, the page area for displaying preview content data of a corresponding page may be reduced, thereby reserving more page areas for the presentation of other real-time content data.
It should be understood that, in an actual application, a user may select to simultaneously display preview content data of a page corresponding to a plurality of navigation controls or display target content corresponding to a corresponding navigation option in a manner of automatically switching the navigation option according to an actual requirement, which is not limited in the embodiment of the present disclosure.
In a possible mode, in response to a cancel operation of the user on the content language selection interface, deleting the content corresponding to the language type cancelled by the cancel operation from the content list corresponding to the current content page, and updating the content list. That is, in the embodiment of the present disclosure, the user may also delete the selected language, and accordingly, the content data corresponding to the language in the current content page area may be correspondingly deleted. For example, the language selected by the user includes language a and language B, and the content list corresponding to the current content page includes content data corresponding to language a and language B. If the user deletes the selected language a, the content data corresponding to the language a in the current page content may be deleted accordingly. In this case, only the content data corresponding to the language B is displayed in the user visible region.
It should be understood that, in order to avoid that the content of the current page does not have content data corresponding to any language, the user may be prohibited from deleting all selected languages, at least one language is reserved, so that the content of the current content page may at least reserve content corresponding to one language.
Based on the same inventive concept, the disclosed embodiments also provide an interface interaction device, which may be a part or all of an electronic device through software, hardware, or a combination of both. Referring to fig. 7, the interface interaction apparatus 700 includes:
a display module 701, configured to display a content language selection interface, where multiple language types are borne on the content language selection interface for a user to select;
an obtaining module 702, configured to obtain, in response to a selection operation of a user on the content language selection interface, target content corresponding to a target language selected by the user, where the target content covers a language type of the target language;
a control module 703, configured to control the target content to be displayed in the user visible area.
Optionally, the control module 703 is configured to:
inserting the target content into a content list corresponding to the current content page;
and updating the content of the current content page according to the content list so that the target content is in a user visible area.
Optionally, the control module 703 is configured to:
controlling the content of the current content page to be updated in a rolling manner according to the content list until the target content is in a user visible area; alternatively, the first and second electrodes may be,
and determining a gazing point area of the user in the current content page, and replacing the content displayed in the gazing point area with the target content according to the content list so as to display the target content in a user visible area.
Optionally, the obtaining module 702 is configured to:
acquiring a plurality of pieces of target content corresponding to a target language selected by a user, wherein each piece of target content data corresponds to a preset priority;
the controlling the target content to be displayed in the user visible area comprises the following steps:
and controlling the target content to be displayed in a user visible area according to the sequence of the preset priority from high to low.
Optionally, the content language selection interface carries a configuration control, where the configuration control is used for configuring, by a user, a language type corresponding to each navigation option in the navigation bar, and the obtaining module 702 is used for obtaining, in response to a language selection operation of the user on the content language selection interface for the navigation option, a target content corresponding to the navigation option and a target language selected by the user;
the control module 703 is configured to display a preview window on a current content page, and display target content corresponding to a corresponding navigation option in the preview window in a manner of automatically switching the navigation option; or simultaneously displaying the target contents corresponding to the corresponding navigation options in the preview window.
Optionally, the display module 701 is configured to:
and responding to language configuration operation triggered by a user on the current content page, and displaying a content language selection interface in a half-screen display mode.
Optionally, the obtaining module 702 is configured to:
preferentially acquiring the latest updated content corresponding to the target language from a server as the target content;
when the content is not acquired within the preset response time, taking the content which is locally built in and is used for previewing the language configuration effect and corresponding to the target language as the target content
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Based on the same inventive concept, the present disclosure also provides a computer-readable medium, on which a computer program is stored, which, when executed by a processing device, implements the steps of any of the above interface interaction methods.
Based on the same inventive concept, the present disclosure also provides an electronic device, comprising:
a storage device having a computer program stored thereon;
and the processing device is used for executing the computer program in the storage device so as to realize the steps of any interface interaction method.
Referring now to FIG. 8, shown is a schematic diagram of an electronic device 800 suitable for use in implementing embodiments of the present disclosure. The terminal device in the embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. The electronic device shown in fig. 8 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 8, an electronic device 800 may include a processing means (e.g., central processing unit, graphics processor, etc.) 801 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)802 or a program loaded from a storage means 808 into a Random Access Memory (RAM) 803. In the RAM 803, various programs and data necessary for the operation of the electronic apparatus 800 are also stored. The processing apparatus 801, the ROM 802, and the RAM 803 are connected to each other by a bus 804. An input/output (I/O) interface 805 is also connected to bus 804.
In general, input devices 806 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc., output devices 807 including, for example, a liquid crystal display (L CD), speaker, vibrator, etc., storage devices 808 including, for example, magnetic tape, hard disk, etc., and communication devices 809 may allow electronic device 800 to communicate wirelessly or wiredly with other devices to exchange data although FIG. 8 illustrates electronic device 800 with various devices, it is to be understood that not all of the illustrated devices are required to be implemented or provided, more or fewer devices may be alternatively implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication means 809, or installed from the storage means 808, or installed from the ROM 802. The computer program, when executed by the processing apparatus 801, performs the above-described functions defined in the methods of the embodiments of the present disclosure.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, 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), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
Examples of communication networks include a local area network ("L AN"), a wide area network ("WAN"), AN internet network (e.g., the internet), and a peer-to-peer network (e.g., AN ad hoc peer-to-peer network), as well as any currently known or future developed network.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: displaying a content language selection interface, wherein multiple language types are borne on the content language selection interface for a user to select; responding to the selection operation of a user on the content language selection interface, and acquiring target content corresponding to a target language selected by the user, wherein the target content covers the language type of the target language; and controlling the target content to be displayed in the user visible area.
Computer program code for carrying out operations of the present disclosure may be written in one or more programming languages, including but not limited to AN object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages.
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 disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, 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.
The modules described in the embodiments of the present disclosure may be implemented by software or hardware. Wherein the name of a module in some cases does not constitute a limitation on the module itself.
For example, without limitation, exemplary types of hardware logic that may be used include Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), complex programmable logic devices (CP L D), and so forth.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, 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), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
Example 1 provides an interface interaction method, according to one or more embodiments of the present disclosure, including:
displaying a content language selection interface, wherein multiple language types are borne on the content language selection interface for a user to select;
responding to the selection operation of a user on the content language selection interface, and acquiring target content corresponding to a target language selected by the user, wherein the target content covers the language type of the target language;
and controlling the target content to be displayed in the user visible area.
According to one or more embodiments of the present disclosure, example 2 provides the method of example 1, where content data in a page is displayed according to a content list, where the controlling the target content to be displayed in a user visible area includes:
inserting the target content into a content list corresponding to the current content page;
and updating the content of the current content page according to the content list so that the target content is in a user visible area.
Example 3 provides the method of example 2, the content data in the page is displayed according to a content list, wherein the updating the content of the current content page according to the content list includes:
controlling the content of the current content page to be updated in a rolling manner according to the content list until the target content is in a user visible area; alternatively, the first and second electrodes may be,
and determining a gazing point area of the user in the current content page, and replacing the content displayed in the gazing point area with the target content according to the content list so as to display the target content in a user visible area.
Example 4 provides the method of example 1, wherein the obtaining target content corresponding to a target language selected by a user, according to one or more embodiments of the present disclosure, includes:
acquiring a plurality of pieces of target content corresponding to a target language selected by a user, wherein each piece of target content data corresponds to a preset priority;
the controlling the target content to be displayed in the user visible area comprises the following steps:
and controlling the target content to be displayed in a user visible area according to the sequence of the preset priority from high to low.
Example 5 provides the method of example 1, where the content language selection interface is loaded with a configuration control, the configuration control is used for configuring, by a user, a language type corresponding to each navigation option in a navigation bar, and the obtaining, in response to a selection operation of the user on the content language selection interface, target content corresponding to a target language selected by the user includes:
responding to language selection operation of a user aiming at the navigation option on the content language selection interface, and acquiring target content corresponding to the navigation option and a target language selected by the user;
the controlling the target content to be displayed in the user visible area comprises the following steps:
displaying a preview window on a current content page, and displaying target content corresponding to a corresponding navigation option in the preview window in a mode of automatically switching the navigation option; or simultaneously displaying the target contents corresponding to the corresponding navigation options in the preview window.
Example 6 provides the method of any of examples 1-5, wherein the displaying a content language selection interface includes:
and responding to language configuration operation triggered by a user on the current content page, and displaying a content language selection interface in a half-screen display mode.
Example 7 provides the method of any one of examples 1-5, wherein the obtaining target content corresponding to a target language selected by a user, according to one or more embodiments of the present disclosure, includes:
preferentially acquiring the latest updated content corresponding to the target language from a server as the target content;
and when the content is not acquired within the preset response time, taking the content which is locally built in and is used for previewing the language configuration effect and corresponds to the target language as the target content.
Example 8 provides, in accordance with one or more embodiments of the present disclosure, an interface interaction apparatus, comprising:
the display module is used for displaying a content language selection interface, and multiple language types are borne on the content language selection interface for a user to select;
the acquisition module is used for responding to the selection operation of the user on the content language selection interface, acquiring target content corresponding to a target language selected by the user, wherein the target content covers the language type of the target language;
and the control module is used for controlling the target content to be displayed in the user visible area.
Example 9 provides a computer-readable medium, on which is stored a computer program that, when executed by a processing apparatus, implements the steps of the method of any of examples 1-7, according to one or more embodiments of the present disclosure
Example 10 provides, in accordance with one or more embodiments of the present disclosure, an electronic device comprising:
a storage device having a computer program stored thereon;
processing means for executing said computer program in said storage means to carry out the steps of the method of any of examples 1-7.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.
Further, while operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims. With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.

Claims (10)

1. An interface interaction method, the method comprising:
displaying a content language selection interface, wherein multiple language types are borne on the content language selection interface for a user to select;
responding to the selection operation of a user on the content language selection interface, and acquiring target content corresponding to a target language selected by the user, wherein the target content covers the language type of the target language;
and controlling the target content to be displayed in the user visible area.
2. The method of claim 1, wherein the controlling the target content to be displayed in a user viewable area comprises:
inserting the target content into a content list corresponding to the current content page;
and updating the content of the current content page according to the content list so that the target content is in a user visible area.
3. The method of claim 2, wherein the updating the content of the current content page according to the content list comprises:
controlling the content of the current content page to be updated in a rolling manner according to the content list until the target content is in a user visible area; alternatively, the first and second electrodes may be,
and determining a gazing point area of the user in the current content page, and replacing the content displayed in the gazing point area with the target content according to the content list so as to display the target content in a user visible area.
4. The method of claim 1, wherein obtaining the target content corresponding to the target language selected by the user comprises:
acquiring a plurality of pieces of target content corresponding to a target language selected by a user, wherein each piece of target content data corresponds to a preset priority;
the controlling the target content to be displayed in the user visible area comprises the following steps:
and controlling the target content to be displayed in a user visible area according to the sequence of the preset priority from high to low.
5. The method according to claim 1, wherein the content language selection interface carries a configuration control, the configuration control is used for a user to configure a corresponding language type for each navigation option in the navigation bar, and the obtaining of the target content corresponding to the target language selected by the user in response to the selection operation of the user on the content language selection interface comprises:
responding to language selection operation of a user aiming at the navigation option on the content language selection interface, and acquiring target content corresponding to the navigation option and a target language selected by the user;
the controlling the target content to be displayed in the user visible area comprises the following steps:
displaying a preview window on a current content page, and displaying target content corresponding to a corresponding navigation option in the preview window in a mode of automatically switching the navigation option; or simultaneously displaying the target contents corresponding to the corresponding navigation options in the preview window.
6. The method of any of claims 1-5, wherein displaying the content language selection interface comprises:
and responding to language configuration operation triggered by a user on the current content page, and displaying a content language selection interface in a half-screen display mode.
7. The method according to any one of claims 1-5, wherein the obtaining the target content corresponding to the target language selected by the user comprises:
preferentially acquiring the latest updated content corresponding to the target language from a server as the target content;
and when the content is not acquired within the preset response time, taking the content which is locally built in and is used for previewing the language configuration effect and corresponds to the target language as the target content.
8. An interface interaction apparatus, comprising:
the display module is used for displaying a content language selection interface, and multiple language types are borne on the content language selection interface for a user to select;
the acquisition module is used for responding to the selection operation of the user on the content language selection interface, acquiring target content corresponding to a target language selected by the user, wherein the target content covers the language type of the target language;
and the control module is used for controlling the target content to be displayed in the user visible area.
9. A computer-readable medium, on which a computer program is stored, characterized in that the program, when being executed by processing means, carries out the steps of the method of any one of claims 1 to 7.
10. An electronic device, comprising:
a storage device having a computer program stored thereon;
processing means for executing the computer program in the storage means to carry out the steps of the method according to any one of claims 1 to 7.
CN202010162726.0A 2020-03-10 2020-03-10 Interface interaction method and device, storage medium and electronic equipment Pending CN111399954A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010162726.0A CN111399954A (en) 2020-03-10 2020-03-10 Interface interaction method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010162726.0A CN111399954A (en) 2020-03-10 2020-03-10 Interface interaction method and device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN111399954A true CN111399954A (en) 2020-07-10

Family

ID=71434152

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010162726.0A Pending CN111399954A (en) 2020-03-10 2020-03-10 Interface interaction method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN111399954A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112702466A (en) * 2020-12-21 2021-04-23 北京小米移动软件有限公司 Alert tone setting method, alert tone setting apparatus, and storage medium
CN114997118A (en) * 2021-03-02 2022-09-02 北京字跳网络技术有限公司 Document processing method, device, equipment and medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104731776A (en) * 2015-03-27 2015-06-24 百度在线网络技术(北京)有限公司 Providing method and system of translating information
CN109240785A (en) * 2018-08-31 2019-01-18 维沃移动通信有限公司 A kind of method, terminal and storage medium that language is set
CN109445886A (en) * 2018-09-05 2019-03-08 百富计算机技术(深圳)有限公司 A kind of interface display method, system and terminal device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104731776A (en) * 2015-03-27 2015-06-24 百度在线网络技术(北京)有限公司 Providing method and system of translating information
CN109240785A (en) * 2018-08-31 2019-01-18 维沃移动通信有限公司 A kind of method, terminal and storage medium that language is set
CN109445886A (en) * 2018-09-05 2019-03-08 百富计算机技术(深圳)有限公司 A kind of interface display method, system and terminal device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112702466A (en) * 2020-12-21 2021-04-23 北京小米移动软件有限公司 Alert tone setting method, alert tone setting apparatus, and storage medium
CN114997118A (en) * 2021-03-02 2022-09-02 北京字跳网络技术有限公司 Document processing method, device, equipment and medium

Similar Documents

Publication Publication Date Title
CN111510760B (en) Video information display method and device, storage medium and electronic equipment
CN113489937B (en) Video sharing method, device, equipment and medium
JP2023510379A (en) Labeling method, device, electronic device and computer readable medium
CN112261226A (en) Horizontal screen interaction method and device, electronic equipment and storage medium
CN111190520A (en) Menu item selection method and device, readable medium and electronic equipment
CN113238706B (en) View display method, device, equipment and medium
CN114564269A (en) Page display method, device, equipment, readable storage medium and product
CN114117282A (en) Information display method, device, equipment and storage medium
CN111291244A (en) House resource information display method, device, terminal and storage medium
CN112000267A (en) Information display method, device, equipment and storage medium
CN111177610A (en) Material display method and device, electronic equipment and storage medium
CN114760515A (en) Method, device, equipment, storage medium and program product for displaying media content
CN114443897A (en) Video recommendation method and device, electronic equipment and storage medium
CN113946271A (en) Display control method, display control device, electronic equipment and storage medium
CN111399954A (en) Interface interaction method and device, storage medium and electronic equipment
CN110825481A (en) Method and device for displaying page information corresponding to page tag and electronic equipment
CN110837333A (en) Method, device, terminal and storage medium for adjusting playing progress of multimedia file
CN113377365A (en) Code display method, device, equipment, computer readable storage medium and product
CN112579218B (en) User interface display method and device, computer readable medium and electronic equipment
CN115086734A (en) Information display method, device, equipment and medium based on video
CN111310086A (en) Page jump method and device and electronic equipment
CN115756683A (en) Picture display method and device, storage medium and electronic equipment
CN115619341A (en) Method and device for checking work item information, electronic equipment and storage medium
CN113836415A (en) Information recommendation method, device, medium and equipment
CN114661278A (en) Information display method and device, electronic equipment and storage 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