CN113253880A - Method and device for processing page of interactive scene and storage medium - Google Patents

Method and device for processing page of interactive scene and storage medium Download PDF

Info

Publication number
CN113253880A
CN113253880A CN202010087246.2A CN202010087246A CN113253880A CN 113253880 A CN113253880 A CN 113253880A CN 202010087246 A CN202010087246 A CN 202010087246A CN 113253880 A CN113253880 A CN 113253880A
Authority
CN
China
Prior art keywords
interaction
interactive
page
entry
scene
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010087246.2A
Other languages
Chinese (zh)
Other versions
CN113253880B (en
Inventor
戈文
周淮祺
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202010087246.2A priority Critical patent/CN113253880B/en
Publication of CN113253880A publication Critical patent/CN113253880A/en
Application granted granted Critical
Publication of CN113253880B publication Critical patent/CN113253880B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction 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
    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

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

Abstract

The invention provides a method and a device for processing a page of an interactive scene and a storage medium. Wherein the method comprises the following steps: presenting at least one interactive portal in an interactive interface; responding to the triggering operation aiming at the at least one interactive entry, acquiring a page module layout corresponding to the interaction type of the triggered interactive entry, and acquiring page data corresponding to the triggered interactive entry; filling the page data into the page module layout to form a page of an interaction scene corresponding to the interaction entrance; and presenting the page of the interactive scene. By the technical scheme, the display of the pages of various interactive scenes under the same interactive appeal can be realized under the condition of ensuring that the layout of the page module is not changed, and the identification degree and the stability of a layout interface are improved.

Description

Method and device for processing page of interactive scene and storage medium
Technical Field
The invention relates to the technical field of internet, in particular to a method and a device for processing a page of an interactive scene and a storage medium.
Background
With the improvement of the hardware performance of the terminal device and the development of the internet, interactive activities in different types of interactive scenes, such as online live broadcast, online chat and the like, are more and more favored by users.
In the related art, if a page of multiple interactive scenes under the same interactive appeal is desired to be displayed, the display can be realized by newly adding corresponding function blocks in the original page module layout or rewriting code resources. However, the newly added function board will change the layout structure of the original page module, which is likely to cause strange cognition of the user on the layout interface, thereby reducing the recognition degree of the layout interface; the mode of rewriting the code resource can lead to the layout of the page module to be continuously changed and adjusted, and the stability of a layout interface is reduced.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method, an apparatus, and a storage medium for processing a page of an interactive scene, which can achieve display of pages of multiple interactive scenes under the same interactive appeal under the condition that it is ensured that layout of page modules is not changed, and improve identification and stability of a layout interface.
The technical scheme of the embodiment of the invention is realized as follows:
the embodiment of the invention provides a method for processing a page of an interactive scene, which comprises the following steps:
presenting at least one interactive portal in an interactive interface;
responding to the triggering operation aiming at the at least one interactive entry, acquiring a page module layout corresponding to the interaction type of the triggered interactive entry, and acquiring page data corresponding to the triggered interactive entry;
filling the page data into the page module layout to form a page of an interaction scene corresponding to the interaction entrance;
and presenting the page of the interactive scene.
The embodiment of the invention also provides a device for processing the page of the interactive scene, which comprises:
the first presentation unit is used for presenting at least one interactive entrance in the interactive interface;
the acquisition unit is used for responding to the triggering operation aiming at the at least one interactive entry, acquiring the page module layout corresponding to the interaction type of the triggered interactive entry and acquiring the page data corresponding to the triggered interactive entry;
the filling unit is used for filling the page data into the page module layout so as to form a page of an interaction scene corresponding to the interaction entrance;
and the second presentation unit is used for presenting the page of the interactive scene.
In the foregoing solution, the obtaining unit is further configured to:
receiving a selection instruction for the at least one interactive inlet based on the presented at least one interactive inlet;
acquiring an interactive entry corresponding to the selection instruction, and receiving a trigger operation aiming at the selected interactive entry;
determining an interaction type of the triggered interaction portal;
and searching to obtain the page module layout corresponding to the interaction type of the triggered interaction entry based on the incidence relation between the interaction type of the locally pre-stored interaction entry and the page module layout.
In the foregoing solution, the obtaining unit is further configured to:
receiving a selection instruction for the at least one interactive inlet based on the presented at least one interactive inlet;
acquiring an interactive entry corresponding to the selection instruction, and receiving a trigger operation aiming at the selected interactive entry;
sending an interaction type acquisition request to a server so that the server determines the interaction type of the triggered interaction entry based on the interaction type acquisition request, and searching and obtaining a page module layout corresponding to the interaction type of the triggered interaction entry based on the incidence relation between the interaction type of the interaction entry and the page module layout;
and receiving a page module layout which is returned by the server and corresponds to the triggered interaction type of the interaction entrance.
In the foregoing solution, the obtaining unit is further configured to:
based on the triggered interaction type of the interaction entry, sending a page data acquisition request to a corresponding third-party network application background, so that the third-party network application background pulls page data corresponding to the interaction type based on the page data acquisition request;
and receiving the page data returned by the third-party network application background.
In the foregoing solution, the filling unit is further configured to:
acquiring attribute information of the page data, wherein the page data represent text information associated with each interactive scene, and the attribute information comprises: at least one of an interaction theme corresponding to the interaction scene, the number of participants of the interaction scene, and the starting time of the interaction scene;
and based on the acquired attribute information, filling the page data into a corresponding target position of the page module layout to form a page of an interactive scene corresponding to the interactive entrance.
In the foregoing solution, the obtaining unit is further configured to:
responding to a trigger operation aiming at the layout of the page module filled with the page data, and acquiring interactive content of an interactive scene corresponding to the interactive entry, which is provided by a third-party network application background;
and the interactive content is used for page rendering to form a page of the interactive scene corresponding to the interactive entrance.
In the foregoing solution, the second presenting unit is further configured to at least one of:
when the interaction type of the triggered interaction entry comprises live broadcasting, presenting a page of an interaction live broadcasting room corresponding to the live broadcasting, wherein the page of the interaction live broadcasting room at least comprises interaction contents corresponding to target users in the interaction live broadcasting room;
and when the triggered interaction type of the interaction entrance comprises chat, presenting a page of an interaction chat room corresponding to the chat, wherein the page of the interaction chat room at least comprises interaction contents corresponding to each target user in the interaction chat room.
In the foregoing solution, the apparatus for processing a page of an interactive scene further includes:
the receiving unit is used for receiving a data updating instruction aiming at interactive contents displayed in the page of the interactive scene based on the presented page of the interactive scene;
the acquisition unit is further configured to acquire target interactive content for updating the interactive content based on the data updating instruction;
and the updating unit is used for updating the page of the interactive scene based on the target interactive content.
An embodiment of the present invention further provides an electronic device, where the electronic device includes:
a memory for storing executable instructions;
and the processor is used for realizing the processing method of the page of the interactive scene provided by the embodiment of the invention when the executable instruction stored in the memory is executed.
The embodiment of the invention also provides a storage medium, which stores executable instructions, and the executable instructions are used for realizing the processing method of the page of the interactive scene provided by the embodiment of the invention when being executed by the processor.
The application of the embodiment of the invention has the following beneficial effects:
when at least one interactive entry presented in the interactive interface is triggered, acquiring a page module layout corresponding to the interactive type of the triggered interactive entry, acquiring page data corresponding to the triggered interactive entry, filling the page data into the page module layout to form a page of an interactive scene corresponding to the interactive entry, and finally presenting the page of the interactive scene. Therefore, for the page display of the interaction scene under the same communication interaction property function, the corresponding page module layout can be configured based on the interaction type of the triggered interaction entrance, so that the page module layout has universality for the interface interaction with the same function property, new function plates and function points do not need to be added in the page module layout, code resources do not need to be rewritten, the display of pages of various interaction scenes under the same interaction appeal can be realized under the condition of ensuring that the page module layout is not changed, the strange cognition of a user on the layout interface caused by function addition and deletion is reduced, and the uniform identification degree and the stability of the layout interface are further improved.
Drawings
Fig. 1 is an alternative architecture diagram of a processing system 10 for processing a page of an interactive scene according to an embodiment of the present invention;
fig. 2 is a schematic diagram of an alternative hardware structure of the electronic device 40 according to the embodiment of the present invention;
fig. 3 is a schematic diagram illustrating an alternative structure of a processing device 455 for processing a page of an interactive scene according to an embodiment of the present invention;
fig. 4 is an optional flowchart of a processing method for a page of an interactive scene according to an embodiment of the present invention;
fig. 5 is a schematic diagram of an optional page of a terminal device presenting an interaction portal according to an embodiment of the present invention;
FIG. 6 is an alternative page diagram of a populated page module layout corresponding to different interaction types according to an embodiment of the present invention;
fig. 7 is an optional schematic diagram of a page corresponding to interaction scenes of different interaction types according to an embodiment of the present invention;
fig. 8 is a schematic flowchart of another alternative process of a method for processing a page of an interactive scene according to an embodiment of the present invention;
fig. 9 is a schematic flowchart of yet another alternative process of a method for processing a page of an interactive scene according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the present invention will be further described in detail with reference to the accompanying drawings, the described embodiments should not be construed as limiting the present invention, and all other embodiments obtained by a person of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
In the following description, reference is made to "some embodiments" which describe a subset of all possible embodiments, but it is understood that "some embodiments" may be the same subset or different subsets of all possible embodiments, and may be combined with each other without conflict.
In the following description, references to the terms "first," "second," etc. are used merely to distinguish similar elements and do not denote a particular order or sequence of elements, but rather the terms "first," "second," etc. are used to interchange particular orders or sequences as may be permitted, and to enable embodiments of the invention described herein to be practiced in other than the order shown or described herein.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which embodiments of the present invention belong. The terminology used in the embodiments of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention.
Before further detailed description of the embodiments of the present invention, terms and expressions referred to in the embodiments of the present invention will be described, and the terms and expressions referred to in the embodiments of the present invention will be explained as follows.
1) Interaction, broadly speaking, is the process of interaction, inter-relation; daily interaction is a process of interdependent behavior that occurs when information is transmitted by language or other means from person to person, group to group, and the like in society. The interface interaction related in the embodiment of the invention is a process of expressing that the interaction function influences the psychological activity of a user through an interface design language.
2) The functional attribute, product or service can satisfy a certain requirement of a user, such as an attribute of an interactive appeal. Any attribute that meets the needs of the user belongs to the category of functions. Attributes that meet the user's actual needs pertain to functions, while attributes that meet the user's potential needs also pertain to functions.
3) In response to the condition or state on which the performed operation depends, one or more of the performed operations may be in real-time or may have a set delay when the dependent condition or state is satisfied; there is no restriction on the order of execution of the operations performed unless otherwise specified.
An exemplary application of the electronic device implementing the method for processing the page of the interactive scene according to the embodiment of the present invention is described below, and the electronic device provided in the embodiment of the present invention may be implemented as various types of terminal devices, or may be implemented cooperatively by the terminal device and a server, where the server may be a cloud server, but the embodiment of the present invention is not limited to the cloud server.
An exemplary application of the processing system for a page of an interactive scene according to the embodiment of the present invention is described below with reference to the accompanying drawings by taking a terminal device and a server as an example. Referring to fig. 1, fig. 1 is an optional architecture diagram of a processing system 10 for a page of an interactive scenario, in order to implement an exemplary supported application, a terminal 100 (an exemplary terminal 100-1 and a terminal 100-2 are shown) is connected to an instant application server 300 and a third-party network application backend server 400 through a network 200, where the terminal 100 is provided with an instant application client, such as a wechat client, and accordingly, the instant application server 300 corresponds to a server at a wechat backend (i.e., a wechat server), the third-party network application backend server 400 may be determined according to an interaction type of a triggered interactive portal, and for example, if the interaction type of the triggered interactive portal is live broadcast, the third-party network application backend server 400 corresponds to an inter-backend server, and if the interaction type of the triggered interactive portal is live broadcast, third-party web application backend server 400 corresponds to a chat room backend server. The network 200 may be a wide area network or a local area network, or a combination of both, and uses wireless or wired links for data transmission.
In some embodiments, the terminal 100 (e.g., the terminal 100-1) is configured to receive a trigger operation executed by a target user for at least one interaction entry presented in an interaction interface, send an interaction type obtaining request to the instant application server 300, and send a page data obtaining request to the third-party web application background server 400 of a corresponding interaction type;
here, in practical applications, the terminal may be various types of user terminals such as a smart phone, a tablet computer, a notebook computer, and the like, and may also be a wearable computing device, a Personal Digital Assistant (PDA), a desktop computer, a cellular phone, a media player, a navigation device, a game console, a television, or a combination of any two or more of these data processing devices or other data processing devices.
The instant application server 300 is configured to determine an interaction type of the triggered interaction entry, obtain a corresponding page module layout based on the interaction type, and return the obtained page module layout corresponding to the interaction type of the triggered interaction entry to the terminal 100;
here, in practical applications, the instant application server 300 may be a single server configured to support various services, or may be a server cluster.
The third-party web application background server 400 is configured to pull, in response to the received page data acquisition request, page data corresponding to the triggered interaction entry, and return the page data to the terminal 100;
the terminal 100 (e.g., the terminal 100-1) is further configured to fill page data into the page module layout to form a page of the interaction scenario corresponding to the triggered interaction portal.
The terminal 100 may present a page of an interactive scene in the graphical interface 110 (e.g., the graphical interface 110-1 of the terminal 100-1 and the graphical interface 110-2 of the terminal 100-2) for guiding the target user to learn interactive contents in the corresponding third-party network application. The terminal 100 can also present an interactive interface in the graphical interface 110, in which at least one interactive portal is present.
Next, a description is continued on a hardware structure of an electronic device that implements the method for processing a page of an interactive scene according to the embodiment of the present invention. In some embodiments, the electronic device may be implemented as a terminal device, and may also be implemented cooperatively by the terminal device and the server shown in fig. 1.
Referring to fig. 2, fig. 2 is a schematic diagram of an alternative hardware structure of an electronic device 40 according to an embodiment of the present invention, and it is understood that fig. 2 only shows an exemplary structure of the electronic device, and not a whole structure, and a part of the structure or a whole structure shown in fig. 2 may be implemented as needed. The electronic device 40 provided by the embodiment of the present invention includes: at least one processor 410, memory 450, at least one network interface 420, and a user interface 430. The various components in electronic device 40 are coupled together by a bus system 440. It will be appreciated that the bus system 440 is used to enable communications among the components. The bus system 440 includes a power bus, a control bus, and a status signal bus in addition to a data bus. For clarity of illustration, however, the various buses are labeled as bus system 440 in fig. 2.
The Processor 410 may be an integrated circuit chip having Signal processing capabilities, such as a general purpose Processor, a Digital Signal Processor (DSP), or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like, wherein the general purpose Processor may be a microprocessor or any conventional Processor, or the like.
The user interface 430 includes one or more output devices 431, including one or more speakers and/or one or more visual displays, that enable the presentation of media content. The user interface 430 also includes one or more input devices 432, including user interface components that facilitate user input, such as a keyboard, mouse, microphone, touch screen display, camera, other input buttons and controls.
The memory 450 may be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid state memory, hard disk drives, optical disk drives, and the like. Memory 450 optionally includes one or more storage devices physically located remote from processor 410.
The memory 450 includes either volatile memory or nonvolatile memory, and may include both volatile and nonvolatile memory. The nonvolatile Memory may be a Read Only Memory (ROM), and the volatile Memory may be a Random Access Memory (RAM). The memory 450 described in embodiments of the invention is intended to comprise any suitable type of memory.
In some embodiments, memory 450 is capable of storing data, examples of which include programs, modules, and data structures, or a subset or superset thereof, to support various operations, as exemplified below.
An operating system 451, including system programs for handling various basic system services and performing hardware-related tasks, such as a framework layer, a core library layer, a driver layer, etc., for implementing various basic services and handling hardware-based tasks;
a network communication module 452 for communicating to other computing devices via one or more (wired or wireless) network interfaces 420, exemplary network interfaces 420 including: bluetooth, Wireless-Fidelity (WiFi), Universal Serial Bus (USB), and the like;
a presentation module 453 for enabling presentation of information (e.g., user interfaces for operating peripherals and displaying content and information) via one or more output devices 431 (e.g., display screens, speakers, etc.) associated with user interface 430;
an input processing module 454 for detecting one or more user inputs or interactions from one of the one or more input devices 432 and translating the detected inputs or interactions.
In some embodiments, the processing device for the page of the interactive scene provided by the embodiment of the present invention may be implemented in software, fig. 2 illustrates the processing device 455 for the page of the interactive scene stored in the memory 450, which may be software in the form of programs and plug-ins, and includes a series of software modules, referring to fig. 3, and fig. 3 is an optional structural schematic diagram of the processing device 455 for the page of the interactive scene provided by the embodiment of the present invention, for example, the processing device 455 for the page of the interactive scene may include a first rendering unit 4551, an obtaining unit 4552, a filling unit 4553, and a second rendering unit 4554, and functions of these units are logical, so that any combination or further splitting may be performed according to functions implemented by each software module. It should be noted that, for the specific functions of each unit in the processing device 455 for the page of the interactive scene provided by the embodiment of the present invention shown in fig. 3, the following description will be made.
In other embodiments, the processing Device 455 of the page of the interactive scene provided by the embodiment of the present invention may be implemented in a hardware manner, for example, the processing Device 455 of the page of the interactive scene provided by the embodiment of the present invention may be a processor in a form of a hardware decoding processor, which is programmed to execute the processing method of the page of the interactive scene provided by the embodiment of the present invention, for example, the processor in the form of the hardware decoding processor may employ one or more Application Specific Integrated Circuits (ASICs), DSPs, Programmable Logic Devices (PLDs), Complex Programmable Logic Devices (CPLDs), Field Programmable Gate Arrays (FPGAs), or other electronic components.
Based on the above description of the architecture of the processing system of the page of the interactive scene and the exemplary application and implementation of the electronic device provided by the embodiment of the present invention, the implementation of the processing method of the page of the interactive scene provided by the embodiment of the present invention is described next.
Referring to fig. 4, fig. 4 is a schematic view of an optional flowchart of a processing method for a page of an interactive scene provided in an embodiment of the present invention, in some embodiments, the processing method for the page of the interactive scene may be implemented by a terminal device, or may be implemented by the terminal device and a server in a cooperation manner, and the following describes, by taking the terminal device as an example, with reference to the steps shown in fig. 4.
In step 401, the terminal device presents at least one interactive portal in the interactive interface.
Here, in actual implementation, the terminal device presents at least one interactive portal through an interactive interface in the client, so that a user can display a page of an interactive scene through the interactive portal. In some embodiments, an instant application client, such as a wechat client, is provided in the terminal device, and certainly not limited to a social client, and may be any type of client, which is described by taking an instant application client as an example, an interactive interface is loaded by operating the instant application client to enter the interactive interface, and then at least one interactive entry is presented in the interactive interface in an icon form, where each interactive entry corresponds to a different interactive type, that is, the interactive entries and the interactive types are in a one-to-one correspondence relationship.
Referring to fig. 5, fig. 5 is an optional page schematic diagram illustrating that the terminal device presents an interactive entry according to the embodiment of the present invention, the terminal device enters an interactive interface by running an instant application client, for example, an interactive interface related to "entrepreneur and member", and an icon representing at least one interactive entry is presented on the interactive interface, such as interactive entries 1 to 3 shown in fig. 5, and a user may select to perform a trigger operation on at least one of the four interactive entries according to actual requirements to obtain an interaction type of the triggered interactive entry.
Here, in actual implementation, the corresponding relationship between the interaction entry and the interaction type is preloaded in the terminal device, for example, the user performs a trigger operation on the interaction entry 1 in the interaction interface "entrepreneurship and member", and if the triggered interaction entry 1 corresponds to the live type, it can be known that the interaction type corresponding to the triggered interaction entry is the live type.
In some embodiments, the at least one interactive portal may be displayed dynamically or in a floating manner within the interactive interface. When the number of the interactive entrances is multiple, the dynamic display or the floating display in the interactive interface can be realized in the form of an interactive entrance list.
It should be noted that, when the interactive portal is dynamically displayed in the interactive interface, the display position of the interactive portal is the same as the corresponding moving position, so that the corresponding interactive portal is dynamically displayed at different moving positions in the process of displaying the interactive interface, and the viewing experience of the user is improved. For the floating layer display of the interactive entry in the interactive interface, the presentation style corresponding to the floating layer display is that the icon corresponding to the interactive entry is always displayed at a specific position of the interactive interface and cannot roll along with the rolling of the mouse, so that the effect of emphasizing the existence of the interactive entry is achieved.
In practical implementation, when an instant application client, such as a wechat client, is arranged in the terminal device, the server may include an instant application server and a third-party network application background server; the operating system of the terminal corresponding to the instant application client in the embodiment of the invention can be an android system or an IOS system. Specifically, the instant application client in the embodiment of the present invention may be implemented as an android client supporting access to a Web view (Webview), or implemented as an IOS client supporting access to a Webview, where the instant application client may provide an instant application service corresponding to a user, so as to implement an instant communication function of a Web end.
The third-party network application is a network application with an interactive property function, such as live broadcast, QQ chat, WeChat chat, online game and the like, which can realize interaction.
In step 402, in response to a triggering operation for at least one interactive entry, a page module layout corresponding to an interaction type of the triggered interactive entry is obtained, and page data corresponding to the triggered interactive entry is obtained.
In the embodiment of the present invention, the triggering operation executed for at least one interactive entry may include at least one of a click operation, a press operation, and the like, which is not limited herein.
Here, the structure of the page module layout may be set autonomously by the user based on past experience, or a server such as an instant application server may be configured based on a predetermined format. Each page module layout comprises one or more template fragments, different template fragments correspond to different target positions, and each template fragment can correspondingly bear different field information.
In some embodiments, after receiving a trigger operation of a user for at least one interactive entry, in response to the trigger operation, the terminal device may obtain a page module layout corresponding to an interaction type of the triggered interactive entry by:
receiving a selection instruction aiming at least one interactive inlet based on the presented at least one interactive inlet; acquiring an interactive entry corresponding to the selection instruction, and receiving a trigger operation aiming at the selected interactive entry; determining the interaction type of the triggered interaction entrance; and searching to obtain the page module layout corresponding to the interaction type of the triggered interaction entry based on the incidence relation between the interaction type of the locally pre-stored interaction entry and the page module layout.
In practical implementation, after the terminal device presents at least one interactive entry in the interactive interface, a user can trigger a selection instruction of the corresponding interactive entry by clicking a button presented in the corresponding interactive entry, and after the terminal device receives a trigger operation for the selected interactive entry, because each interactive entry corresponds to a different interactive type, when the user triggers the interactive entry, the interactive type corresponding to the triggered interactive entry can be determined based on the corresponding relationship between the interactive entry preloaded in the terminal device and the interactive type, so that the timeliness for acquiring the interactive type is improved. And then searching the page module layout corresponding to the interaction type of the triggered interaction entry based on the incidence relation between the interaction type of the interaction entry locally stored in the terminal equipment and the page module layout.
Here, the association relationship between the interaction type of the interaction entry and the page module layout may be understood as that, for each interaction type of the interaction entry, a page module layout is correspondingly bound, that is, if the interaction types of the two interaction entries are the same, the obtained page module layout corresponding to the interaction type of the triggered interaction entry is also the same.
It should be noted that the obtained layout of the page module may be set on an interactive interface of the terminal device, for example, the layout of the page module is displayed in a floating layer form in the interactive interface of the terminal device, and for the display position of the layout of the page module, the display position of the layout of the page module is usually set on the basis that key content in the interactive interface is not blocked. In practical application, when the page module layout is not needed, the page module layout can be hidden.
In other embodiments, after receiving a trigger operation of a user for at least one interactive entry, in response to the trigger operation, the terminal device may obtain a page module layout corresponding to an interaction type of the triggered interactive entry by:
receiving a selection instruction aiming at least one interactive inlet based on the presented at least one interactive inlet; acquiring an interactive entry corresponding to the selection instruction, and receiving a trigger operation aiming at the selected interactive entry; sending an interaction type acquisition request to a server so that the server determines the interaction type of the triggered interaction entry based on the interaction type acquisition request, and searching and obtaining a page module layout corresponding to the interaction type of the triggered interaction entry based on the incidence relation between the interaction type of the interaction entry and the page module layout; and receiving the page module layout which is returned by the server and corresponds to the interaction type of the triggered interaction entry.
Here, the interaction type acquisition request sent by the terminal device to the server carries an identifier of the triggered interaction entry, the server obtains the identifier of the triggered interaction entry by analyzing the interaction type acquisition request, the interaction type of the triggered interaction entry is determined based on the identifier and a corresponding relationship between the interaction entry and an interaction type prestored in the server, then the server searches a page module layout corresponding to the interaction type of the triggered interaction entry based on the associated relationship between the interaction type of the prestored interaction entry and the page module layout, and returns the searched page module layout to the terminal device.
In the embodiment, the determination of the interaction type and the page module layout is executed on the server side, the terminal equipment does not need huge computing power, and only needs to send the identifier of the triggered interaction entry to the server, so that the light weight of the terminal equipment is improved; that is, the user only needs a very light-weight terminal device to realize the presentation of the page of the interactive scene.
In some embodiments, after receiving a trigger operation of a user for at least one interactive entry, in response to the trigger operation, the terminal device may acquire page data corresponding to the triggered interactive entry by:
based on the interaction type of the triggered interaction entry, sending a page data acquisition request to a corresponding third-party network application background, so that the third-party network application background pulls page data corresponding to the interaction type based on the page data acquisition request; and receiving page data returned by the third-party network application background.
The page data returned by the third-party network application background is determined by the interaction type of the triggered interaction entry, taking the interaction type of the triggered interaction entry as a live broadcast type as an example, the corresponding third-party network application background is a live broadcast room background, and after receiving the page data acquisition request, the live broadcast room background can pull the page data corresponding to the live broadcast type and return the pulled page data to the terminal device.
In practical application, the page data pulled in the background of the live broadcast room may include interactive information input by the user during the live broadcast process, a currently live broadcast topic, the number of users participating in the live broadcast, the start time of the live broadcast, and the like, and the interactive information input by the user may include barrage information, voice information, and the like, for example.
In step 403, page data is filled into the page module layout to form a page of the interactive scene corresponding to the interactive portal.
In some embodiments, the terminal device may fill the page data into the page module layout to form a page of the interaction scene corresponding to the interaction portal, as follows:
acquiring attribute information of page data, wherein the page data represents text information associated with each interactive scene, and the attribute information comprises: at least one of an interactive theme corresponding to the interactive scene, the number of participants of the interactive scene, and the start time of the interactive scene; and based on the acquired attribute information of the page data, filling the page data into a corresponding target position of the page module layout to form a page of an interaction scene corresponding to the interaction entrance.
Here, the structure of the layout of the page module includes one or more template fragments, different template fragments correspond to different target positions, and the template fragment at each target position can carry corresponding types of page data.
Referring to fig. 6, fig. 6 is an optional page schematic diagram of a filled page module layout corresponding to different interaction types according to an embodiment of the present invention, including fig. 6A and fig. 6B, where fig. 6A is a page schematic diagram of a filled page module layout when a corresponding interaction type is a live broadcast type according to an embodiment of the present invention, a page of the page module layout displays interaction topics in a live broadcast process as "vessel bloom and decay that i have experienced", a start time of the live broadcast is 10:00 am, a guest of the live broadcast is "lie star", and the number of participants of the live broadcast is 93; fig. 6B is a schematic page diagram of a layout of a page module after filling when a corresponding interaction type is an online chat type according to an embodiment of the present invention, where a page of the layout of the page module displays that an interaction topic in an online chat process is "member chat by entrepreneur" and the number of participants in the online chat is 93.
In some embodiments, the method for processing the page of the interactive scene may further include:
responding to the triggering operation of the layout of the page module for filling the page data, and acquiring the interactive content of the interactive scene corresponding to the interactive entry provided by the third-party network application background; and the interactive content is used for page rendering to form a page of an interactive scene corresponding to the interactive entrance.
In practical implementation, an interaction component for a user to initiate interaction is loaded in a page module layout of the filled page data, and the user can trigger the interaction interface to jump to a page of an interaction scene corresponding to an interaction entry by clicking the interaction component in the page module layout, wherein the page of the interaction scene can be obtained by rendering the page based on interaction content of the interaction scene corresponding to the interaction entry, which is acquired by the terminal device.
Referring to fig. 7, fig. 7 is an optional schematic view of a page corresponding to an interactive scene of different interaction types provided in the embodiment of the present invention, including fig. 7A and fig. 7B, fig. 7A is a schematic view of a page display of an interactive scene when the corresponding interaction type is a live type provided in the embodiment of the present invention, a user can trigger a page to jump to a page corresponding to a live interaction scene by clicking an interaction component (i.e., a live interaction component 1) arranged in a page module layout, and the page of the live interaction scene can be used to view interactive contents of each live user in a live process; fig. 7B is a schematic diagram of a page display of an interaction scene when the corresponding interaction type is an online chat type, according to an embodiment of the present invention, a user clicks an interaction component (i.e., chat interaction component 2) set in a page module layout to trigger a page to jump to a page corresponding to the online chat interaction scene, and the page of the online chat interaction scene enables the user to view the communication content of each user during the online chat process.
In step 404, a page of the interactive scene is presented.
In the embodiment of the present invention, the terminal device may simultaneously present pages of multiple interaction scenes, and still take the interaction types as a live type and an online chat type as examples, the terminal device may present, at the same time, a page of an interaction scene when the interaction type shown on the right side of fig. 7A is the live type and a page of an interaction scene when the interaction type shown on the right side of fig. 7B is the online chat type, so as to meet the use requirements of the user for multiple interaction scenes.
In some embodiments, the terminal device may present the page of the interactive scene by at least one of:
when the interaction type of the triggered interaction entry comprises live broadcasting, presenting a page of an interaction live broadcasting room corresponding to the live broadcasting, wherein the page of the interaction live broadcasting room at least comprises interaction contents corresponding to each target user in the interaction live broadcasting room;
and when the interaction type of the triggered interaction entrance comprises chatting, presenting a page of an interaction chat room corresponding to the chatting, wherein the page of the interaction chat room at least comprises interaction contents corresponding to each target user in the interaction chat room.
Here, the interactive content in the interactive live room and the interactive content in the interactive chat room may each include at least one of media information such as text, voice, video, and picture.
In some embodiments, the method for processing the page of the interactive scene may further include:
receiving a data updating instruction aiming at interactive contents displayed in a page of an interactive scene based on the page of the presented interactive scene; acquiring target interactive content for updating the interactive content based on the data updating instruction; and updating the page of the interactive scene based on the target interactive content.
Here, the target interactive content may be target media information locally stored in the terminal based on the data update instruction, or may be new interactive content captured by the server within a set time duration. It should be noted that the new interactive contents intercepted here can be dynamically set based on the user's preference. By the method, the page of the interactive scene presented by the terminal equipment is updated in real time, and the enthusiasm and the watching experience of the user participating in interaction can be improved.
By applying the technical scheme provided by the embodiment of the invention, aiming at the page display of the interactive scene under the same communication interactive property function, the corresponding page module layout can be configured based on the interactive type of the triggered interactive entry, so that the page module layout has universality for the interface interaction with the same function property, the display of the pages of various interactive scenes under the same interactive appeal can be realized under the condition of ensuring that the page module layout is not changed without adding new function blocks and function points and rewriting code resources, the strange cognition of users on the layout interface caused by function addition and deletion is reduced, and the uniform identification degree and the stability of the layout interface are further improved.
Next, a description is continued on a processing method for a page of an interactive scene provided in an embodiment of the present invention, referring to fig. 8, fig. 8 is another optional flowchart of the processing method for a page of an interactive scene provided in an embodiment of the present invention, and in some embodiments, the processing method for a page of an interactive scene may be implemented by a terminal device, or implemented cooperatively by a server and a terminal device. In practical applications, an instant application client, such as a wechat client, is disposed in the terminal device, and the method is described with reference to the steps shown in fig. 8. For technical details which are not exhausted in the following description of each step, it can be understood by referring to the above, and detailed description is not provided herein.
In step 801, an instant application client receives an interaction initiation instruction.
In step 802, the instant application client loads an interactive interface based on the interaction initiation instruction, and presents at least one interactive entry in the interactive interface.
Here, the instant application client may present at least one interaction entry in the interaction interface in the form of an icon, where each interaction entry corresponds to a different interaction type, that is, the interaction entries and the interaction types are in a one-to-one correspondence relationship.
In practical applications, the display mode of the at least one interactive portal may be dynamic display or floating display in the interactive interface. When the number of the interactive entrances is multiple, the dynamic display or the floating display in the interactive interface can be realized in the form of an interactive entrance list.
In step 803, the instant application client receives a selection instruction for at least one interactive portal.
In step 804, the instant application client determines an interaction entry corresponding to the selection instruction based on the selection instruction.
In step 805, the instant application client receives a trigger operation for the selected interactive portal.
Here, the triggering operation performed on the at least one interactive entry may include at least one of a click operation, a press operation, and the like, which is not limited herein.
In step 806, the instant application client sends an interaction type obtaining request to the instant application server in response to the triggering operation.
In step 807, the instant application server determines the interaction type of the triggered interaction entry, and searches for a page module layout corresponding to the interaction type of the triggered interaction entry based on the association relationship between the interaction type of the interaction entry and the page module layout.
Here, the association relationship between the interaction type of the interaction entry and the page module layout may be understood as that, for each interaction type of the interaction entry, a page module layout is correspondingly bound, that is, if the interaction types of the two interaction entries are the same, the obtained page module layout corresponding to the interaction type of the triggered interaction entry is also the same.
Here, the interaction type obtaining request sent by the instant application client to the instant application server carries an identifier of the triggered interaction entry, the instant application server obtains the identifier of the triggered interaction entry by analyzing the interaction type obtaining request, the interaction type of the triggered interaction entry is determined based on the identifier and a corresponding relationship between the interaction entry and an interaction type prestored in the instant application server, then the instant application server searches a page module layout corresponding to the interaction type of the triggered interaction entry based on the associated relationship between the interaction type of the prestored interaction entry and the page module layout, and returns the searched page module layout to the instant application client.
In the above embodiment, the determination of the interaction type and the layout of the page module is performed on the side of the instant application server, and the terminal device does not need huge computing power, and only needs to send the identifier of the triggered interaction entry to the instant application server, so that the light weight of the terminal device is improved.
In step 808, the instant application client sends a page data acquisition request to the corresponding third-party network application background in response to the trigger operation.
In practical application, the instant application client can determine to which third-party network application background a page data acquisition request is sent based on the interaction type of the triggered interaction entry, for example, when the interaction type is a live broadcast type, the instant application client is determined to send the page data acquisition request to a live broadcast room background so as to request to acquire page data corresponding to the live broadcast type; and when the interaction type is a chat type, determining that the instant application client sends a page data acquisition request to the chat room background so as to request to acquire page data corresponding to the chat type.
In step 809, the third-party web application background pulls the page data corresponding to the interaction type based on the page data acquisition request.
Here, taking the interaction type as the live broadcast type as an example, the page data pulled in the background of the live broadcast room may include interaction information input by the user during the live broadcast, a topic of the current live broadcast, the number of users participating in the live broadcast, a start time of the live broadcast, and the like.
In step 810, the instant application client receives the page module layout returned by the instant application server and receives the page data returned by the third-party network application background.
In step 811, the instant application client fills the page data into the page module layout to form a page of the interactive scene corresponding to the interactive portal.
In actual implementation, the instant application client may fill page data into the page module layout by:
acquiring attribute information of page data, wherein the page data represents text information associated with each interactive scene, and the attribute information comprises: at least one of an interactive theme corresponding to the interactive scene, the number of participants of the interactive scene, and the start time of the interactive scene; and filling the page data into the corresponding target position of the layout of the page module based on the acquired attribute information of the page data.
In step 812, the instant application client renders a page of the interactive scene.
In practical implementation, taking the interaction type as a live type and an online chat type as examples, the instant application client may present a page of an interaction scene in at least one of the following manners:
when the interaction type of the triggered interaction entry comprises live broadcasting, presenting a page of an interaction live broadcasting room corresponding to the live broadcasting, wherein the page of the interaction live broadcasting room at least comprises interaction contents corresponding to each target user in the interaction live broadcasting room; and when the interaction type of the triggered interaction entrance comprises chatting, presenting a page of an interaction chat room corresponding to the chatting, wherein the page of the interaction chat room at least comprises interaction contents corresponding to each target user in the interaction chat room.
By adopting the technical scheme of the embodiment of the invention, aiming at the page display of the interactive scenes under the same communication interactive property function, the corresponding page module layout can be configured based on the interactive type of the triggered interactive entrance, so that the page module layout has universality for the interface interaction with the same function property, the display of the pages of various interactive scenes under the same interactive appeal can be realized under the condition of ensuring that the page module layout is not changed without adding new function blocks and function points and rewriting code resources, the strange cognition of users on the layout interface caused by function addition and deletion is reduced, and the uniform identification degree and the stability of the layout interface are further improved.
In the following, an exemplary application of the embodiments of the present invention in a practical application scenario will be described.
The technical scheme of the invention is equivalent to that on the basis of not changing the layout of the page module, various interactive scenes can be borne by the entrance of the uniform function template, strange cognition of a user to the interface caused by function addition and deletion is reduced, and the uniform identification degree and the user experience of the interface are improved.
Taking an instant application client arranged in the terminal device as a WeChat client, a server corresponding to the instant application client as a WeChat server, and a third-party network application background as a live broadcast room background and a chat room background, the method for processing the page of the interactive scene provided by the embodiment of the invention is explained based on the example that the user A enters the interactive interface shown in FIG. 5 in the WeChat client.
Referring to fig. 9, fig. 9 is a schematic flowchart illustrating yet another optional processing method for a page of an interactive scene according to an embodiment of the present invention, where the processing method for a page of an interactive scene may include the following steps:
in step 901, a user a clicks at least one interactive entry in an interactive interface presented in a wechat client.
In step 902, the wechat client sends an interaction type acquisition request to the wechat server after receiving the click operation.
Here, the wechat client sends an interaction type acquisition request to the wechat server, and the purpose of the request is to acquire the interaction type of the triggered interaction entry.
In step 903, the WeChat Server determines the type of interaction for the currently triggered interaction portal.
Here, the interaction type obtaining request may carry an identifier of the triggered interaction entry, the wechat server obtains the identifier of the triggered interaction entry by analyzing the interaction type obtaining request, and determines the interaction type of the currently triggered interaction entry, such as whether the interaction type is a live type or a chat type, based on the identifier and a correspondence between the interaction entry and the interaction type prestored in the server.
When it is determined that the interaction type is the live type, the following steps 904 to 909 may be performed:
in step 904, the wechat server continues to query the live broadcast room background and sends a corresponding live broadcast page data acquisition request to the live broadcast room background.
In step 905, the live broadcast room background pulls the corresponding live broadcast page data, and returns the live broadcast page data to the wechat server.
In step 906, the wechat server returns live page data to the wechat client, and the wechat client renders a corresponding live page module layout according to the live type.
Here, the obtained live page data is filled into the page module layout during the rendering process, and the rendered page module layout can be seen in fig. 6A.
In step 907, user a clicks on the interactive components in the live page module layout, so that the wechat client enters the live room.
In step 908, the wechat client sends a live-air information acquisition request to the live-air background.
Here, the live-cast room information is actually used for rendering a page of an interactive scene, and corresponds to live-cast interactive content.
In step 909, the live room background returns the live room information to the wechat client, so that the wechat client renders the page of the interactive live room and presents the page of the interactive live room, and the current processing flow is ended.
When it is determined that the interaction type is a chat type, the following steps 910 to 915 may be performed:
in step 910, the WeChat Server continuously queries the background of the chat room, and sends a request for obtaining page data of a corresponding chat to the background of the chat room.
In step 911, the background of the chat room pulls the page data of the corresponding chat, and returns the page data of the chat to the WeChat server.
In step 912, the wechat server returns the page data of the chat to the wechat client, and the wechat client renders the page module layout of the corresponding chat according to the chat type.
Here, the page module layout is populated with the obtained chat page data during the rendering process, and the rendered page module layout can be seen in fig. 6B.
In step 913, user a clicks on the interactive components in the page module layout of the chat, causing the WeChat client to enter the chat room.
In step 914, the wechat client sends a chat room information acquisition request to the chat room background.
Here, the chat room information is actually rendered for the page of the interactive scene, and corresponds to the interactive content of the chat.
In step 915, the chat room background returns the chat room information to the wechat client, so that the wechat client renders the page of the interactive chat room, presents the page of the interactive chat room, and ends the current processing flow.
It should be noted that, when the user a clicks on two interaction entries in the interaction interface, for example, the interaction entry corresponding to the interaction type being the live type and the interaction entry corresponding to the interaction type being the chat type, the above steps 904 to 909 and steps 910 to 915 should be executed.
It should be noted that, besides the above-mentioned chat and live interaction types, more interaction forms may be adopted, and the embodiment of the present invention is not limited herein.
Through the technical scheme of the invention, under the condition of ensuring that the layout of the page module is not changed, the display of pages of various interactive scenes under the same interactive appeal can be realized, strange cognition of a user on the layout interface due to function addition and deletion is reduced, and further the uniform identification degree and stability of the layout interface are improved.
The following proceeds to describe the software implementation of the processing device 455 for processing the page of the interactive scene provided by the embodiment of the present invention. Taking the software module included in the memory 450 of the electronic device 40 for implementing the method for processing the page of the interactive scene according to the embodiment of the present invention as an example, for technical details that are not described in the functional description of the module below, it can be understood by referring to the description of the embodiment of the method of the present invention, and details are not described here. As shown in fig. 3, the apparatus 455 for processing a page of an interactive scene provided by an embodiment of the present invention may include:
a first presentation unit 4551, configured to present at least one interactive entry in the interactive interface;
an obtaining unit 4552, configured to, in response to a trigger operation for the at least one interaction entry, obtain a page module layout corresponding to an interaction type of the triggered interaction entry, and obtain page data corresponding to the triggered interaction entry;
a filling unit 4553, configured to fill the page data into the page module layout to form a page of an interaction scene corresponding to the interaction entry;
and a second presenting unit 4554, configured to present a page of the interactive scene.
In some embodiments, for the obtaining unit to obtain the page module layout corresponding to the interaction type of the triggered interaction entry, the following method may be adopted:
receiving a selection instruction for the at least one interactive inlet based on the presented at least one interactive inlet;
acquiring an interactive entry corresponding to the selection instruction, and receiving a trigger operation aiming at the selected interactive entry;
determining an interaction type of the triggered interaction portal;
and searching to obtain the page module layout corresponding to the interaction type of the triggered interaction entry based on the incidence relation between the interaction type of the locally pre-stored interaction entry and the page module layout.
In other embodiments, for the case that the obtaining unit obtains the page module layout corresponding to the interaction type of the triggered interaction entry, the following method may be further adopted:
receiving a selection instruction for the at least one interactive inlet based on the presented at least one interactive inlet;
acquiring an interactive entry corresponding to the selection instruction, and receiving a trigger operation aiming at the selected interactive entry;
sending an interaction type acquisition request to a server so that the server determines the interaction type of the triggered interaction entry based on the interaction type acquisition request, and searching and obtaining a page module layout corresponding to the interaction type of the triggered interaction entry based on the incidence relation between the interaction type of the interaction entry and the page module layout;
and receiving a page module layout which is returned by the server and corresponds to the triggered interaction type of the interaction entrance.
In some embodiments, for the obtaining unit to obtain the page data corresponding to the triggered interaction entry, the following method may be adopted:
based on the triggered interaction type of the interaction entry, sending a page data acquisition request to a corresponding third-party network application background, so that the third-party network application background pulls page data corresponding to the interaction type based on the page data acquisition request;
and receiving the page data returned by the third-party network application background.
In some embodiments, for the filling unit to fill the page data into the page module layout to form a page of the interaction scene corresponding to the interaction entry, the following method may be adopted:
acquiring attribute information of the page data, wherein the page data represent text information associated with each interactive scene, and the attribute information comprises: at least one of an interaction theme corresponding to the interaction scene, the number of participants of the interaction scene, and the starting time of the interaction scene;
and based on the acquired attribute information, filling the page data into a corresponding target position of the page module layout to form a page of an interactive scene corresponding to the interactive entrance.
In some embodiments, the obtaining unit is further configured to:
responding to a trigger operation aiming at the layout of the page module filled with the page data, and acquiring interactive content of an interactive scene corresponding to the interactive entry, which is provided by a third-party network application background;
and the interactive content is used for page rendering to form a page of the interactive scene corresponding to the interactive entrance.
In some embodiments, for the second rendering unit to render the page of the interactive scene, at least one of the following ways may be adopted:
when the interaction type of the triggered interaction entry comprises live broadcasting, presenting a page of an interaction live broadcasting room corresponding to the live broadcasting, wherein the page of the interaction live broadcasting room at least comprises interaction contents corresponding to target users in the interaction live broadcasting room;
and when the triggered interaction type of the interaction entrance comprises chat, presenting a page of an interaction chat room corresponding to the chat, wherein the page of the interaction chat room at least comprises interaction contents corresponding to each target user in the interaction chat room.
In some embodiments, the processing device of the page of the interactive scene further comprises:
the receiving unit is used for receiving a data updating instruction aiming at interactive contents displayed in the page of the interactive scene based on the presented page of the interactive scene;
the acquisition unit is further configured to acquire target interactive content for updating the interactive content based on the data updating instruction;
and the updating unit is used for updating the page of the interactive scene based on the target interactive content.
An embodiment of the present invention further provides an electronic device, where the electronic device includes:
a memory for storing executable instructions;
and the processor is used for realizing the processing method of the page of the interactive scene provided by the embodiment of the invention when the executable instruction stored in the memory is executed.
The embodiment of the invention also provides a storage medium, which stores executable instructions, and the executable instructions are used for realizing the processing method of the page of the interactive scene provided by the embodiment of the invention when being executed by the processor.
In some embodiments, the storage medium may be a computer-readable storage medium, such as a Memory, for example, a Ferroelectric Random Access Memory (FRAM), a ROM, a PROM, an Erasable Programmable Read-Only Memory (EPROM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), a Flash Memory (Flash Memory), a magnetic surface Memory, an optical Disc or a Compact Disc Read-Only Memory (CD-ROM), and the like; or may be various devices including one or any combination of the above memories.
In some embodiments, executable instructions may be written in any form of programming language (including compiled or interpreted languages), in the form of programs, software modules, scripts or code, and may be deployed in any form, including as a stand-alone program or as a module, component, subroutine, or other unit suitable for use in a computing environment.
By way of example, executable instructions may correspond, but do not necessarily have to correspond, to files in a file system, and may be stored in a portion of a file that holds other programs or data, such as in one or more scripts in a hypertext Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files that store one or more modules, sub-programs, or portions of code).
By way of example, executable instructions may be deployed to be executed on one computing device or on multiple computing devices at one site or distributed across multiple sites and interconnected by a communication network.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (10)

1. A method for processing a page of an interactive scene is characterized in that the method comprises the following steps:
presenting at least one interactive portal in an interactive interface;
responding to the triggering operation aiming at the at least one interactive entry, acquiring a page module layout corresponding to the interaction type of the triggered interactive entry, and acquiring page data corresponding to the triggered interactive entry;
filling the page data into the page module layout to form a page of an interaction scene corresponding to the interaction entrance;
and presenting the page of the interactive scene.
2. The method of claim 1, wherein the obtaining a page module layout corresponding to the interaction type of the interaction portal that is triggered comprises:
receiving a selection instruction for the at least one interactive inlet based on the presented at least one interactive inlet;
acquiring an interactive entry corresponding to the selection instruction, and receiving a trigger operation aiming at the selected interactive entry;
determining an interaction type of the triggered interaction portal;
and searching to obtain the page module layout corresponding to the interaction type of the triggered interaction entry based on the incidence relation between the interaction type of the locally pre-stored interaction entry and the page module layout.
3. The method of claim 1, wherein the obtaining a page module layout corresponding to the interaction type of the interaction portal that is triggered comprises:
receiving a selection instruction for the at least one interactive inlet based on the presented at least one interactive inlet;
acquiring an interactive entry corresponding to the selection instruction, and receiving a trigger operation aiming at the selected interactive entry;
sending an interaction type acquisition request to a server so that the server determines the interaction type of the triggered interaction entry based on the interaction type acquisition request, and searching and obtaining a page module layout corresponding to the interaction type of the triggered interaction entry based on the incidence relation between the interaction type of the interaction entry and the page module layout;
and receiving a page module layout which is returned by the server and corresponds to the triggered interaction type of the interaction entrance.
4. The method of claim 1, wherein the obtaining page data corresponding to the triggered interactive portal comprises:
based on the triggered interaction type of the interaction entry, sending a page data acquisition request to a corresponding third-party network application background, so that the third-party network application background pulls page data corresponding to the interaction type based on the page data acquisition request;
and receiving the page data returned by the third-party network application background.
5. The method of claim 1, wherein the populating the page data into the page module layout to form a page of an interaction scenario corresponding to the interaction portal, comprises:
acquiring attribute information of the page data, wherein the page data represent text information associated with each interactive scene, and the attribute information comprises: at least one of an interaction theme corresponding to the interaction scene, the number of participants of the interaction scene, and the starting time of the interaction scene;
and based on the acquired attribute information, filling the page data into a corresponding target position of the page module layout to form a page of an interactive scene corresponding to the interactive entrance.
6. The method of claim 1, wherein the method further comprises:
responding to a trigger operation aiming at the layout of the page module filled with the page data, and acquiring interactive content of an interactive scene corresponding to the interactive entry, which is provided by a third-party network application background;
and the interactive content is used for page rendering to form a page of the interactive scene corresponding to the interactive entrance.
7. The method of claim 1, wherein the rendering of the page of the interactive scene comprises at least one of:
when the interaction type of the triggered interaction entry comprises live broadcasting, presenting a page of an interaction live broadcasting room corresponding to the live broadcasting, wherein the page of the interaction live broadcasting room at least comprises interaction contents corresponding to target users in the interaction live broadcasting room;
and when the triggered interaction type of the interaction entrance comprises chat, presenting a page of an interaction chat room corresponding to the chat, wherein the page of the interaction chat room at least comprises interaction contents corresponding to each target user in the interaction chat room.
8. The method of claim 1, wherein the method further comprises:
receiving a data updating instruction aiming at interactive contents displayed in the page of the interactive scene based on the presented page of the interactive scene;
acquiring target interactive content for updating the interactive content based on the data updating instruction;
and updating the page of the interactive scene based on the target interactive content.
9. An apparatus for processing a page of an interactive scene, the apparatus comprising:
the first presentation unit is used for presenting at least one interactive entrance in the interactive interface;
the acquisition unit is used for responding to the triggering operation aiming at the at least one interactive entry, acquiring the page module layout corresponding to the interaction type of the triggered interactive entry and acquiring the page data corresponding to the triggered interactive entry;
the filling unit is used for filling the page data into the page module layout so as to form a page of an interaction scene corresponding to the interaction entrance;
and the second presentation unit is used for presenting the page of the interactive scene.
10. A storage medium storing executable instructions for implementing a method for processing a page of an interactive scenario as claimed in any one of claims 1 to 8 when executed by a processor.
CN202010087246.2A 2020-02-11 2020-02-11 Method and device for processing pages of interaction scene and storage medium Active CN113253880B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010087246.2A CN113253880B (en) 2020-02-11 2020-02-11 Method and device for processing pages of interaction scene and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010087246.2A CN113253880B (en) 2020-02-11 2020-02-11 Method and device for processing pages of interaction scene and storage medium

Publications (2)

Publication Number Publication Date
CN113253880A true CN113253880A (en) 2021-08-13
CN113253880B CN113253880B (en) 2024-03-08

Family

ID=77219587

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010087246.2A Active CN113253880B (en) 2020-02-11 2020-02-11 Method and device for processing pages of interaction scene and storage medium

Country Status (1)

Country Link
CN (1) CN113253880B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114816636A (en) * 2022-04-27 2022-07-29 阿里巴巴(中国)有限公司 Interactive processing method and device suitable for target application
CN114967996A (en) * 2022-05-16 2022-08-30 瓴里网络科技(上海)有限公司 Interactive template evolution method and system suitable for non-standard customized consultation service
CN114997186A (en) * 2021-09-02 2022-09-02 荣耀终端有限公司 Control method of translation control and electronic equipment
WO2023040707A1 (en) * 2021-09-15 2023-03-23 花瓣云科技有限公司 Live broadcast interaction method, electronic device and system

Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103634681A (en) * 2013-11-29 2014-03-12 腾讯科技(成都)有限公司 Method, device, client end, server and system for live broadcasting interaction
CN104918124A (en) * 2015-05-11 2015-09-16 腾讯科技(北京)有限公司 Live interaction system, information transmission method, information receiving method and device
CN106231379A (en) * 2016-07-29 2016-12-14 广州酷狗计算机科技有限公司 A kind of methods, devices and systems playing live video
CN106792188A (en) * 2016-12-06 2017-05-31 腾讯数码(天津)有限公司 A kind of data processing method of live page, device and system
CN107145355A (en) * 2017-05-08 2017-09-08 网易(杭州)网络有限公司 The method of adjustment and device of page layout, storage medium, processor and terminal
CN107861982A (en) * 2017-09-29 2018-03-30 五八有限公司 It is dynamically determined method, terminal, server and the system of application program page layout
US9940659B1 (en) * 2014-12-18 2018-04-10 Amazon Technologies, Inc. Category preferred layout for items in an electronic marketplace
CN109614545A (en) * 2018-11-13 2019-04-12 阿里巴巴集团控股有限公司 Page loading method, device and equipment
CN109660853A (en) * 2017-10-10 2019-04-19 腾讯科技(北京)有限公司 Interactive approach, apparatus and system in net cast
US20190118099A1 (en) * 2017-10-20 2019-04-25 Microsoft Technology Licensing, Llc Cross-platform interactive streaming
CN110087119A (en) * 2019-04-26 2019-08-02 广州酷狗计算机科技有限公司 Homepage display methods, device and computer readable storage medium is broadcast live
CN110134487A (en) * 2019-05-23 2019-08-16 上海哔哩哔哩科技有限公司 Dynamic skin change method, readable storage medium storing program for executing and the computer equipment at interface is broadcast live
CN110225388A (en) * 2019-06-06 2019-09-10 腾讯科技(深圳)有限公司 Processing method, device, electronic equipment and the storage medium of living broadcast interactive
CN110399367A (en) * 2018-04-12 2019-11-01 腾讯科技(深圳)有限公司 Business data processing method, device, computer equipment and storage medium
CN110418155A (en) * 2019-08-08 2019-11-05 腾讯科技(深圳)有限公司 Living broadcast interactive method, apparatus, computer readable storage medium and computer equipment
CN110519611A (en) * 2019-08-23 2019-11-29 腾讯科技(深圳)有限公司 Living broadcast interactive method, apparatus, electronic equipment and storage medium
US20200021545A1 (en) * 2017-08-02 2020-01-16 Tencent Technology (Shenzhen) Company Limited Method, device and storage medium for interactive message in video page

