CN111259287A - Page content display method and device, electronic equipment and storage medium - Google Patents

Page content display method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN111259287A
CN111259287A CN202010037948.XA CN202010037948A CN111259287A CN 111259287 A CN111259287 A CN 111259287A CN 202010037948 A CN202010037948 A CN 202010037948A CN 111259287 A CN111259287 A CN 111259287A
Authority
CN
China
Prior art keywords
page content
page
client
style parameter
browser program
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
CN202010037948.XA
Other languages
Chinese (zh)
Other versions
CN111259287B (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.)
Beijing ByteDance Network Technology Co Ltd
Original Assignee
Beijing ByteDance Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN202010037948.XA priority Critical patent/CN111259287B/en
Publication of CN111259287A publication Critical patent/CN111259287A/en
Application granted granted Critical
Publication of CN111259287B publication Critical patent/CN111259287B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9577Optimising the visualization of content, e.g. distillation of HTML documents

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the disclosure discloses a method, a device, electronic equipment and a storage medium for displaying page content, wherein the method comprises the following steps: acquiring a page content display request, wherein the page content display request comprises a page link of a landing page; acquiring a page content style parameter from a client based on a page link through a browser program supported by a client environment, and displaying page content of a landing page according to the page content style parameter; the page content style parameter corresponds to the client, and the corresponding relation between the page content style parameter and the client is stored in the data server. According to the technical scheme provided by the embodiment of the disclosure, the corresponding relation between the page content style parameter and the client is stored in the data server, so that the problem of low universality caused by the fact that the corresponding relation is stored in the landing page server in the prior art can be solved, the display universality is improved, and the page content can be displayed more efficiently and conveniently.

Description

Page content display method and device, electronic equipment and storage medium
Technical Field
The embodiment of the disclosure relates to the technical field of data processing, and in particular, to a method and an apparatus for displaying page content, an electronic device and a storage medium.
Background
With the development of the internet and intelligent terminals, when information (e.g., advertisements) is displayed on a service platform or a client, a clue (e.g., a contact way) needs to be left as much as possible for a user after the user clicks a corresponding page, and the service platform or the client can send the clue to an information provider so as to be in contact with the user.
The client can realize the collection of clues by filling in a form provided for a user, wherein the form is one of page contents in the landing page. In order to display page contents of different styles in different clients, a server of the landing page can maintain the corresponding relation between different clients and specific style data, a style parameter is set in a Uniform Resource Locator (URL) of the landing page, when the landing page receives a page content display request, the style parameter is sent to the server of the landing page, the specific style data corresponding to the style parameter can be obtained, the page content is displayed based on the specific style data, and the specific style data corresponds to the client where the landing page is located.
However, the above method has the disadvantage that the correspondence between different clients and specific style data needs to be maintained at each landing page server, which makes the landing page server more complicated; and when the page content does not depend on one landing page server, and other landing pages display the page content, the corresponding relation also needs to be maintained at the landing page server, so that the display of the page content is complex, and the universality cannot meet the requirements.
Disclosure of Invention
The embodiment of the disclosure provides a page content display method and device, electronic equipment and a storage medium, so as to optimize a page content display scheme in a thread acquisition process and improve display universality.
In a first aspect, an embodiment of the present disclosure provides a method for displaying page content, which is applied to a client, and includes:
acquiring a page content display request, wherein the page content display request comprises a page link of a landing page;
acquiring a page content style parameter from the client based on the page link through a browser program supported by the client environment, and displaying the page content of the landing page according to the page content style parameter;
the page content style parameter corresponds to the client, and the corresponding relation between the page content style parameter and the client is stored in a data server.
In a second aspect, an embodiment of the present disclosure further provides a device for displaying page content, configured at a client, including:
the request acquisition module is used for acquiring a page content display request, and the page content display request comprises page links of landing pages;
the display module is used for acquiring a page content style parameter from the client based on the page link through a browser program supported by the client environment, and displaying the page content of the landing page according to the page content style parameter;
the page content style parameter corresponds to the client, and the corresponding relation between the page content style parameter and the client is stored in a data server.
In a third aspect, an embodiment of the present disclosure further provides an electronic device, where the electronic device includes:
one or more processors;
a storage device for storing executable instructions;
the executable instructions, when executed by the one or more processors, cause the one or more processors to implement a method of presentation of page content as described above.
In a fourth aspect, the disclosed embodiments also provide a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the method for presenting page content as described above.
The page content display request is acquired, the page content display request comprises the page link of the landing page, the browser program supported by the client environment is used for acquiring the page content style parameter from the client based on the page link, and the page content of the landing page is displayed according to the page content style parameter. According to the technical scheme provided by the embodiment of the disclosure, the corresponding relation between the page content style parameter and the client is stored in the data server, so that the problem of low universality caused by the fact that the corresponding relation is stored in the landing page server in the prior art can be solved, the display universality is improved, and the page content can be displayed more efficiently and conveniently.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and features are not necessarily drawn to scale.
Fig. 1 is a flowchart of a method for displaying page content in an embodiment of the present disclosure;
FIG. 2 is a flow chart of another method for displaying page content in an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of a device for displaying page content in an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of an electronic device in an embodiment of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order, and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
Fig. 1 is a flowchart of a method for displaying page content in an embodiment of the present disclosure, where the embodiment is applicable to a case of displaying page content of a landing page in a client, and the method is applied to the client, and the method can be executed by a device for displaying page content, and the device can be implemented in a software and/or hardware manner, and the device can be configured in an electronic device, such as a server or a terminal device, where a typical terminal device includes a mobile terminal, and specifically includes a mobile phone, a computer, or a tablet computer. As shown in fig. 1, the method may specifically include:
s110, a page content display request is obtained, and the page content display request comprises page links of landing pages.
The page content refers to content that can be borne by a landing page in a service platform or a client, the landing page is a first page linked to after a user clicks a set key, and the landing page can bear a form for mining and collecting user information. The form is one of page contents, and the page contents in the scheme can include at least one of the form, characters, pictures and the like.
Specifically, the obtaining of the page content display request may include: and acquiring a page content display request based on the operation of the user on the setting key. The setting key can be a virtual key preset in the client, the virtual keys corresponding to different page contents can be different, and the operation mode of the setting key can be set according to the actual situation. The page content display request can include a page link of the landing page, and the landing page can be opened through the page link.
In addition, before obtaining the page content presentation request, the method may further include: if a data refreshing request is received, sending the environmental parameters of the client to a data server, so that the data server determines corresponding page content style parameters according to the environmental parameters; and acquiring a page content style parameter sent by a data server. The method for receiving the data refresh request is not limited in this scheme, for example, when the user starts the client or clicks a refresh button in the started client, it may be determined that the data refresh request is received. In the scheme, the corresponding relation between the page content style parameter and the client is stored in the data server, after the client receives a data refreshing request, the corresponding page content style parameter can be determined according to the environment parameter sent by the client, and the page content style parameter is sent to the client for subsequent page content display.
The environment parameters of the client are parameters representing the client, the environment parameters corresponding to different clients are different, and the type of the client is not limited in the scheme. The data server can be a server corresponding to the client, and when the landing page is an advertisement landing page, the data server is an advertisement server.
S120, acquiring a page content style parameter from the client based on the page link through a browser program supported by the client environment, and displaying the page content of the landing page according to the page content style parameter.
The browser program is built in the client, and the client can open landing pages corresponding to different advertisers through the browser program. The page content style parameter can be a parameter corresponding to a style adapted to the style of the client, and the types and the number of the style parameters corresponding to different page contents can be set according to actual conditions. In the scheme, the page content is described by taking a form as an example, and when the page content is the form, the page content style parameter may include at least one of form layout, form display position, form size, form color, form font, interaction mode and the like.
Specifically, a set interface protocol in a page link is called to obtain a page content style parameter from the client through a browser program supported by the client environment. The set interface protocol may be a pre-injected interface protocol capable of acquiring data from the client, and the set interface protocol may be JS _ Bridge.
Further, invoking a set interface protocol in the page link to obtain the page content style parameter from the client by a browser program supported by the client environment may include: and calling a set interface protocol to acquire the page content style parameters from the client by a browser program supported by the client environment according to the page identifier and the interactive identifier of the landing page in the page content display request. Since the page content style parameters stored in the client correspond to the entire client, the corresponding page content style parameters need to be searched for by the page identifier of the landing page. Moreover, one client may also correspond to different page content style parameters based on different interaction modes with the user, at this time, the corresponding page content style parameters need to be searched through the interaction identifier of the landing page, and the interaction modes corresponding to different interaction identifiers are different and can be set according to actual conditions.
Illustratively, when the interaction mode corresponding to the interaction identifier is interaction through a set key in the video client, the corresponding page content is a form, and the form is a popup form; and when the interactive mode corresponding to the interactive identification is that the video is displayed after being played, the form is a Mongolian form.
In the scheme, different styles can be set based on different interaction modes on the basis that the page content style parameters correspond to the client, and compared with a mode that a corresponding specific style is determined through a User Agent (User Agent) in the prior art, the granularity is finer, and the User experience is improved.
Optionally, after acquiring the page content style parameter from the client based on the page link through a browser program supported by the client environment, the method may further include: and acquiring page content data from the service server through a browser program supported by the client environment. The service server is configured by background personnel for a service provider, and can be used for the advertiser to edit the information of the corresponding landing page.
Specifically, the displaying the page content of the landing page according to the page content style parameter by the browser program supported by the client environment may include: and calling a page function program corresponding to the page content through a browser program supported by the client environment, and displaying the page content according to the page content style parameter and the page content data. The page function program may be a Software Development Kit (SDK) running based on a browser program environment, and may also be referred to as a micro program or an intelligent program, and the page function program corresponding to different page contents is different. The browser program supported by the client environment can call a page function program corresponding to the page content, and the page content is displayed to the user after page content style parameters are used as the basis or the frame is filled with page content data, namely, the page content is displayed.
According to the technical scheme of the embodiment, the page content display request is obtained and comprises the page link of the landing page, the browser program supported by the client environment is used for obtaining the page content style parameter from the client based on the page link, and the page content of the landing page is displayed according to the page content style parameter. According to the page content style parameter and client-side correspondence stored in the data server-side, the problem that in the prior art, the correspondence is stored in the landing page server-side, the universality is low, and the display universality is improved, so that the page content is displayed more efficiently and conveniently.
In addition, in this scheme, after acquiring, by a browser program supported by a client environment, a page content style parameter from the client based on the page link and displaying the page content of the landing page according to the page content style parameter, the method may further include: if the operation of the user on the class list component is detected, the short message verification code interface style parameter is sent to the short message verification code function program through a browser program supported by the client environment, so that the short message verification code function program displays the short message verification code interface according to the short message verification code interface style parameter, wherein the short message verification code interface style parameter corresponds to the page content style parameter, and the class list component comprises a mobile phone number.
Fig. 2 is a flowchart of another method for displaying page content in the embodiment of the present disclosure. On the basis of the above embodiments, the present embodiment further optimizes the display method of the page content. Correspondingly, as shown in fig. 2, the method of the embodiment specifically includes:
s210, a page content display request is obtained, and the page content display request comprises page links of landing pages.
Specifically, a page content display request is acquired based on the operation of a user on a set key. The page content includes at least one of a form, text and a picture,
s220, acquiring the page content style parameters from the client based on the page link through a browser program supported by the client environment.
The page content style parameter corresponds to the client, and the corresponding relation between the page content style parameter and the client is stored in the data server. When the page content is a form, the page content style parameter includes at least one of form layout, form display position, form size, form color, form font and interaction mode.
And calling the set interface protocol in the page link to acquire the page content style parameters from the client by a browser program supported by a client environment according to the page identifier and the interactive identifier of the landing page in the page content display request.
And S230, acquiring page content data from the service server through a browser program supported by the client environment.
S240, calling a page function program corresponding to the page content through a browser program supported by the client environment, and displaying the page content according to the page content style parameter and the page content data.
And S250, if the operation of the user on the class list component is detected, sending the short message verification code interface style parameter to the short message verification code function program through a browser program supported by the client environment, so that the short message verification code function program displays the short message verification code interface according to the short message verification code interface style parameter.
The class form component is a component which is similar to a form in the client and can collect the mobile phone number of the user, and the type of the specific class form component is not limited in the scheme. The short message verification code interface style parameter may include at least one of the size, color, layout, display position, and the like of the short message verification code interface, and the short message verification code interface style parameter corresponds to the page content style parameter, that is, corresponds to the client. The corresponding relation between the short message verification code interface style parameter and the page content style parameter can be stored in the page function program.
Specifically, after the client displays the page content through the browser program, whether the operation of the user on the top-class form component of the landing page where the page content is located is detected or not can be determined, if the operation is detected, the corresponding short message verification code interface style parameter can be obtained from the page function program through the browser program and is sent to the short message verification code function program, and after the short message verification code interface style parameter is received by the short message verification code function program, the short message verification code interface can be displayed based on the short message verification code interface style parameter.
According to the scheme, the short message verification code interface style parameter and the page content style parameter of the page content borne by the landing page are stored in the page function program, when the short message verification code interface needs to be displayed, different short message verification code interfaces can be provided for different clients, and user experience is further improved.
The page content display method comprises the steps of obtaining a page content display request which comprises a page link of a landing page, obtaining a page content style parameter from a client based on the page link through a browser program supported by a client environment, obtaining page content data from a business server, and displaying page content according to the page content style parameter and the page content data; and if the operation of the user on the class list component is detected, the short message verification code interface style parameter is sent to the short message verification code function program through a browser program supported by the client environment, so that the short message verification code function program displays the short message verification code interface according to the short message verification code interface style parameter. According to the technical scheme provided by the embodiment of the disclosure, the corresponding relation between the page content style parameter and the client is stored in the data server, so that the problem of low universality caused by storing the corresponding relation in the landing page server in the prior art can be solved, the page contents with different styles can be displayed on different clients, the display universality is improved, and the page contents can be displayed more efficiently and conveniently; in addition, the embodiment of the disclosure can display different short message verification code interfaces aiming at different clients, thereby improving the user experience.
Fig. 3 is a schematic structural diagram of a device for displaying page content in an embodiment of the present disclosure, where the embodiment is applicable to a case of displaying page content of a landing page in a client, and the device for displaying page content in the embodiment may be configured in the client. The page content display device provided by the embodiment of the disclosure can execute the page content display method provided by any embodiment of the disclosure, and has the corresponding functional modules and beneficial effects of the execution method.
The apparatus specifically includes a request obtaining module 310 and a presentation module 320, where:
a request obtaining module 310, configured to obtain a page content display request, where the page content display request includes a page link of a landing page;
a presentation module 320, configured to obtain, by a browser program supported by the client environment, a page content style parameter from the client based on the page link, and present the page content of the landing page according to the page content style parameter;
the page content style parameter corresponds to the client, and the corresponding relation between the page content style parameter and the client is stored in a data server.
Optionally, the apparatus further comprises:
the style parameter acquisition module is used for sending the environmental parameters of the client to the data server if a data refreshing request is received before the page content display request is acquired, so that the data server determines the corresponding page content style parameters according to the environmental parameters;
and acquiring the page content style parameters sent by the data server.
Optionally, the display module 320 includes:
and the page content style unit is used for calling a set interface protocol in the page link to acquire the page content style parameters from the client through a browser program supported by the client environment.
Optionally, the style unit is specifically configured to:
and calling the set interface protocol to acquire the page content style parameters from the client by a browser program supported by the client environment according to the page identifier and the interactive identifier of the landing page in the page content display request.
Optionally, the request obtaining module 310 is specifically configured to:
and acquiring the page content display request based on the operation of the user on the set key.
Optionally, the apparatus further comprises:
and the data acquisition module is used for acquiring page content data from a business server side through the browser program supported by the client side environment after acquiring the page content style parameter from the client side based on the page link through the browser program supported by the client side environment.
Optionally, the display module 320 includes:
and the page content display unit is used for calling a page function program corresponding to the page content through a browser program supported by the client environment and displaying the page content according to the page content style parameter and the page content data.
Optionally, the page content includes at least one of a form, text and a picture, and when the page content is a form, the page content style parameter includes at least one of a form layout, a form display position, a form size, a form color, a form font and an interaction mode.
Optionally, the device further comprises a short message verification code module, wherein the short message verification code module is used for acquiring a page content style parameter from the client based on the page link through a browser program supported by the client environment, and after displaying the page content of the landing page according to the page content style parameter,
if the operation of the user on the class list component is detected, a short message verification code interface style parameter is sent to a short message verification code function program through a browser program supported by the client environment, so that the short message verification code function program displays a short message verification code interface according to the short message verification code interface style parameter, wherein the short message verification code interface style parameter corresponds to the page content style parameter, and the class list component comprises a mobile phone number.
The page content display device provided by the embodiment of the disclosure can execute the page content display method provided by any embodiment of the disclosure, and has the corresponding functional modules and beneficial effects of the execution method.
Fig. 4 is a schematic structural diagram of an electronic device in an embodiment of the present disclosure. Referring now specifically to fig. 4, a schematic diagram of an electronic device 400 suitable for use in implementing embodiments of the present disclosure is shown. The electronic device 400 in the embodiments of the present disclosure may include, but is not limited to, mobile terminals such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle-mounted terminal (e.g., a car navigation terminal), and the like, and fixed terminals such as a digital TV, a desktop computer, and the like. The electronic device shown in fig. 4 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 4, electronic device 400 may include a processing device (e.g., central processing unit, graphics processor, etc.) 401 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)402 or a program loaded from a storage device 408 into a Random Access Memory (RAM) 403. In the RAM 403, various programs and data necessary for the operation of the electronic apparatus 400 are also stored. The processing device 401, the ROM 402, and the RAM 403 are connected to each other via a bus 404. An input/output (I/O) interface 405 is also connected to bus 404.
Generally, the following devices may be connected to the I/O interface 405: input devices 406 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 407 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 408 including, for example, tape, hard disk, etc.; and a communication device 409. The communication means 409 may allow the electronic device 400 to communicate wirelessly or by wire with other devices to exchange data. While fig. 4 illustrates an electronic device 400 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication device 409, or from the storage device 408, or from the ROM 402. The computer program performs the above-described functions defined in the methods of the embodiments of the present disclosure when executed by the processing device 401.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network protocol, such as HTTP (Hyper Text transfer protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: acquiring a page content display request, wherein the page content display request comprises a page link of a landing page; acquiring a page content style parameter from the client based on the page link through a browser program supported by the client environment, and displaying the page content of the landing page according to the page content style parameter; the page content style parameter corresponds to the client, and the corresponding relation between the page content style parameter and the client is stored in a data server.
Computer program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including but not limited to an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. Where the name of an element does not in some cases constitute a limitation on the element itself.
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
According to one or more embodiments of the present disclosure, the present disclosure provides a method for displaying page content, which is applied to a client, and includes:
acquiring a page content display request, wherein the page content display request comprises a page link of a landing page;
acquiring a page content style parameter from the client based on the page link through a browser program supported by the client environment, and displaying the page content of the landing page according to the page content style parameter;
the page content style parameter corresponds to the client, and the corresponding relation between the page content style parameter and the client is stored in a data server.
According to one or more embodiments of the present disclosure, in the method for displaying page content provided by the present disclosure, before the obtaining of the page content display request, the method further includes:
if a data refreshing request is received, sending the environmental parameters of the client to the data server, so that the data server determines corresponding page content style parameters according to the environmental parameters;
and acquiring the page content style parameters sent by the data server.
According to one or more embodiments of the present disclosure, in the method for displaying page content provided by the present disclosure, acquiring, by a browser program supported by the client environment, a page content style parameter from the client based on the page link includes:
and calling a set interface protocol in the page link to acquire the page content style parameter from the client through a browser program supported by the client environment.
According to one or more embodiments of the present disclosure, in the method for displaying page content provided by the present disclosure, invoking a set interface protocol in the page link to obtain the page content style parameter from the client through a browser program supported by the client environment, includes:
and calling the set interface protocol to acquire the page content style parameters from the client by a browser program supported by the client environment according to the page identifier and the interactive identifier of the landing page in the page content display request.
According to one or more embodiments of the present disclosure, in a page content display method provided by the present disclosure, acquiring a page content display request includes:
and acquiring the page content display request based on the operation of the user on the set key.
According to one or more embodiments of the present disclosure, in the method for displaying page content provided by the present disclosure, after acquiring, by a browser program supported by the client environment, a page content style parameter from the client based on the page link, the method further includes:
and acquiring page content data from the service server through a browser program supported by the client environment.
According to one or more embodiments of the present disclosure, in the method for displaying page content provided by the present disclosure, displaying, by a browser program supported by the client environment, the page content of the landing page according to the page content style parameter includes:
and calling a page function program corresponding to the page content through a browser program supported by the client environment, and displaying the page content according to the page content style parameter and the page content data.
According to one or more embodiments of the present disclosure, in the method for displaying page content provided by the present disclosure, the page content includes at least one of a form, a text and a picture, and when the page content is a form, the page content style parameter includes at least one of a form layout, a form display position, a form size, a form color, a form font and an interaction mode.
According to one or more embodiments of the present disclosure, in the method for displaying page content provided by the present disclosure, after obtaining, by a browser program supported by the client environment, a page content style parameter from the client based on the page link and displaying the page content of the landing page according to the page content style parameter, the method further includes:
if the operation of the user on the class list component is detected, a short message verification code interface style parameter is sent to a short message verification code function program through a browser program supported by the client environment, so that the short message verification code function program displays a short message verification code interface according to the short message verification code interface style parameter, wherein the short message verification code interface style parameter corresponds to the page content style parameter, and the class list component comprises a mobile phone number.
According to one or more embodiments of the present disclosure, there is provided a device for displaying page content, configured at a client, including:
the request acquisition module is used for acquiring a page content display request, and the page content display request comprises page links of landing pages;
the display module is used for acquiring a page content style parameter from the client based on the page link through a browser program supported by the client environment, and displaying the page content of the landing page according to the page content style parameter;
the page content style parameter corresponds to the client, and the corresponding relation between the page content style parameter and the client is stored in a data server.
According to one or more embodiments of the present disclosure, in a device for displaying page content provided by the present disclosure, the device further includes:
the style parameter acquisition module is used for sending the environmental parameters of the client to the data server if a data refreshing request is received before the page content display request is acquired, so that the data server determines the corresponding page content style parameters according to the environmental parameters;
and acquiring the page content style parameters sent by the data server.
According to one or more embodiments of the present disclosure, in a display device of page content provided by the present disclosure, the display module includes:
and the page content style unit is used for calling a set interface protocol in the page link to acquire the page content style parameters from the client through a browser program supported by the client environment.
According to one or more embodiments of the present disclosure, in a display device of page content provided by the present disclosure, the style unit is specifically configured to:
and calling the set interface protocol to acquire the page content style parameters from the client by a browser program supported by the client environment according to the page identifier and the interactive identifier of the landing page in the page content display request.
According to one or more embodiments of the present disclosure, in the device for displaying page content provided by the present disclosure, the request obtaining module is specifically configured to:
and acquiring the page content display request based on the operation of the user on the set key.
According to one or more embodiments of the present disclosure, in a device for displaying page content provided by the present disclosure, the device further includes:
and the data acquisition module is used for acquiring page content data from a business server side through the browser program supported by the client side environment after acquiring the page content style parameter from the client side based on the page link through the browser program supported by the client side environment.
According to one or more embodiments of the present disclosure, in a display device of page content provided by the present disclosure, the display module includes:
and the page content display unit is used for calling a page function program corresponding to the page content through a browser program supported by the client environment and displaying the page content according to the page content style parameter and the page content data.
According to one or more embodiments of the present disclosure, in a display apparatus for page content provided by the present disclosure, the page content includes at least one of a form, a text and a picture, and when the page content is a form, the page content style parameter includes at least one of a form layout, a form display position, a form size, a form color, a form font and an interaction mode.
According to one or more embodiments of the present disclosure, in the device for displaying page content provided by the present disclosure, the device further includes a short message verification code module, where the short message verification code module is configured to, after obtaining, by a browser program supported by the client environment, a page content style parameter from the client based on the page link and displaying, according to the page content style parameter, the page content of the landing page,
if the operation of the user on the class list component is detected, a short message verification code interface style parameter is sent to a short message verification code function program through a browser program supported by the client environment, so that the short message verification code function program displays a short message verification code interface according to the short message verification code interface style parameter, wherein the short message verification code interface style parameter corresponds to the page content style parameter, and the class list component comprises a mobile phone number.
In accordance with one or more embodiments of the present disclosure, there is provided an electronic device including:
one or more processors;
a storage device for storing executable instructions;
when executed by the one or more processors, cause the one or more processors to implement any of the presentation methods of page content provided by the present disclosure.
According to one or more embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements a presentation method of page contents according to any one of the methods provided by the present disclosure.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.
Further, while operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.

Claims (12)

1. A method for displaying page content is applied to a client and comprises the following steps:
acquiring a page content display request, wherein the page content display request comprises a page link of a landing page;
acquiring a page content style parameter from the client based on the page link through a browser program supported by the client environment, and displaying the page content of the landing page according to the page content style parameter;
the page content style parameter corresponds to the client, and the corresponding relation between the page content style parameter and the client is stored in a data server.
2. The method of claim 1, wherein before the obtaining the page content presentation request, further comprising:
if a data refreshing request is received, sending the environmental parameters of the client to the data server, so that the data server determines corresponding page content style parameters according to the environmental parameters;
and acquiring the page content style parameters sent by the data server.
3. The method of claim 1, wherein obtaining, by a browser program supported by the client environment, a page content style parameter from the client based on the page link comprises:
and calling a set interface protocol in the page link to acquire the page content style parameter from the client through a browser program supported by the client environment.
4. The method according to claim 3, wherein the step of calling a set interface protocol in the page link to obtain the page content style parameter from the client via a browser program supported by the client environment comprises:
and calling the set interface protocol to acquire the page content style parameters from the client by a browser program supported by the client environment according to the page identifier and the interactive identifier of the landing page in the page content display request.
5. The method of claim 1, wherein obtaining a page content presentation request comprises:
and acquiring the page content display request based on the operation of the user on the set key.
6. The method of claim 1, after obtaining a page content style parameter from the client based on the page link by a browser program supported by the client environment, further comprising:
and acquiring page content data from the service server through a browser program supported by the client environment.
7. The method of claim 6, wherein presenting the page content of the landing page according to the page content style parameter by a browser program supported by the client environment comprises:
and calling a page function program corresponding to the page content through a browser program supported by the client environment, and displaying the page content according to the page content style parameter and the page content data.
8. The method according to any one of claims 1-7, wherein the page content comprises at least one of a form, text, and a picture, and when the page content is a form, the page content style parameter comprises at least one of form layout, form display position, form size, form color, form font, and interaction mode.
9. The method of claim 1, wherein after obtaining, by a browser program supported by the client environment, a page content style parameter from the client based on the page link and displaying the page content of the landing page according to the page content style parameter, the method further comprises:
if the operation of the user on the class list component is detected, a short message verification code interface style parameter is sent to a short message verification code function program through a browser program supported by the client environment, so that the short message verification code function program displays a short message verification code interface according to the short message verification code interface style parameter, wherein the short message verification code interface style parameter corresponds to the page content style parameter, and the class list component comprises a mobile phone number.
10. A device for displaying page content, configured at a client, comprising:
the request acquisition module is used for acquiring a page content display request, and the page content display request comprises page links of landing pages;
the display module is used for acquiring a page content style parameter from the client based on the page link through a browser program supported by the client environment, and displaying the page content of the landing page according to the page content style parameter;
the page content style parameter corresponds to the client, and the corresponding relation between the page content style parameter and the client is stored in a data server.
11. An electronic device, characterized in that the electronic device comprises:
one or more processors;
a storage device for storing executable instructions;
the executable instructions, when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-9.
12. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-9.
CN202010037948.XA 2020-01-14 2020-01-14 Page content display method and device, electronic equipment and storage medium Active CN111259287B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010037948.XA CN111259287B (en) 2020-01-14 2020-01-14 Page content display method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010037948.XA CN111259287B (en) 2020-01-14 2020-01-14 Page content display method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111259287A true CN111259287A (en) 2020-06-09
CN111259287B CN111259287B (en) 2021-05-25

Family

ID=70946879

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010037948.XA Active CN111259287B (en) 2020-01-14 2020-01-14 Page content display method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111259287B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113535435A (en) * 2021-07-22 2021-10-22 北京三快在线科技有限公司 Page data processing method and device, computer equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100306249A1 (en) * 2009-05-27 2010-12-02 James Hill Social network systems and methods
CN105630992A (en) * 2015-12-25 2016-06-01 网易(杭州)网络有限公司 Scene display method and device in static page
CN107391626A (en) * 2017-07-07 2017-11-24 腾讯科技(深圳)有限公司 Land the creation method and device of page
CN109901827A (en) * 2019-03-13 2019-06-18 厦门美图之家科技有限公司 Using exchange method, device, electronic equipment and readable storage medium storing program for executing
CN110020293A (en) * 2017-10-17 2019-07-16 腾讯科技(深圳)有限公司 Multi-medium data methods of exhibiting, device and storage medium
CN110309463A (en) * 2018-02-28 2019-10-08 腾讯科技(深圳)有限公司 Land page optimization method, device, computer storage medium and the network equipment
US20190334975A1 (en) * 2018-01-30 2019-10-31 Excentus Corporation System and Method to Standardize and Improve Implementation Efficiency of User Interface Content
CN110442286A (en) * 2019-07-29 2019-11-12 北京奇艺世纪科技有限公司 A kind of page display method, device and electronic equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100306249A1 (en) * 2009-05-27 2010-12-02 James Hill Social network systems and methods
CN105630992A (en) * 2015-12-25 2016-06-01 网易(杭州)网络有限公司 Scene display method and device in static page
CN107391626A (en) * 2017-07-07 2017-11-24 腾讯科技(深圳)有限公司 Land the creation method and device of page
CN110020293A (en) * 2017-10-17 2019-07-16 腾讯科技(深圳)有限公司 Multi-medium data methods of exhibiting, device and storage medium
US20190334975A1 (en) * 2018-01-30 2019-10-31 Excentus Corporation System and Method to Standardize and Improve Implementation Efficiency of User Interface Content
CN110309463A (en) * 2018-02-28 2019-10-08 腾讯科技(深圳)有限公司 Land page optimization method, device, computer storage medium and the network equipment
CN109901827A (en) * 2019-03-13 2019-06-18 厦门美图之家科技有限公司 Using exchange method, device, electronic equipment and readable storage medium storing program for executing
CN110442286A (en) * 2019-07-29 2019-11-12 北京奇艺世纪科技有限公司 A kind of page display method, device and electronic equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113535435A (en) * 2021-07-22 2021-10-22 北京三快在线科技有限公司 Page data processing method and device, computer equipment and storage medium
CN113535435B (en) * 2021-07-22 2022-06-07 北京三快在线科技有限公司 Page data processing method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN111259287B (en) 2021-05-25

Similar Documents

Publication Publication Date Title
CN110516159B (en) Information recommendation method and device, electronic equipment and storage medium
CN111459364B (en) Icon updating method and device and electronic equipment
CN111625308B (en) Information display method and device and electronic equipment
CN111246228A (en) Method, device, medium and electronic equipment for updating gift resources of live broadcast room
CN111240564B (en) Material display method and device, electronic equipment and storage medium
CN110837534A (en) Data list display method, device, equipment and storage medium
CN111596992B (en) Navigation bar display method and device and electronic equipment
CN111259287B (en) Page content display method and device, electronic equipment and storage medium
CN110619101B (en) Method and apparatus for processing information
CN112053286A (en) Image processing method, image processing device, electronic equipment and readable medium
CN113986003A (en) Multimedia information playing method and device, electronic equipment and computer storage medium
CN111756953A (en) Video processing method, device, equipment and computer readable medium
CN113628097A (en) Image special effect configuration method, image recognition method, image special effect configuration device and electronic equipment
CN111246273A (en) Video delivery method and device, electronic equipment and computer readable medium
CN112084441A (en) Information retrieval method and device and electronic equipment
CN111641693B (en) Session data processing method and device and electronic equipment
CN111581556B (en) Page data processing method, device, electronic equipment and readable medium
CN111770385A (en) Card display method and device, electronic equipment and medium
CN111240718A (en) Theme updating method and device, electronic equipment and medium
CN112162682A (en) Content display method and device, electronic equipment and computer readable storage medium
CN111399730A (en) Image processing method, image processing device, electronic equipment and computer readable storage medium
CN111538552A (en) Gift panel configuration method and device, readable medium and electronic equipment
CN110795670A (en) Webpage image monitoring method and device, electronic equipment and readable storage medium
CN111294611B (en) Video insertion method and device, electronic equipment and computer readable storage medium
CN111405342B (en) Rich text message display method, device, system, medium and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant