CN111338739A - Page content processing method, page content display method and page content display system - Google Patents

Page content processing method, page content display method and page content display system Download PDF

Info

Publication number
CN111338739A
CN111338739A CN202010188644.3A CN202010188644A CN111338739A CN 111338739 A CN111338739 A CN 111338739A CN 202010188644 A CN202010188644 A CN 202010188644A CN 111338739 A CN111338739 A CN 111338739A
Authority
CN
China
Prior art keywords
client
page content
page
configuration information
data storage
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
CN202010188644.3A
Other languages
Chinese (zh)
Other versions
CN111338739B (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 Chezhiying Technology Co ltd
Original Assignee
Beijing Chezhiying 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 Chezhiying Technology Co ltd filed Critical Beijing Chezhiying Technology Co ltd
Priority to CN202010188644.3A priority Critical patent/CN111338739B/en
Publication of CN111338739A publication Critical patent/CN111338739A/en
Application granted granted Critical
Publication of CN111338739B publication Critical patent/CN111338739B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • 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/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • G06F16/972Access to data in other repository systems, e.g. legacy data or dynamic Web page generation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Landscapes

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

Abstract

The invention discloses a page content processing method, which is executed in computing equipment, wherein the computing equipment is respectively coupled with a client and a data storage device, and the client resides in a network service, and the method comprises the following steps: sending a request to a client so that a network service of the client can obtain a current screen display interface of the client, wherein the screen display interface comprises page content; and generating configuration information of the suspension layer based on the acquired page content, sending the configuration information to the data storage device, so that the client requests the data storage device to acquire the configuration information of the suspension layer, generating the suspension layer based on the suspension layer generation script and the configuration information, and superposing the suspension layer on the page content on the current screen of the client. The invention also discloses a corresponding page content display method and a corresponding page content processing system. According to the technical scheme of the invention, the content form which can be updated on the page is more flexible and diversified, and the development cost is low.

Description

Page content processing method, page content display method and page content display system
Technical Field
The present invention relates to the field of network communication technologies, and in particular, to a method for processing page content, a method for displaying page content, and a system for processing page content.
Background
At present, when a service party has a need to update a page of a client, for example, adding new content or new functions to the page, the content of the page of the client is usually updated by modifying a script file in a server and re-publishing the script file. It should be noted that for a part of the update requirements of the client page, it may be only necessary to add or modify the contents of the activity bit, the operation bit or the prompt box in the floating page.
For updating page content, in the prior art, a scheme is to display dynamic content in a fixed format at a fixed position of a target page by means of pre-embedding codes in a client. Specifically, the client generates dynamic content based on pre-embedded codes and configuration information by acquiring the configuration information in the server, and displays the dynamic content at a fixed position on a page. In this scheme, the style and position of the dynamic content are fixed, and for adding content to a page or updating content, the modifiable content is limited, and the position and style of the added content cannot be dynamically set.
In addition, there is another scheme of performing hot update on contents displayed on a page by using ReactNative. The scheme needs to integrate the ReactNative framework, needs developers to develop the ReactNative hot update system, and is quite complex in development process and high in development cost. Moreover, each update to the page content requires execution by a developer.
Therefore, a method for processing page contents is needed to solve the problems in the above technical solutions.
Disclosure of Invention
Therefore, the present invention provides a method for processing page content, a method for displaying page content, and a system for processing page content, so as to solve or at least alleviate the above problems.
According to an aspect of the present invention, there is provided a method for processing page content, executed in a computing device, the computing device being respectively coupled with a client and a data storage device, the client residing with a web service, the method comprising: sending a request to a client so that a network service of the client acquires a current screen display interface of the client, wherein the screen display interface comprises page content; and generating configuration information of a suspension layer based on the acquired page content, sending the configuration information to a data storage device, so that the client requests the data storage device to acquire the configuration information of the suspension layer, generating a suspension layer based on a suspension layer generating script and the configuration information, and overlapping the suspension layer on the page content on the current screen of the client.
Optionally, in the method for processing page content according to the present invention, the page includes a page identifier, and the step of sending the configuration information to the data storage device includes: and sending the configuration information and the corresponding page identifier to a data storage device so that the client can acquire the corresponding configuration information from the data storage device based on the page identifier of the page on the current screen.
Optionally, in the method for processing page content according to the present invention, the step of sending a request to the client includes: determining an IP address of the client; sending a request to the client based on the IP address so as to obtain a current screen display interface by a network service; and receiving a screen display interface returned by the client.
Optionally, in the method for processing page content according to the present invention, the configuration information includes content information and format information of a hover layer.
Optionally, in the method for processing page content according to the present invention, the format information includes style information of the hover layer and position information on the page content.
Optionally, in the method for processing page content according to the present invention, the step of generating configuration information of a hover layer based on the page content includes: and determining format information of the suspension layer, determining content information of the suspension layer, and generating configuration information based on the format information and the content information.
Optionally, in the method for processing page content according to the present invention, the content information includes a link of the content of the hover layer in a data storage device.
Optionally, in the method for processing page content according to the present invention, the data storage device includes a page identifier list and a configuration information list of a floating layer, where each page identifier in the page identifier list corresponds to one piece of configuration information in the configuration information list.
Optionally, in the method for processing page content according to the present invention, the data storage device is adapted to update the configuration information list and the page identifier list after receiving the configuration information and the corresponding page identifier.
Optionally, in the method for processing page content according to the present invention, the page includes an application page and a web page.
According to an aspect of the present invention, there is provided a method for displaying page content, executed in a mobile terminal, the mobile terminal being respectively coupled to a computing device and a data storage device, the mobile terminal having a network service resident therein, the network service being adapted to obtain screen display information of the mobile terminal, the method including: responding to a request of the computing equipment, acquiring a current screen display interface based on the network service, and returning the screen display interface to the computing equipment, wherein the screen display interface comprises page content, so that the computing equipment generates configuration information of a suspension layer based on the acquired page content and sends the configuration information to the data storage equipment; requesting to acquire configuration information of the suspension layer from data storage equipment; and generating a suspension layer based on the suspension layer generation script and the configuration information, and overlapping the suspension layer on the page content on the current screen for displaying.
Optionally, in the method for displaying page content according to the present invention, the mobile terminal is configured with a switch of the web service, and before responding to a request of a computing device, the method includes the steps of: and starting the network service based on the switch.
According to an aspect of the present invention, there is provided a system for processing page contents, including: a first client hosting a web service, a hover layer generating script, adapted to perform the method described above to display page content; a data storage device; and a computing device, coupled to the first client and the data storage device, respectively, and adapted to perform the method as described above to process the page content.
Optionally, in the system for processing page content according to the present invention, further comprising: and the second client side is resident with the network service and the suspension layer generation script, does not start the network service, is not connected with the computing equipment and is suitable for displaying the page content.
According to an aspect of the invention, there is provided a computing device comprising: at least one processor; a memory storing program instructions, wherein the program instructions are configured to be executed by the at least one processor, the program instructions comprising instructions for performing the method of processing page content as described above.
According to an aspect of the present invention, there is provided a readable storage medium storing program instructions which, when read and executed by a computing device, cause the computing device to perform the method of processing page content as described above.
According to the technical scheme of the invention, the network service is integrated at the client, and the network service can acquire the current screen display interface of the client. The computing device calls the network service by sending a request to the client, so that the page content in the current screen display interface of the client can be acquired. In turn, the computing device may generate configuration information for the hover layer based on the acquired page content and store the configuration information and corresponding page identification in the data storage device. In this way, the client can obtain the configuration information of the suspension layer from the data storage device based on the page identifier corresponding to the current page content, generate the suspension layer based on the suspension layer generation script and the configuration information, and display the suspension layer by being superimposed on the current page content. Therefore, the technical scheme of the invention does not need to modify the script file in the server and then release the script file, thereby greatly saving the development cost. Moreover, the computing device can generate configuration information of different shapes, different sizes, different positions and different content information based on the acquired page content, so that the suspension layer generated by the client based on the configuration information is more flexible and diversified, and the content form added to the page content is richer.
Furthermore, according to the technical scheme of the invention, new content is added to the page content by superimposing the suspension layer on the page content displayed by the client, so that only visual operation is required to be performed on the computing equipment by business personnel, and the script file in the server is not required to be modified. Therefore, the updating processing of the content of the client page is convenient to operate and easy to realize, and the development cost is also reduced.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
To the accomplishment of the foregoing and related ends, certain illustrative aspects are described herein in connection with the following description and the annexed drawings, which are indicative of various ways in which the principles disclosed herein may be practiced, and all aspects and equivalents thereof are intended to be within the scope of the claimed subject matter. The above and other objects, features and advantages of the present disclosure will become more apparent from the following detailed description read in conjunction with the accompanying drawings. Throughout this disclosure, like reference numerals generally refer to like parts or elements.
FIG. 1 shows a schematic diagram of a system 100 for processing page content according to one embodiment of the invention;
FIG. 2 shows a schematic diagram of a computing device 200, according to one embodiment of the invention;
FIG. 3 shows a flow diagram of a method 300 of processing page content according to one embodiment of the invention; and
FIG. 4 shows a flow diagram of a method 400 of presenting page content according to one embodiment of the invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
FIG. 1 shows a schematic diagram of a system 100 for processing page content according to one embodiment of the invention.
As shown in FIG. 1, a system 100 for processing page content includes one or more clients 110, a computing device 200, and a server 150, the server 150 including a data storage device 130. The computing device 200 may be communicatively coupled to one or more of the client 110, the server 150, and its data storage device 130, such as by a wired or wireless network connection. One or more clients 110 are communicatively coupled to the server 150 and its data storage device 130.
The client 110 is a terminal device used by a user, and may specifically be a personal computer such as a desktop computer and a notebook computer, or may also be a mobile phone, a tablet computer, a multimedia device, an intelligent wearable device, and the like, but is not limited thereto.
The computing device 200 may be implemented as any of the prior art devices capable of processing the content of a page displayed by the client 110, and the invention is not limited to a specific type of computing device 200. For example, the computing device 200 may be implemented as a computing device such as, but not limited to, a desktop computer, a laptop computer, a processor chip, a cell phone, a tablet computer, and so on.
The server 150 is adapted to provide application services, management services for pages, to the client 110.
In one embodiment, the client 110 is a mobile terminal, such as a mobile phone, a tablet computer, etc., and one or more mobile applications, including a first application 111 and a second application 112, are installed in the client 110 and are adapted to communicate with the computing device 200. The first application 111 is for example a native application comprising one or more application pages and adapted to display the application pages, and the second application 112 is for example a hybrid application adapted to retrieve and display web pages. Here, the present invention is not limited to the specific use of the first application 111 and the second application 112. The first and second applications 111 and 112 may be coupled to the server 150 using a mobile communication function provided by the mobile terminal so as to communicate with the server 150.
The first application 111 may obtain the application page and the content information of the page from the server 150, and may display the application page content on the screen of the client 110. The second application 112 may retrieve the web page from the server 150 and may display the web page content on the screen of the client 110.
In one embodiment, a web service, such as WebService, resides in the client 110. Also, the client 110 is configured with a switch that controls the network services to turn on and off. When client 110 turns on a web service through the switch, computing device 200 may invoke the web service of client 110 by establishing a communication connection with client 110. Here, the present invention does not limit the specific method of the network service.
In an embodiment of the invention, the computing device 200 is adapted to perform a method of processing page content. The processing of the page content of the present invention will be described in detail below.
In an embodiment of the present invention, the web service may, for example, obtain a current screen display interface of the client 110. The computing device 200 may establish a communication connection with the client 110 based on the IP address of the client 110 and send a request to the client 110 requesting that the current screen display interface of the client 110 be obtained by the web service of the client 110 and returned to the computing device 200 by the client 110.
It should be noted that the computing device 200 will only send a request to the client 110 when the client 110 accesses an application page or a web page. Thus, the current screen display of the client 110 includes the page content being accessed by the client 110. Here, the page content may be application page content or web page content. The application page content and the network page content respectively comprise corresponding page identifications. In addition, the current screen display interface of the client 110 also includes device information of the client 110.
In one embodiment, before the computing device 200 sends a request to the client 200, the client 110 requests the server 150 to obtain a page (e.g., a web page), and after the server 150 returns the corresponding page to the client 110 in response to the request for obtaining the page by the client 110, the client 110 displays the page content on the current screen. In turn, the computing device 200 sends a request to the client 200.
In the embodiment of the present invention, after acquiring the current screen display interface of the client 110, the computing device 200 generates configuration information of the hover layer based on the acquired page content on the screen display interface, and sends the configuration information to the data storage device 130. Here, the computing device 200 also transmits the page identification corresponding to the acquired page content to the data storage device 130 when transmitting the configuration information to the data storage device 130.
In this way, the client 110 can request and obtain configuration information of the hover layer corresponding to the page identification from the data storage device 130 based on the page identification corresponding to the page content on the current screen. It should be noted that the client 110 has a floating layer generation script resident therein, and after obtaining the configuration information of the floating layer, the client 110 may generate the floating layer based on the floating layer generation script and the configuration information, and superimpose the floating layer on the page content on the current screen of the client 110 for display.
In one embodiment, the configuration information for the hover layer generated by the computing device 200 includes content information and format information for the hover layer. Specifically, the computing device 200 generates the configuration information based on the format information and the content information by determining format information for the hover layer and determining content information for the hover layer. Here, the content information is, for example, a link of the content of the hover layer in the data storage device 130. In this way, after the client 110 obtains the configuration information of the floating layer from the data storage device 130 based on the page identifier, the corresponding content of the floating layer is obtained from the data storage device 130 based on the content information (e.g., link) in the configuration information, and the content and the format information of the floating layer are synthesized into the floating layer of the corresponding format and content based on the floating layer generation script.
It should be noted that, after determining the IP address of the client 110, the computing device establishes a communication connection with the corresponding client 110 based on the IP address, thereby sending a request to the client 110. It should be noted that computing device 200 may establish a communication connection with a portion of clients 110 that open a web service in processing system 100 of page content and send requests to this portion of clients 110. In other words, the client 110 can respond to a request of the computing device after the network service is turned on through the switch.
Another portion of the client 110 included in the processing system 100 of the page content does not establish a communication connection with the computing device 200. For example, when another portion of the clients 110 do not open web services, the computing device 200 may not be able to establish a communication connection with the client 110 when the client 110 accesses a page and may not be able to send a request to the client 110 to invoke the web services of the client 110. Therefore, when accessing the page content, another part of the clients 110 directly display the page content, and do not generate a floating layer, i.e., do not display the floating layer.
In one embodiment, the data storage device 130 of the server 150 may be a relational database such as MySQL, ACCESS, etc., or a non-relational database such as NoSQL, etc.; the data storage device 130 may be a local database residing in the server 150, or may be disposed at a plurality of geographic locations as a distributed database, such as HBase, in short, the data storage device 130 is used for storing data, and the specific deployment and configuration conditions of the data storage device 130 are not limited by the present invention. Computing device 200 is connected to server 150 and may store data in data storage device 130 via server 150.
In one embodiment, the computing device 200 of the present invention may be implemented as a computing device such that the page content processing method of the present invention may be performed in the computing device. FIG. 2 shows a block diagram of a computing device 200, according to one embodiment of the invention. As shown in FIG. 2, in a basic configuration 202, a computing device 200 typically includes a system memory 206 and one or more processors 204. A memory bus 208 may be used for communication between the processor 204 and the system memory 206.
Depending on the desired configuration, the processor 204 may be any type of processing, including but not limited to: a microprocessor (μ P), a microcontroller (μ C), a Digital Signal Processor (DSP), or any combination thereof. The processor 204 may include one or more levels of cache, such as a level one cache 210 and a level two cache 212, a processor core 214, and registers 216. Example processor cores 214 may include Arithmetic Logic Units (ALUs), Floating Point Units (FPUs), digital signal processing cores (DSP cores), or any combination thereof. The example memory controller 218 may be used with the processor 204, or in some implementations the memory controller 218 may be an internal part of the processor 204.
Depending on the desired configuration, system memory 206 may be any type of memory, including but not limited to: volatile memory (such as RAM), non-volatile memory (such as ROM, flash memory, etc.), or any combination thereof. System memory 106 may include an operating system 220, one or more applications 222, and program data 224. The application 222 is actually a plurality of program instructions that direct the processor 204 to perform corresponding operations. In some embodiments, application 222 may be arranged to cause processor 204 to operate with program data 224 on an operating system.
Computing device 200 may also include an interface bus 240 that facilitates communication from various interface devices (e.g., output devices 242, peripheral interfaces 244, and communication devices 246) to the basic configuration 202 via the bus/interface controller 230. The example output device 242 includes a graphics processing unit 248 and an audio processing unit 250. They may be configured to facilitate communication with various external devices, such as a display or speakers, via one or more a/V ports 252. Example peripheral interfaces 244 can include a serial interface controller 254 and a parallel interface controller 256, which can be configured to facilitate communications with external devices such as input devices (e.g., keyboard, mouse, pen, voice input device, touch input device) or other peripherals (e.g., printer, scanner, etc.) via one or more I/O ports 258. An example communication device 246 may include a network controller 260, which may be arranged to facilitate communications with one or more other computing devices 262 over a network communication link via one or more communication ports 264.
A network communication link may be one example of a communication medium. Communication media may typically be embodied by computer readable instructions, data structures, program modules, and may include any information delivery media, such as carrier waves or other transport mechanisms, in a modulated data signal. A "modulated data signal" may be a signal that has one or more of its data set or its changes made in such a manner as to encode information in the signal. By way of non-limiting example, communication media may include wired media such as a wired network or private-wired network, and various wireless media such as acoustic, Radio Frequency (RF), microwave, Infrared (IR), or other wireless media. The term computer readable media as used herein may include both storage media and communication media.
In a computing device 200 according to the present invention, the application 222 includes a plurality of program instructions that perform the method 300 for processing page content, which may instruct the processor 204 to perform the method 300 for processing page content of the present invention, such that the computing device 200 implements processing of page content accessed by a client by performing the method 300 for processing page content of the present invention.
FIG. 3 shows a flow diagram of a method 300 of processing page content according to one embodiment of the invention. The method 300 is suitable for execution in a computing device, such as the computing device 200 described above. The computing device may be communicatively connected to one or more clients 110, servers 150, and their data storage devices 130. One or more clients 110 are communicatively coupled to the server 150 and its data storage device 130.
According to one embodiment, the client 110 is a mobile terminal, such as a mobile phone, a tablet computer, etc., and one or more mobile applications, including for example a first application 111, a second application 112 adapted to communicate with a computing device, are installed in the client 110. The first application 111 is for example a native application comprising one or more application pages and being able to display the application pages, and the second application 112 is for example a hybrid application being adapted to retrieve and display web pages. Here, the present invention is not limited to the specific use of the first application 111 and the second application 112. The first and second applications 111 and 112 may be coupled to the server 150 using a mobile communication function provided by the mobile terminal so as to communicate with the server 150. Wherein the second application 112 may retrieve the web page from the server 150 and display the web page content on the screen of the client 110.
According to one embodiment, a web service, such as WebService, resides in the client 110. The network service can acquire the current screen display interface of the client. And the client is also provided with a switch for controlling the network service to be switched on and off. When the client turns on the web service through the switch, the computing device 200 may invoke the client's web service by establishing a communication connection with the client.
As shown in fig. 3, the method 300 begins at step S310.
In step S310, the computing device sends a request to the client, requesting that the network service of the client obtain the current screen display interface of the client. And after the network service acquires the current screen display interface of the client, receiving the screen display interface returned by the client. Here, the computing device sends a request to a client corresponding to the IP address by determining the IP address of the client and establishing a communication connection with the corresponding client based on the IP address of the client.
It should be noted that, when the client accesses the application page or the web page, the computing device sends a request to the client so as to obtain the page content accessed by the client and process the obtained page content. Therefore, the current screen display interface of the client comprises the page content being accessed by the client. The computing device can acquire the content of the page accessed by the client by acquiring the current screen display interface of the client. Here, the page content may be application page content or web page content. The application page content and the network page content respectively comprise corresponding page identifications. In addition, the current screen display interface of the client also comprises equipment information corresponding to the client.
According to one embodiment, a client requests a server to retrieve a page, such as a web page, before the computing device sends the request to the client. And the server responds to the request of the client for acquiring the page, and the client displays the page content on the current screen after returning the corresponding page in the data storage device to the client.
Subsequently, in step S320, after acquiring the current screen display interface of the client, the computing device generates configuration information of the hover layer based on the acquired page content on the screen display interface, and sends the configuration information to the data storage device of the server. Here, the computing device, when sending the configuration information to the data storage device, also sends the page identification corresponding to the acquired page content to the data storage device together.
In this way, the client may request and obtain configuration information of the hover layer corresponding to the page identifier from the data storage device based on the page identifier corresponding to the page content on the current screen. It should be noted that the client side has a suspension layer generation script residing therein, and the suspension layer generation script is embedded in the initialization method of the client side page through AOP (aspect oriented Programming, for example). In this way, after obtaining the configuration information of the floating layer, the client may generate the floating layer based on the floating layer generation script and the configuration information, and superimpose the floating layer on the page content on the current screen of the client for display.
According to one implementation mode, the client can display the web page based on Webview, so that the display mode of the page content is flexible and various. However, the invention is not limited to the specific way in which the client presents the page.
According to one embodiment, configuration information for a hover layer generated by a computing device includes content information and format information for the hover layer. Here, the content information of the hover layer is, for example, a link corresponding to the content of the hover layer in the data storage device. The format information includes style information and position information of the hover layer. The style information includes, for example, information on the shape, size, and the like of the suspension layer. The position information is the position information of the suspension layer superposed on the page content. It should be noted that the present invention does not limit the specific content information and format information of the floating layer, and the content, style and position on the page content of the floating layer can be set by those skilled in the art according to the requirement of the actual page content.
In a specific embodiment, after acquiring the current screen display interface of the client 110, the computing device 200 displays the screen display interface of the client on the screen of the computing device 200, and a service person at the computing device 200 sets format information of a hover layer for page content in the screen display interface based on the screen display interface of the client displayed on the screen of the computing device 200, for example, the service person may set a style and a position of the hover layer by pulling an outer frame at a corresponding position on the acquired page content. Furthermore, the service personnel can set the content information of the floating layer for the page content by clicking the pulled outer frame, for example, set the link of the content of the floating layer.
In this way, the computing device 200 may generate configuration information based on the format information and the content information by determining the format information of the hover layer and determining the content information of the hover layer, and store in the data storage device 130 via the server 150. In this way, one or more clients 110 may obtain configuration information for the hover layer from the data storage device 130 of the server 150 based on the page identification, obtain content for the corresponding hover layer from the data storage device 130 based on content information (e.g., links) in the configuration information, and generate scripts based on the hover layer, synthesize the content and format information for the hover layer into the hover layer in the corresponding format and content. After generating the floating layer, the client 110 superimposes the floating layer on a corresponding position on the page content for display based on the position information.
It should be noted that, after determining the IP address of the client 110, the computing device 200 establishes a communication connection with the corresponding client 110 based on the IP address, thereby sending a request to the client 110. It should be noted that computing device 200 may establish a communication connection with a portion of clients 110 that open a web service in processing system 100 of page content and send requests to this portion of clients 110. In other words, the client 110 can respond to the request of the computing device 200 after the network service is turned on through the switch.
Another portion of the client 110 included in the processing system 100 of the page content does not establish a communication connection with the computing device 200. For example, when another portion of the clients 110 do not open web services, the computing device 200 may not be able to establish a communication connection with the client 110 when the client 110 accesses a page and may not be able to send a request to the client 110 to invoke the web services of the client 110. Therefore, when accessing the page content, another part of the clients 110 directly display the page content, and do not generate a floating layer, i.e., do not display the floating layer.
According to one embodiment, the data storage device includes an application identification list, a page identification list, and a configuration information list of the hover layer. Each page identifier in the page identifier list corresponds to one item of configuration information in the configuration information list. In this way, based on the one-to-one mapping relationship between the page identifier and the configuration information, the client can obtain a unique and determined item of configuration information from the data storage device based on the page identifier corresponding to the current page content. Here, when acquiring the corresponding configuration information based on the page identifier of the page content of the client, the application identifier corresponding to the page identifier is determined, and then the configuration information corresponding to the page identifier is acquired from the page identifier list corresponding to the application according to the application identifier.
Based on the sub-table storage of the page identifier and the suspension layer configuration information by the data storage device, after receiving the configuration information generated by the computing device and the corresponding page identifier, the configuration information list and the page identifier list can be updated respectively.
Fig. 4 shows a flowchart of a method 400 for displaying page content according to an embodiment of the present invention, where the method 400 is executed in a mobile terminal (e.g., the aforementioned client 110). The mobile terminal may be communicatively connected to the computing device 200, the server 150 and its data storage device 130.
A web service, such as WebService, resides in the mobile terminal. The network service can acquire the current screen display interface of the mobile terminal. And, the mobile terminal is also provided with a switch for controlling the network service to be turned on and off. When the mobile terminal starts the network service through the switch, the mobile terminal can establish communication connection with the computing equipment, so that the computing equipment can send a request to the mobile terminal and call the network service of the mobile terminal.
As shown in fig. 4, the method 400 begins at step S410.
Note that before step S410 is executed, the network service is turned on through the switch.
In step S410, in response to a request of the computing device, the current screen display interface is acquired based on the web service, and the screen display interface is returned to the computing device. The screen display interface comprises page content, and the computing device can generate configuration information of the suspension layer based on the acquired page content and send the configuration information to the data storage device.
Subsequently, in step S420, acquisition of configuration information of the hover layer is requested from the data storage device. Here, the configuration information includes content information and format information of the hover layer.
Finally, in step S430, a floating layer is generated based on the floating layer generation script and the configuration information, and the floating layer is superimposed on the page content on the current screen for display.
According to one embodiment, a computing device generates configuration information based on format information and content information. Here, the content information is, for example, a link of the content of the hover layer in the data storage device. In this way, after the mobile terminal acquires the configuration information of the floating layer from the data storage device based on the page identifier, the mobile terminal acquires the content of the corresponding floating layer from the data storage device based on the content information (for example, link) in the configuration information, generates a script based on the floating layer, and synthesizes the content of the floating layer and the format information into the floating layer of the corresponding format and content.
A7, the method of A6, wherein the content information includes a corresponding link in a data storage device for the content of the hover layer. A8, the method according to any one of A1-A7, wherein the data storage device comprises a page identifier list and a configuration information list of a hover layer, each page identifier in the page identifier list respectively corresponding to one configuration information in the configuration information list. A9, the method as in A8, wherein the data storage device is adapted to update the configuration information list, page identification list after receiving the configuration information and corresponding page identification. A10, the method as in any one of A1-A9, wherein the pages include application pages and web pages.
B12, the method for displaying page content according to B11, wherein the mobile terminal is configured with a switch of the web service, and before responding to the request of the computing device, the method comprises the steps of: and starting the network service based on the switch.
C14, the system for processing page content according to C13, further comprising: and the second client side is resident with the network service and the suspension layer generation script, does not start the network service, is not connected with the computing equipment and is suitable for displaying the page content.
The various techniques described herein may be implemented in connection with hardware or software or, alternatively, with a combination of both. Thus, the methods and apparatus of the present invention, or certain aspects or portions thereof, may take the form of program code (i.e., instructions) embodied in tangible media, such as removable hard drives, U.S. disks, floppy disks, CD-ROMs, or any other machine-readable storage medium, wherein, when the program is loaded into and executed by a machine, such as a computer, the machine becomes an apparatus for practicing the invention.
In the case of program code execution on programmable computers, the mobile terminal generally includes a processor, a storage medium readable by the processor (including volatile and non-volatile memory and/or storage elements), at least one input device, and at least one output device. Wherein the memory is configured to store program code; the processor is configured to execute the page content processing method of the present invention according to instructions in the program code stored in the memory.
By way of example, and not limitation, readable media may comprise readable storage media and communication media. Readable storage media store information such as computer readable instructions, data structures, program modules or other data. Communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media. Combinations of any of the above are also included within the scope of readable media.
In the description provided herein, algorithms and displays are not inherently related to any particular computer, virtual system, or other apparatus. Various general purpose systems may also be used with examples of this invention. The required structure for constructing such a system will be apparent from the description above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules or units or components of the devices in the examples disclosed herein may be arranged in a device as described in this embodiment or alternatively may be located in one or more devices different from the devices in this example. The modules in the foregoing examples may be combined into one module or may be further divided into multiple sub-modules.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
Furthermore, some of the described embodiments are described herein as a method or combination of method elements that can be performed by a processor of a computer system or by other means of performing the described functions. A processor having the necessary instructions for carrying out the method or method elements thus forms a means for carrying out the method or method elements. Further, the elements of the apparatus embodiments described herein are examples of the following apparatus: the apparatus is used to implement the functions performed by the elements for the purpose of carrying out the invention.
As used herein, unless otherwise specified the use of the ordinal adjectives "first", "second", "third", etc., to describe a common object, merely indicate that different instances of like objects are being referred to, and are not intended to imply that the objects so described must be in a given sequence, either temporally, spatially, in ranking, or in any other manner.
While the invention has been described with respect to a limited number of embodiments, those skilled in the art, having benefit of this description, will appreciate that other embodiments can be devised which do not depart from the scope of the invention as described herein. Furthermore, it should be noted that the language used in the specification has been principally selected for readability and instructional purposes, and may not have been selected to delineate or circumscribe the inventive subject matter. Accordingly, many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the appended claims. The present invention has been disclosed in an illustrative rather than a restrictive sense with respect to the scope of the invention, as defined in the appended claims.

Claims (10)

1. A method for processing page content, executed in a computing device respectively coupled to a client and a data storage device, the client having a web service resident thereon, the method comprising:
sending a request to a client so that a network service of the client acquires a current screen display interface of the client, wherein the screen display interface comprises page content; and
and generating configuration information of a suspension layer based on the acquired page content, sending the configuration information to a data storage device, so that the client requests the data storage device to acquire the configuration information of the suspension layer, generating a suspension layer based on a suspension layer generation script and the configuration information, and overlapping the suspension layer on the page content on the current screen of the client.
2. The method of claim 1, wherein the page includes a page identification, the step of sending the configuration information to a data storage device comprising:
and sending the configuration information and the corresponding page identifier to a data storage device so that the client can acquire the corresponding configuration information from the data storage device based on the page identifier of the page on the current screen.
3. The method of any of claims 1-2, wherein sending the request to the client comprises:
determining an IP address of the client;
sending a request to the client based on the IP address so as to obtain a current screen display interface by a network service;
and receiving a screen display interface returned by the client.
4. The method of any of claims 1-3, wherein the configuration information includes content information and format information of the hover layer.
5. The method of claim 4, wherein the format information includes style information of the hover layer, position information on the page content.
6. The method of any of claims 1-5, wherein generating configuration information for a hover layer based on the page content comprises:
determining format information of the suspension layer,
determining content information of the hover layer,
generating configuration information based on the format information and the content information.
7. A method for displaying page content, executed in a mobile terminal, the mobile terminal being respectively coupled to a computing device and a data storage device, the mobile terminal having a web service resident therein, the web service being adapted to obtain screen display information of the mobile terminal, the method comprising:
responding to a request of the computing equipment, acquiring a current screen display interface based on the network service, and returning the screen display interface to the computing equipment, wherein the screen display interface comprises page content, so that the computing equipment generates configuration information of a suspension layer based on the acquired page content and sends the configuration information to the data storage equipment;
requesting to acquire configuration information of the suspension layer from data storage equipment; and
and generating a suspension layer based on the suspension layer generation script and the configuration information, and overlapping the suspension layer on the page content on the current screen for displaying.
8. A system for processing page content, comprising:
a first client, having a web service resident, hover layer generating script, adapted to perform the method of claim 7 to display page content;
a data storage device; and
a computing device, coupled to the first client, the data storage device, respectively, adapted to perform the method of any of claims 1-6 to process the page content.
9. A computing device, comprising:
at least one processor; and
a memory storing program instructions, wherein the program instructions are configured to be adapted to be executed by the at least one processor, the program instructions comprising instructions for performing the method of processing page content according to any one of claims 1-6.
10. A readable storage medium storing program instructions that, when read and executed by a computing device, cause the computing device to perform the method of any of claims 1-6.
CN202010188644.3A 2020-03-17 2020-03-17 Page content processing method, page content display method and page content display system Active CN111338739B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010188644.3A CN111338739B (en) 2020-03-17 2020-03-17 Page content processing method, page content display method and page content display system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010188644.3A CN111338739B (en) 2020-03-17 2020-03-17 Page content processing method, page content display method and page content display system

Publications (2)

Publication Number Publication Date
CN111338739A true CN111338739A (en) 2020-06-26
CN111338739B CN111338739B (en) 2024-05-31

Family

ID=71186221

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010188644.3A Active CN111338739B (en) 2020-03-17 2020-03-17 Page content processing method, page content display method and page content display system

Country Status (1)

Country Link
CN (1) CN111338739B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060224697A1 (en) * 2005-04-04 2006-10-05 Norris Stephen R Method to display and manipulate new content on top of an existing web page
CN102799371A (en) * 2012-06-29 2012-11-28 北京奇虎科技有限公司 Extended data input device and method
CN102831154A (en) * 2012-06-29 2012-12-19 北京奇虎科技有限公司 Method and device for storing and displaying data in text input box of webpage
CN103034724A (en) * 2012-12-14 2013-04-10 北京奇虎科技有限公司 Method and device for carrying out input data recovery in browser
CN103034568A (en) * 2012-12-14 2013-04-10 北京奇虎科技有限公司 Method and device for recovering input data of browser
CN103699369A (en) * 2012-09-27 2014-04-02 腾讯科技(深圳)有限公司 Message display method and device for mobile terminal
CN103744853A (en) * 2013-11-08 2014-04-23 北京奇虎科技有限公司 Method and device for providing web cache information in search engine
CN106201204A (en) * 2016-07-08 2016-12-07 广东欧珀移动通信有限公司 The method and apparatus starting application function
CN110399275A (en) * 2019-07-18 2019-11-01 口碑(上海)信息技术有限公司 Abnormal methods of exhibiting and device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060224697A1 (en) * 2005-04-04 2006-10-05 Norris Stephen R Method to display and manipulate new content on top of an existing web page
CN102799371A (en) * 2012-06-29 2012-11-28 北京奇虎科技有限公司 Extended data input device and method
CN102831154A (en) * 2012-06-29 2012-12-19 北京奇虎科技有限公司 Method and device for storing and displaying data in text input box of webpage
CN103699369A (en) * 2012-09-27 2014-04-02 腾讯科技(深圳)有限公司 Message display method and device for mobile terminal
CN103034724A (en) * 2012-12-14 2013-04-10 北京奇虎科技有限公司 Method and device for carrying out input data recovery in browser
CN103034568A (en) * 2012-12-14 2013-04-10 北京奇虎科技有限公司 Method and device for recovering input data of browser
CN103744853A (en) * 2013-11-08 2014-04-23 北京奇虎科技有限公司 Method and device for providing web cache information in search engine
CN106201204A (en) * 2016-07-08 2016-12-07 广东欧珀移动通信有限公司 The method and apparatus starting application function
CN110399275A (en) * 2019-07-18 2019-11-01 口碑(上海)信息技术有限公司 Abnormal methods of exhibiting and device

Also Published As

Publication number Publication date
CN111338739B (en) 2024-05-31

Similar Documents

Publication Publication Date Title
CN110109670B (en) Method and device for processing view list data, electronic equipment and storage medium
CN111177664B (en) Watermark information adding method, server and system
CN112416348B (en) Page generation method, system and computing device
CN108733370B (en) Stylized display method, device, terminal and storage medium of native APP
CN114880072A (en) Application window display method of virtual machine, computing equipment and storage medium
US10839037B2 (en) Connected application experience
RU2634221C2 (en) Method and device for drawing presentation of electronic document on screen
CN111338739B (en) Page content processing method, page content display method and page content display system
CN111444448A (en) Data processing method, server and system
CN113885758B (en) Virtual screen generation method, computing device and storage medium
CN113784075B (en) Screen video reading method, system and computing device
CN113535304B (en) Method and device for inserting, displaying and editing third-party model in design software
CN113254888A (en) Method for acquiring hardware information, authorization control system and computing equipment
CN114422236A (en) Intelligent device access method and device and electronic device
US10416855B2 (en) Integrating remote assets from content management service with content developed by content creation applications
JP2010288243A (en) Content generation and distribution system for mobile information terminal
CN115618147A (en) Page updating method and device, computing equipment and storage medium
CN111428178B (en) Page content processing method, system and computing device
CN113312045B (en) Data processing method, system and computing device
CN109104501B (en) Data synchronization method, device and system
CN113656347B (en) File directory export method, file directory import method and computing device
EP4428675A1 (en) Cloud technology-based graphic program online development method and system, and related device
CN115952773A (en) Form generation method and device
CN117032779A (en) Application version switching method, device, computer equipment and storage medium
CN115827503A (en) Cache data updating method, system and computing 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