Patent Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103634681A (en) * 2013-11-29 2014-03-12 腾讯科技(成都)有限公司 Method, device, client end, server and system for live broadcasting interaction
US9940659B1 (en) * 2014-12-18 2018-04-10 Amazon Technologies, Inc. Category preferred layout for items in an electronic marketplace
CN104918124A (en) * 2015-05-11 2015-09-16 腾讯科技(北京)有限公司 Live interaction system, information transmission method, information receiving method and device
CN106231379A (en) * 2016-07-29 2016-12-14 广州酷狗计算机科技有限公司 A kind of methods, devices and systems playing live video
CN106792188A (en) * 2016-12-06 2017-05-31 腾讯数码(天津)有限公司 A kind of data processing method of live page, device and system
CN107145355A (en) * 2017-05-08 2017-09-08 网易(杭州)网络有限公司 The method of adjustment and device of page layout, storage medium, processor and terminal
US20200021545A1 (en) * 2017-08-02 2020-01-16 Tencent Technology (Shenzhen) Company Limited Method, device and storage medium for interactive message in video page
CN107861982A (en) * 2017-09-29 2018-03-30 五八有限公司 It is dynamically determined method, terminal, server and the system of application program page layout
CN109660853A (en) * 2017-10-10 2019-04-19 腾讯科技(北京)有限公司 Interactive approach, apparatus and system in net cast
US20190118099A1 (en) * 2017-10-20 2019-04-25 Microsoft Technology Licensing, Llc Cross-platform interactive streaming
CN110399367A (en) * 2018-04-12 2019-11-01 腾讯科技(深圳)有限公司 Business data processing method, device, computer equipment and storage medium
CN109614545A (en) * 2018-11-13 2019-04-12 阿里巴巴集团控股有限公司 Page loading method, device and equipment
CN110087119A (en) * 2019-04-26 2019-08-02 广州酷狗计算机科技有限公司 Homepage display methods, device and computer readable storage medium is broadcast live
CN110134487A (en) * 2019-05-23 2019-08-16 上海哔哩哔哩科技有限公司 Dynamic skin change method, readable storage medium storing program for executing and the computer equipment at interface is broadcast live
CN110225388A (en) * 2019-06-06 2019-09-10 腾讯科技(深圳)有限公司 Processing method, device, electronic equipment and the storage medium of living broadcast interactive
CN110418155A (en) * 2019-08-08 2019-11-05 腾讯科技(深圳)有限公司 Living broadcast interactive method, apparatus, computer readable storage medium and computer equipment
CN110519611A (en) * 2019-08-23 2019-11-29 腾讯科技(深圳)有限公司 Living broadcast interactive method, apparatus, electronic equipment and storage medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114997186A (en) * 2021-09-02 2022-09-02 荣耀终端有限公司 Control method of translation control and electronic equipment
CN114997186B (en) * 2021-09-02 2023-03-31 荣耀终端有限公司 Control method of translation control and electronic equipment
WO2023040707A1 (en) * 2021-09-15 2023-03-23 花瓣云科技有限公司 Live broadcast interaction method, electronic device and system
CN114816636A (en) * 2022-04-27 2022-07-29 阿里巴巴(中国)有限公司 Interactive processing method and device suitable for target application
CN114967996A (en) * 2022-05-16 2022-08-30 瓴里网络科技(上海)有限公司 Interactive template evolution method and system suitable for non-standard customized consultation service

Also Published As

Publication number Publication date
CN113253880B (en) 2024-03-08

Similar Documents

Publication Publication Date Title
US11800192B2 (en) Bullet screen processing method and apparatus, electronic device, and computer-readable storage medium
CN108924626B (en) Picture generation method, device, equipment and storage medium
EP4087258A1 (en) Method and apparatus for displaying live broadcast data, and device and storage medium
JP6997253B2 (en) Web page rendering methods, equipment, electronics, storage media and programs
CN113253880B (en) Method and device for processing pages of interaction scene and storage medium
US10547571B2 (en) Message service providing method for message service linked to search service and message server and user terminal to perform the method
CN111372115B (en) Application program access method and device and communication system
CN111949908A (en) Media information processing method and device, electronic equipment and storage medium
CN111580721A (en) Content display method, device and equipment based on media information stream and storage medium
CN112911320A (en) Live broadcast method and device, computer equipment and storage medium
CN112861472A (en) Shared document display method, device, equipment and computer readable storage medium
CN114679628B (en) Bullet screen adding method and device, electronic equipment and storage medium
CN108319474B (en) Page information generation method, device and equipment
CN113891165B (en) Comment processing method, comment processing device, comment processing equipment and computer-readable storage medium
CN112492399B (en) Information display method and device and electronic equipment
CN111934985A (en) Media content sharing method, device and equipment and computer readable storage medium
US20160266743A1 (en) System, method, and storage medium storing program for distributing video or audio
CN104102536A (en) Display method and system for data
CN113144606B (en) Skill triggering method of virtual object and related equipment
CN113239172A (en) Conversation interaction method, device, equipment and storage medium in robot group
CN113760281A (en) Transition animation realization method and device, terminal equipment and storage medium
CN115079892A (en) Information display method, device and equipment based on graphic identification and storage medium
CN112199090A (en) Information flow processing method, device and computer readable storage medium
CN111651111A (en) Media file processing method and device
CN111651691A (en) Content display method, device and equipment based on media information stream and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40052176

Country of ref document: HK

SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant