CN112825528A - Information pushing method and related equipment - Google Patents

Information pushing method and related equipment Download PDF

Info

Publication number
CN112825528A
CN112825528A CN201911149657.3A CN201911149657A CN112825528A CN 112825528 A CN112825528 A CN 112825528A CN 201911149657 A CN201911149657 A CN 201911149657A CN 112825528 A CN112825528 A CN 112825528A
Authority
CN
China
Prior art keywords
information
pushing
push
cloud control
control platform
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
CN201911149657.3A
Other languages
Chinese (zh)
Other versions
CN112825528B (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201911149657.3A priority Critical patent/CN112825528B/en
Publication of CN112825528A publication Critical patent/CN112825528A/en
Application granted granted Critical
Publication of CN112825528B publication Critical patent/CN112825528B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application discloses an information pushing method and related equipment, which are applied to electronic equipment, wherein the electronic equipment receives a first configuration file sent by a pushing server, and the first configuration file is generated by the pushing server according to first configuration information from a first cloud control platform webpage; then determining a first pushing result according to the first configuration file; and sending the first pushing result to the pushing server, and instructing the pushing server to push first information to the first cloud control platform webpage, wherein the first information comprises the first pushing result, and the first information is used for instructing the first cloud control platform webpage to display the first pushing result. Therefore, the information pushing method provided by the application can enable the webpage cloud control architecture to be simple, small in occupied resource and convenient to maintain.

Description

Information pushing method and related equipment
Technical Field
The application relates to the technical field of cloud control, in particular to an information pushing method and related equipment.
Background
Cloud control includes cloud control of mobile phones, cloud monitoring and the like. The cloud control mobile phone is provided with a cloud technology to realize remote control, any data on the mobile phone terminal can be controlled through any PC through the cloud, required information can be called at will, or another mobile phone can log in a cloud server through an ID. Cloud Monitoring (Cloud Monitoring) refers to short for a video Monitoring system based on Cloud computing, or refers to performance Monitoring and detection of a Cloud deck.
However, the existing Web page cloud control technology relates to architectures such as a Web server, a push server, a database and the like, so the architecture is complex and the maintenance cost is high.
Disclosure of Invention
The embodiment of the application provides an information push method and related equipment, webpage cloud control push can be achieved through one push server, and the method and the equipment are simple in structure, small in occupied resource and convenient to maintain.
In a first aspect, an embodiment of the present application provides an information pushing method, which is applied to an electronic device, and the method includes:
receiving a first configuration file sent by a push server, wherein the first configuration file is generated by the push server according to first configuration information from a first cloud control platform webpage;
determining a first pushing result according to the first configuration file;
sending the first pushing result to the pushing server, and instructing the pushing server to push first information to the first cloud control platform webpage, where the first information includes the first pushing result, and the first information is used to instruct the first cloud control platform webpage to display the first pushing result.
In a second aspect, an embodiment of the present application provides an information pushing apparatus applied to an electronic device, where the apparatus includes a processing unit and a communication unit, where the processing unit,
the system comprises a first configuration file, a second configuration file and a third configuration file, wherein the first configuration file is sent by a push server and is generated by the push server according to first configuration information from a first cloud control platform webpage;
and for determining a first push result from the first profile;
and the first information is used for sending the first pushing result to the pushing server and indicating the pushing server to push first information to the first cloud control platform webpage, wherein the first information comprises the first pushing result, and the first information is used for indicating the first cloud control platform webpage to display the first pushing result.
In a third aspect, embodiments of the present application provide an electronic device, which includes a processor, a memory, a communication interface, and one or more programs, stored in the memory and configured to be executed by the processor, the programs including instructions for performing some or all of the steps described in the method according to the first aspect of the embodiments of the present application.
In a fourth aspect, the present application provides a computer-readable storage medium, where the computer-readable storage medium is used to store a computer program, where the computer program is executed by a processor to implement part or all of the steps described in the method according to the first aspect of the present application.
In a fifth aspect, the present application provides a computer program product, where the computer program product includes a non-transitory computer-readable storage medium storing a computer program, where the computer program is operable to cause a computer to perform some or all of the steps described in the method according to the first aspect of the present application. The computer program product may be a software installation package.
It can be seen that, in the embodiment of the application, an electronic device receives a first configuration file sent by a push server, where the first configuration file is generated by the push server according to first configuration information from a first cloud control platform webpage; then determining a first pushing result according to the first configuration file; and sending the first pushing result to the pushing server, and instructing the pushing server to push first information to the first cloud control platform webpage, wherein the first information comprises the first pushing result, and the first information is used for instructing the first cloud control platform webpage to display the first pushing result. Therefore, the information pushing method provided by the embodiment of the application can enable the webpage cloud control architecture to be simple, occupy less resources and be convenient to maintain.
These and other aspects of the present application will be more readily apparent from the following description of the embodiments.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1-1 is a schematic structural diagram of hardware of an electronic device according to an embodiment of the present disclosure;
fig. 1-2 are schematic architecture diagrams of a cloud control platform according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of an information pushing method according to an embodiment of the present application;
fig. 3 is a schematic flowchart of another information pushing method provided in an embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;
fig. 5 is a schematic structural diagram of an information pushing apparatus according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions of the present application better understood, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," and the like in the description and claims of the present application and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The electronic device according to the embodiments of the present application may be an electronic device with communication capability, and the electronic device may include various handheld devices with wireless communication function, vehicle-mounted devices, wearable devices, computing devices or other processing devices connected to a wireless modem, and various forms of User Equipment (UE), Mobile Stations (MS), terminal devices (terminal device), and so on.
Referring to fig. 1-1, fig. 1-1 is a schematic structural diagram of hardware of an electronic device 100 according to an exemplary embodiment of the present application. The electronic device 100 may be a smart phone, a tablet computer, an electronic book, or other electronic devices capable of running an application. The electronic device 100 in the present application may include one or more of the following components: processor, memory, transceiver, etc.
A processor may include one or more processing cores. The processor, using various interfaces and lines to connect various parts throughout the electronic device 100, performs various functions of the electronic device 100 and processes data by executing or executing instructions, programs, code sets, or instruction sets stored in memory, and calling data stored in memory. Alternatively, the processor may be implemented in hardware using at least one of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor may integrate one or more of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing display content; the modem is used to handle wireless communications. It is to be understood that the modem may be implemented by a communication chip without being integrated into the processor.
The Memory may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). Optionally, the memory includes a non-transitory computer-readable medium. The memory may be used to store an instruction, a program, code, a set of codes, or a set of instructions. The memory may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (information push result determination, feature extraction, feature classification, etc.), instructions for implementing various method embodiments described below, and the like, and the operating system may be an Android (Android) system (including an Android system depth development-based system), an apple advanced IOS system (including an IOS system depth development-based system), or other systems. The storage data area may also store data created by the electronic device 100 in use (such as configuration files from a server, feature lists, configuration information bases), and the like.
Referring to fig. 1-2, fig. 1-2 are schematic structural diagrams of a cloud control platform according to an embodiment of the present disclosure. The cloud control platform comprises an electronic device 100, a push server 110 and a webpage 120. The web page 120 may be one web page or may include multiple web pages, where the multiple web pages may be web pages opened on the same browser of the same device, or web pages opened on different browsers of the same device, or web pages opened on different devices. The web page 120 may send the configuration information to the push server 110, and the push server 110 may send the received web page configuration information to the electronic device 100 after generating the configuration file. The electronic device 100 may determine a push result according to the received configuration file, and send the push result to the push server 110; the push server 110 then pushes the push result to the web page 120; the web page 120 may display the received push result.
Referring to fig. 2, fig. 2 is a schematic flow chart of an information pushing method according to an embodiment of the present disclosure, where the information pushing method may be applied to the electronic device shown in fig. 1-1 and the cloud control platform shown in fig. 1-2.
As shown in fig. 2, the execution subject of the information push method is an electronic device, and the method includes the following operation steps.
S201, receiving a first configuration file sent by a push server, wherein the first configuration file is generated by the push server according to first configuration information from a first cloud control platform webpage.
The first configuration information is input on a first cloud control platform webpage, the first cloud control platform webpage sends the first configuration information to the push server, the push server can organize the first configuration information into a first configuration file in a JSON format, and the push server can push the first configuration file in the JSON format to the electronic device by means of an HTTPS protocol.
The configuration file uses the JSON format, so that the data format is simple, the compatibility is good, and the data volume is smaller than that of XML. In addition, compared with the XMPP protocol, the HTTPS protocol adopted by the transmission protocol has the following advantages: (1) the situation of repeated sending does not exist, and the occupation of network resources can be reduced; (2) QoS control can be realized, so that the configuration information can be pushed to the mobile phone equipment as far as possible; (3) the binary file transmission support is good, and the possibility is provided for the later function expansion.
S202, determining a first pushing result according to the first configuration file.
The electronic device may specifically determine the first pushing result according to the configuration information in the first configuration file, may also randomly determine the pushing result, or manually determine the pushing result by the user.
S203, sending the first pushing result to the pushing server, and instructing the pushing server to push first information to the first cloud control platform webpage, where the first information includes the first pushing result, and the first information is used to instruct the first cloud control platform webpage to display the first pushing result.
The electronic device can feed the first pushing result back to the pushing server by using an HTTPS protocol, the pushing server feeds the first pushing result back to the first cloud control platform webpage, and the first cloud control platform webpage displays the first pushing result on the webpage.
It can be seen that in the information push method provided in the embodiment of the present application, an electronic device receives a first configuration file sent by a push server, where the first configuration file is generated by the push server according to first configuration information from a first cloud control platform webpage; then determining a first pushing result according to the first configuration file; and sending the first pushing result to the pushing server, and instructing the pushing server to push first information to the first cloud control platform webpage, wherein the first information comprises the first pushing result, and the first information is used for instructing the first cloud control platform webpage to display the first pushing result. Therefore, the information pushing method provided by the embodiment of the application can enable the webpage cloud control architecture to be simple, occupy less resources and be convenient to maintain.
In one possible example, the determining a first push result according to the first profile includes: analyzing the first configuration file to acquire the first configuration information; determining the type of the first cloud control platform webpage according to the first configuration information; and determining a first pushing result according to the type of the first cloud control platform webpage.
For example, different webpages used by different users have a specific mechanism to determine different pieces of pushed information, that is, different types of webpages recommend different types of pushed information, such as sports webpage recommending sports information, financial webpage recommending financial information, and public welfare webpage recommending public welfare information.
As can be seen, in this example, the electronic device may push information to the server in a targeted manner according to the type of the first cloud control platform webpage, and the first cloud control platform webpage displays information matched with the type of the first cloud control platform webpage, so that the pushed content is specified.
In one possible example, after determining the first push result according to the first profile, the method further comprises: searching in a pre-stored configuration information base according to the first configuration file, and acquiring a plurality of second cloud control platform webpages which are the same in type or associated with the first cloud control platform webpage; and sending the first pushing result to the pushing server, and instructing the pushing server to respectively push second information to the plurality of second cloud control platform webpages, wherein the second information comprises the first pushing result, and the second information is used for instructing the plurality of second cloud control platform webpages to display the first pushing result.
When receiving information display to be carried out on a first cloud control platform webpage, the electronic equipment matches the configuration information of the first cloud control platform webpage with the configuration information of other webpages in the configuration information base, determines other webpages related to the first cloud control platform webpage, and then synchronously sends the same information to the webpages.
For example, assuming that some web pages have associations or are the same in web page type, when the electronic device receives a configuration file of one of the web pages, and determines a corresponding push result, the electronic device controls the web pages to display the push result. For example, if the web page of a1 company and the web page of a2 company are associated, and if it is determined that a piece of B information is to be pushed to the web page of a1 company by receiving the configuration file of the web page of a1 company, the B information is transmitted to the web sites of both a1 company and a2 company through the push server, and the web sites of both a1 company and a2 company display the B information.
Therefore, in this example, one webpage wakes up the cloud control, so that a plurality of associated webpages can be driven to be cloud-controlled, and the plurality of webpages are not required to send information requesting the cloud control to the electronic device, thereby being beneficial to increasing the load of a network and improving the efficiency and the real-time performance of the cloud control.
In one possible example, the method further comprises: sending a feedback request to the push server, wherein the feedback request is used for instructing the push server to send third information to the first cloud control platform webpage, and the third information is used for extracting first keyword information from webpage content currently displayed by the first cloud control platform webpage and feeding the first keyword information back to the push server; receiving the first keyword information sent by the push server; comparing the first keyword information with second keyword information of a first pushing result; if the comparison is successful, determining that the pushing is successful; and if the comparison fails, the first pushing result is sent to the pushing server again, and the pushing server is instructed to push the first information to the first cloud control platform webpage.
Therefore, in this example, the electronic device sends feedback information to the cloud control webpage through the push server, the feedback information is used for extracting keyword information of content displayed by the current webpage and returning the keyword information, the electronic device determines whether the content is correctly displayed or not by using keyword matching, the push result can be correctly displayed by the cloud control platform webpage, and the push instantaneity is ensured.
In one possible example, the method further comprises: receiving a plurality of second configuration files sent by the push server, wherein the plurality of second configuration files are generated by the push server according to second configuration information from a plurality of third cloud control platform webpages respectively, and the second configuration files correspond to the second configuration information one to one; determining a plurality of second pushing results according to the plurality of second configuration files; and sending the second push results to the push server, and instructing the push server to respectively push a piece of fourth information to the third cloud control platform webpages, wherein the fourth information comprises a second push result, and the fourth information is used for instructing the third cloud control platform webpages to display the second push results contained in the third cloud control platform webpages.
For example, a plurality of web pages correspond to one electronic device, and the plurality of web pages send configuration information to the push server; then the push server generates a plurality of configuration files according to the plurality of configuration information and sends the configuration files to the electronic equipment; the electronic equipment is respectively matched with the plurality of pieces of push information, and then the plurality of pieces of push information are sequentially sent to the push server and the corresponding plurality of webpages.
Therefore, in this example, one electronic device controls a plurality of webpages simultaneously, and can push different push results to each webpage, which is beneficial to improving the cloud control capability of the electronic device, and when a plurality of webpages need to be controlled, a plurality of electronic devices do not need to be adopted.
In one possible example, after receiving the plurality of second profiles sent by the push server, the method further includes: clustering and classifying the second configuration files to obtain a plurality of clusters, wherein each cluster comprises a plurality of second configuration files; respectively extracting the features of a plurality of second configuration files in each class cluster, and correspondingly obtaining a plurality of first features in each class cluster, wherein the plurality of second configuration files in each class cluster correspond to the plurality of first features one to one; determining a feature list according to a plurality of first features in each class cluster respectively to obtain a plurality of feature lists; determining a comprehensive characteristic list according to the plurality of characteristic lists; determining a third pushing result according to the comprehensive characteristic list; sending the third pushing result to the pushing server according to the preset protocol, and instructing the pushing server to respectively push a piece of fourth information to the plurality of third cloud control platform webpages, wherein the fourth information includes the third pushing result, and the fourth information is used for instructing the third cloud control platform webpages to display the third pushing result; wherein, the determining a feature list according to a plurality of first features in each cluster includes: in each cluster, calculating the similarity between every two first characteristics to obtain a plurality of similarities; selecting the similarity greater than a preset threshold value to obtain a plurality of effective similarities; extracting the first features corresponding to the effective similarities to obtain a plurality of effective first features; and solving the intersection of the plurality of effective first characteristics to obtain the characteristic list.
In one possible example, the determining a third pushing result according to the comprehensive feature list includes: performing feature extraction on a preset number of results to be pushed to obtain a preset number of second features, wherein the preset number of second features corresponds to the preset number of results to be pushed one by one; constructing a first matrix according to the comprehensive characteristic list and constructing a second matrix according to the preset number of second characteristics; calculating the similarity of the first matrix and the second matrix to obtain a similar matrix; and determining the third pushing result according to the similarity matrix.
As can be seen, in this example, when a plurality of web pages request cloud control, cluster classification is performed on configuration files of the plurality of web pages to obtain a plurality of cluster types; then extracting the characteristics of each configuration file in a plurality of class clusters, determining the common characteristics of each class cluster according to the characteristics of each configuration file to obtain a plurality of common characteristics, and determining a common pushing result according to the common characteristics; and pushing the common pushing result to a plurality of webpages, wherein the plurality of webpages display the common pushing result, namely extracting the commonalities of the plurality of webpages and pushing the same pushing result to the plurality of webpages.
Referring to fig. 3, fig. 3 is a schematic flow chart of an information pushing method according to an embodiment of the present disclosure, where the information pushing method may be applied to the electronic device shown in fig. 1-1 and the cloud control platform shown in fig. 1-2.
As shown in fig. 3, the information push method includes the following operations.
S301, the first cloud control platform webpage sends first configuration information to a push server.
S302, the push server generates a first configuration file according to first configuration information from a first cloud control platform webpage, and sends the first configuration file to the electronic device.
S303, the electronic equipment determines a first pushing result according to the first configuration file.
S304, the electronic equipment sends the first pushing result to the pushing server.
S305, the push server pushes first information to the first cloud control platform webpage, wherein the first information comprises the first push result.
S306, the first pushing result is displayed on the first cloud control platform webpage.
S307, the electronic device sends a feedback request to the push server, wherein the feedback request is used for indicating the push server to send third information to the first cloud control platform webpage.
S308, the pushing server sends third information to the first cloud control platform webpage, wherein the third information is used for extracting first keyword information from webpage content currently displayed by the first cloud control platform webpage.
S309, the first cloud control platform webpage extracts first keyword information from the currently displayed webpage content and sends the first keyword information to the push server.
S310, the push server sends the first keyword information to the electronic equipment.
S311, the electronic device receives the first keyword information sent by the push server, and compares the first keyword information with second keyword information of a first push result.
S312, if the comparison fails, the electronic device sends the first pushing result to the pushing server again, and instructs the pushing server to push first information to the first cloud control platform webpage.
It can be seen that in the information pushing method provided in the embodiment of the present application, the cloud control platform webpage sends the configuration information to the pushing server, the pushing server generates the configuration file according to the configuration information and sends the configuration file to the electronic device, the electronic device determines the pushing result according to the configuration file and sends the pushing result to the pushing server, the pushing server sends the pushing result to the cloud control platform webpage, and the cloud control platform webpage displays the pushing result; then the electronic equipment sends a feedback request to a push server, the push server sends information for extracting keywords to a cloud control platform webpage, the cloud control platform webpage extracts the keyword information of the current webpage display content and sends the keyword information to the push server, and the push server sends the keyword information to the electronic equipment; and then the electronic equipment compares the keyword information extracted from the cloud control platform webpage with the keyword information of the pushing result, and if the comparison fails, the pushing result is sent again. Therefore, the information pushing method provided by the embodiment of the application is beneficial to the fact that the webpage of the cloud control platform can correctly display the pushing result, and the pushing instantaneity is ensured.
In one possible example, the method further comprises: the fourth cloud control platform webpages respectively send third configuration information to the push server; the push server generates a plurality of third configuration files according to the plurality of pieces of third configuration information, and sends the plurality of third configuration files to a plurality of electronic devices, wherein the plurality of third configuration files correspond to the plurality of pieces of third configuration information one by one, and one of the plurality of third configuration files is sent to each of the plurality of electronic devices; the electronic devices send a fourth pushing result to the pushing server respectively; and the push server sends a piece of fifth information to the plurality of fourth cloud control platform webpages respectively, wherein the fifth information corresponds to the fourth cloud control platform webpages corresponding to the third configuration file one by one.
Therefore, in this example, the cloud platform can push functions to a plurality of electronic devices simultaneously, which is beneficial to ensuring the real-time performance and safety of pushing.
Referring to fig. 4, fig. 4 is a schematic structural diagram of an electronic device 400 according to an embodiment of the present disclosure, which is similar to the embodiments shown in fig. 2 and fig. 3. As shown in fig. 4, the electronic device 400 includes an application processor 410, a memory 420, a communication interface 430, and one or more programs 421, where the one or more programs 421 are stored in the memory 420 and configured to be executed by the application processor 410, and the one or more programs 421 include instructions for performing any of the steps of the above method embodiments.
In one possible example, the program 421 includes instructions for performing the following steps: receiving a first configuration file sent by a push server, wherein the first configuration file is generated by the push server according to first configuration information from a first cloud control platform webpage; determining a first pushing result according to the first configuration file; sending the first pushing result to the pushing server, and instructing the pushing server to push first information to the first cloud control platform webpage, where the first information includes the first pushing result, and the first information is used to instruct the first cloud control platform webpage to display the first pushing result.
It can be seen that, in the electronic device provided in the embodiment of the present application, a first configuration file sent by a push server is received, where the first configuration file is generated by the push server according to first configuration information from a first cloud control platform webpage; then determining a first pushing result according to the first configuration file; and sending the first pushing result to the pushing server, and instructing the pushing server to push first information to the first cloud control platform webpage, wherein the first information comprises the first pushing result, and the first information is used for instructing the first cloud control platform webpage to display the first pushing result. Therefore, the information pushing method provided by the embodiment of the application can enable the webpage cloud control architecture to be simple, occupy less resources and be convenient to maintain.
In one possible example, in terms of determining a first push result according to the first configuration file, the instructions in the program 421 are specifically configured to: analyzing the first configuration file to acquire the first configuration information; determining the type of the first cloud control platform webpage according to the first configuration information; and determining a first pushing result according to the type of the first cloud control platform webpage.
In one possible example, in terms of determining a first push result according to the first configuration file, the instructions in the program 421 are specifically configured to: searching in a pre-stored configuration information base according to the first configuration file, and acquiring a plurality of second cloud control platform webpages which are the same in type or associated with the first cloud control platform webpage; and sending the first pushing result to the pushing server, and instructing the pushing server to respectively push second information to the plurality of second cloud control platform webpages, wherein the second information comprises the first pushing result, and the second information is used for instructing the plurality of second cloud control platform webpages to display the first pushing result.
In one possible example, the program 421 includes instructions for performing the following steps: sending a feedback request to the push server, wherein the feedback request is used for instructing the push server to send third information to the first cloud control platform webpage, and the third information is used for extracting first keyword information from webpage content currently displayed by the first cloud control platform webpage and feeding the first keyword information back to the push server; receiving the first keyword information sent by the push server; comparing the first keyword information with second keyword information of a first pushing result; if the comparison is successful, determining that the pushing is successful; and if the comparison fails, the first pushing result is sent to the pushing server again, and the pushing server is instructed to push the first information to the first cloud control platform webpage.
In one possible example, the program 421 includes instructions for performing the following steps: receiving a plurality of second configuration files sent by the push server, wherein the plurality of second configuration files are generated by the push server according to second configuration information from a plurality of third cloud control platform webpages respectively, and the second configuration files correspond to the second configuration information one to one; determining a plurality of second pushing results according to the plurality of second configuration files; and sending the second push results to the push server, and instructing the push server to respectively push a piece of fourth information to the third cloud control platform webpages, wherein the fourth information comprises a second push result, and the fourth information is used for instructing the third cloud control platform webpages to display the second push results contained in the third cloud control platform webpages.
In one possible example, in terms of receiving the plurality of second configuration files sent by the push server, the program 421 includes instructions for performing the following steps: clustering and classifying the second configuration files to obtain a plurality of clusters, wherein each cluster comprises a plurality of second configuration files; respectively extracting the features of a plurality of second configuration files in each class cluster, and correspondingly obtaining a plurality of first features in each class cluster, wherein the plurality of second configuration files in each class cluster correspond to the plurality of first features one to one; determining a feature list according to a plurality of first features in each class cluster respectively to obtain a plurality of feature lists; determining a comprehensive characteristic list according to the plurality of characteristic lists; determining a third pushing result according to the comprehensive characteristic list; sending the third pushing result to the pushing server according to the preset protocol, and instructing the pushing server to respectively push a piece of fourth information to the plurality of third cloud control platform webpages, wherein the fourth information includes the third pushing result, and the fourth information is used for instructing the third cloud control platform webpages to display the third pushing result;
wherein, the determining a feature list according to a plurality of first features in each cluster includes: in each cluster, calculating the similarity between every two first characteristics to obtain a plurality of similarities; selecting the similarity greater than a preset threshold value to obtain a plurality of effective similarities; extracting the first features corresponding to the effective similarities to obtain a plurality of effective first features; and solving the intersection of the plurality of effective first characteristics to obtain the characteristic list.
In one possible example, in determining a third push result from the comprehensive feature list, the program 421 includes instructions for performing the following steps: performing feature extraction on a preset number of results to be pushed to obtain a preset number of second features, wherein the preset number of second features corresponds to the preset number of results to be pushed one by one; constructing a first matrix according to the comprehensive characteristic list and constructing a second matrix according to the preset number of second characteristics; calculating the similarity of the first matrix and the second matrix to obtain a similar matrix; and determining the third pushing result according to the similarity matrix.
The above description has introduced the solution of the embodiment of the present application mainly from the perspective of the method-side implementation process. It is understood that the electronic device comprises corresponding hardware structures and/or software modules for performing the respective functions in order to realize the above-mentioned functions. Those of skill in the art will readily appreciate that the present application is capable of hardware or a combination of hardware and computer software implementing the various illustrative elements and algorithm steps described in connection with the embodiments provided herein. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiment of the present application, the electronic device may be divided into the functional units according to the method example, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit. It should be noted that the division of the unit in the embodiment of the present application is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
Referring to fig. 5, fig. 5 is a block diagram illustrating functional units of an information pushing apparatus 500 according to an embodiment of the present application. The information pushing apparatus 500 is applied to an electronic device, and includes a processing unit 501 and a communication unit 502, where the processing unit 501 is configured to execute any step in the above method embodiments, and when performing data transmission such as sending, the communication unit 502 is optionally invoked to complete a corresponding operation. The details will be described below.
In one possible example, the processing unit 501 is configured to receive a first configuration file sent by a push server, where the first configuration file is generated by the push server according to first configuration information from a first cloud control platform webpage; and for determining a first push result from the first profile; and the first information is used for sending the first pushing result to the pushing server and indicating the pushing server to push first information to the first cloud control platform webpage, wherein the first information comprises the first pushing result, and the first information is used for indicating the first cloud control platform webpage to display the first pushing result.
It can be seen that, in the information push apparatus provided in the embodiment of the present application, a first configuration file sent by a push server is received, where the first configuration file is generated by the push server according to first configuration information from a first cloud control platform webpage; then determining a first pushing result according to the first configuration file; and sending the first pushing result to the pushing server, and instructing the pushing server to push first information to the first cloud control platform webpage, wherein the first information comprises the first pushing result, and the first information is used for instructing the first cloud control platform webpage to display the first pushing result. Therefore, the information pushing method provided by the embodiment of the application can enable the webpage cloud control architecture to be simple, occupy less resources and be convenient to maintain.
In one possible example, in terms of determining a first pushing result according to the first configuration file, the processing unit 501 is specifically configured to: analyzing the first configuration file to acquire the first configuration information; determining the type of the first cloud control platform webpage according to the first configuration information; and determining a first pushing result according to the type of the first cloud control platform webpage.
In one possible example, in terms of determining a first pushing result according to the first configuration file, the processing unit 501 is specifically configured to: searching in a pre-stored configuration information base according to the first configuration file, and acquiring a plurality of second cloud control platform webpages which are the same in type or associated with the first cloud control platform webpage; and sending the first pushing result to the pushing server, and instructing the pushing server to respectively push second information to the plurality of second cloud control platform webpages, wherein the second information comprises the first pushing result, and the second information is used for instructing the plurality of second cloud control platform webpages to display the first pushing result.
In one possible example, the processing unit 501 is specifically configured to: sending a feedback request to the push server, wherein the feedback request is used for instructing the push server to send third information to the first cloud control platform webpage, and the third information is used for extracting first keyword information from webpage content currently displayed by the first cloud control platform webpage and feeding the first keyword information back to the push server; receiving the first keyword information sent by the push server; comparing the first keyword information with second keyword information of a first pushing result; if the comparison is successful, determining that the pushing is successful; and if the comparison fails, the first pushing result is sent to the pushing server again, and the pushing server is instructed to push the first information to the first cloud control platform webpage.
In one possible example, the processing unit 501 is specifically configured to: receiving a plurality of second configuration files sent by the push server, wherein the plurality of second configuration files are generated by the push server according to second configuration information from a plurality of third cloud control platform webpages respectively, and the second configuration files correspond to the second configuration information one to one; determining a plurality of second pushing results according to the plurality of second configuration files; and sending the second push results to the push server, and instructing the push server to respectively push a piece of fourth information to the third cloud control platform webpages, wherein the fourth information comprises a second push result, and the fourth information is used for instructing the third cloud control platform webpages to display the second push results contained in the third cloud control platform webpages.
In a possible example, in terms of receiving a plurality of second configuration files sent by the push server, the processing unit 501 is specifically configured to: clustering and classifying the second configuration files to obtain a plurality of clusters, wherein each cluster comprises a plurality of second configuration files; respectively extracting the features of a plurality of second configuration files in each class cluster, and correspondingly obtaining a plurality of first features in each class cluster, wherein the plurality of second configuration files in each class cluster correspond to the plurality of first features one to one; determining a feature list according to a plurality of first features in each class cluster respectively to obtain a plurality of feature lists; determining a comprehensive characteristic list according to the plurality of characteristic lists; determining a third pushing result according to the comprehensive characteristic list; sending the third pushing result to the pushing server according to the preset protocol, and instructing the pushing server to respectively push a piece of fourth information to the plurality of third cloud control platform webpages, wherein the fourth information includes the third pushing result, and the fourth information is used for instructing the third cloud control platform webpages to display the third pushing result;
wherein, the determining a feature list according to a plurality of first features in each cluster includes: in each cluster, calculating the similarity between every two first characteristics to obtain a plurality of similarities; selecting the similarity greater than a preset threshold value to obtain a plurality of effective similarities; extracting the first features corresponding to the effective similarities to obtain a plurality of effective first features; and solving the intersection of the plurality of effective first characteristics to obtain the characteristic list.
In a possible example, in terms of determining a third pushing result according to the comprehensive feature list, the processing unit 501 is specifically configured to: performing feature extraction on a preset number of results to be pushed to obtain a preset number of second features, wherein the preset number of second features corresponds to the preset number of results to be pushed one by one; constructing a first matrix according to the comprehensive characteristic list and constructing a second matrix according to the preset number of second characteristics; calculating the similarity of the first matrix and the second matrix to obtain a similar matrix; and determining the third pushing result according to the similarity matrix.
The information pushing apparatus 500 may further include a storage unit 503 for storing program codes and data of the electronic device. The processing unit 501 may be a processor, the communication unit 502 may be a touch display screen or a transceiver, and the storage unit 503 may be a memory.
It can be understood that, since the method embodiment and the apparatus embodiment are different presentation forms of the same technical concept, the content of the method embodiment portion in the present application should be synchronously adapted to the apparatus embodiment portion, and is not described herein again.
Embodiments of the present application further provide a chip, where the chip includes a processor, configured to call and run a computer program from a memory, so that a device in which the chip is installed performs some or all of the steps described in the electronic device in the above method embodiments.
Embodiments of the present application also provide a computer storage medium, where the computer storage medium stores a computer program for electronic data exchange, the computer program enabling a computer to execute part or all of the steps of any one of the methods described in the above method embodiments, and the computer includes an electronic device.
Embodiments of the present application also provide a computer program product comprising a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any of the methods as described in the above method embodiments. The computer program product may be a software installation package, the computer comprising an electronic device.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the above-described division of the units is only one type of division of logical functions, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit may be stored in a computer readable memory if it is implemented in the form of a software functional unit and sold or used as a stand-alone product. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a memory, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the above-mentioned method of the embodiments of the present application. And the aforementioned memory comprises: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, which may include: flash Memory disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The foregoing detailed description of the embodiments of the present application has been presented to illustrate the principles and implementations of the present application, and the above description of the embodiments is only provided to help understand the method and the core concept of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. An information pushing method is applied to an electronic device, and comprises the following steps:
receiving a first configuration file sent by a push server, wherein the first configuration file is generated by the push server according to first configuration information from a first cloud control platform webpage;
determining a first pushing result according to the first configuration file;
sending the first pushing result to the pushing server, and instructing the pushing server to push first information to the first cloud control platform webpage, where the first information includes the first pushing result, and the first information is used to instruct the first cloud control platform webpage to display the first pushing result.
2. The method of claim 1, wherein determining the first push result according to the first profile comprises:
analyzing the first configuration file to acquire the first configuration information;
determining the type of the first cloud control platform webpage according to the first configuration information;
and determining a first pushing result according to the type of the first cloud control platform webpage.
3. The method according to claim 1 or 2, wherein after determining a first push result according to the first profile, the method further comprises:
searching in a pre-stored configuration information base according to the first configuration file, and acquiring a plurality of second cloud control platform webpages which are the same in type or associated with the first cloud control platform webpage;
and sending the first pushing result to the pushing server, and instructing the pushing server to respectively push second information to the plurality of second cloud control platform webpages, wherein the second information comprises the first pushing result, and the second information is used for instructing the plurality of second cloud control platform webpages to display the first pushing result.
4. The method according to claim 1 or 2, characterized in that the method further comprises:
sending a feedback request to the push server, wherein the feedback request is used for instructing the push server to send third information to the first cloud control platform webpage, and the third information is used for extracting first keyword information from webpage content currently displayed by the first cloud control platform webpage and feeding the first keyword information back to the push server;
receiving the first keyword information sent by the push server;
comparing the first keyword information with second keyword information of a first pushing result;
if the comparison is successful, determining that the pushing is successful;
and if the comparison fails, the first pushing result is sent to the pushing server again, and the pushing server is instructed to push the first information to the first cloud control platform webpage.
5. The method according to any one of claims 1-4, further comprising:
receiving a plurality of second configuration files sent by the push server, wherein the plurality of second configuration files are generated by the push server according to second configuration information from a plurality of third cloud control platform webpages respectively, and the second configuration files correspond to the second configuration information one to one;
determining a plurality of second pushing results according to the plurality of second configuration files;
and sending the second push results to the push server, and instructing the push server to respectively push a piece of fourth information to the third cloud control platform webpages, wherein the fourth information comprises a second push result, and the fourth information is used for instructing the third cloud control platform webpages to display the second push results contained in the third cloud control platform webpages.
6. The method of claim 5, wherein after receiving the plurality of second profiles sent by the push server, the method further comprises:
clustering and classifying the second configuration files to obtain a plurality of clusters, wherein each cluster comprises a plurality of second configuration files;
respectively extracting the features of a plurality of second configuration files in each class cluster, and correspondingly obtaining a plurality of first features in each class cluster, wherein the plurality of second configuration files in each class cluster correspond to the plurality of first features one to one;
determining a feature list according to a plurality of first features in each class cluster respectively to obtain a plurality of feature lists;
determining a comprehensive characteristic list according to the plurality of characteristic lists;
determining a third pushing result according to the comprehensive characteristic list;
sending the third pushing result to the pushing server according to the preset protocol, and instructing the pushing server to respectively push a piece of fourth information to the plurality of third cloud control platform webpages, wherein the fourth information includes the third pushing result, and the fourth information is used for instructing the third cloud control platform webpages to display the third pushing result;
wherein, the determining a feature list according to a plurality of first features in each cluster includes:
in each cluster, calculating the similarity between every two first characteristics to obtain a plurality of similarities;
selecting the similarity greater than a preset threshold value to obtain a plurality of effective similarities;
extracting the first features corresponding to the effective similarities to obtain a plurality of effective first features;
and solving the intersection of the plurality of effective first characteristics to obtain the characteristic list.
7. The method of claim 6, wherein determining a third push result based on the comprehensive feature list comprises:
performing feature extraction on a preset number of results to be pushed to obtain a preset number of second features, wherein the preset number of second features corresponds to the preset number of results to be pushed one by one;
constructing a first matrix according to the comprehensive characteristic list and constructing a second matrix according to the preset number of second characteristics;
calculating the similarity of the first matrix and the second matrix to obtain a similar matrix;
and determining the third pushing result according to the similarity matrix.
8. An information pushing apparatus applied to an electronic device, the apparatus comprising a processing unit and a communication unit, wherein the processing unit,
the system comprises a first configuration file, a second configuration file and a third configuration file, wherein the first configuration file is sent by a push server and is generated by the push server according to first configuration information from a first cloud control platform webpage;
and for determining a first push result from the first profile;
and the first information is used for sending the first pushing result to the pushing server and indicating the pushing server to push first information to the first cloud control platform webpage, wherein the first information comprises the first pushing result, and the first information is used for indicating the first cloud control platform webpage to display the first pushing result.
9. An electronic device comprising a processor, a memory, a communication interface, and one or more programs stored in the memory and configured to be executed by the processor, the programs comprising instructions for performing the steps in the method of any of claims 1-7.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program which is executed by a processor to implement the method of any one of claims 1-7.
CN201911149657.3A 2019-11-21 2019-11-21 Information pushing method and related equipment Active CN112825528B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911149657.3A CN112825528B (en) 2019-11-21 2019-11-21 Information pushing method and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911149657.3A CN112825528B (en) 2019-11-21 2019-11-21 Information pushing method and related equipment

Publications (2)

Publication Number Publication Date
CN112825528A true CN112825528A (en) 2021-05-21
CN112825528B CN112825528B (en) 2022-11-01

Family

ID=75907347

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911149657.3A Active CN112825528B (en) 2019-11-21 2019-11-21 Information pushing method and related equipment

Country Status (1)

Country Link
CN (1) CN112825528B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107295095A (en) * 2017-07-13 2017-10-24 百度在线网络技术(北京)有限公司 The method and apparatus for pushing and showing advertisement
US20180113426A1 (en) * 2016-05-09 2018-04-26 Boe Technology Group Co., Ltd. Device control method and apparatus, and device control system
CN108881202A (en) * 2018-06-08 2018-11-23 北京联合众为科技发展有限公司 A kind of video monitoring system and method
CN109600282A (en) * 2018-12-26 2019-04-09 世纪龙信息网络有限责任公司 Test macro and test method based on cloud prototype
CN109782706A (en) * 2018-12-18 2019-05-21 清华大学 Exhibition room control system and method, Cloud Server and terminal control equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180113426A1 (en) * 2016-05-09 2018-04-26 Boe Technology Group Co., Ltd. Device control method and apparatus, and device control system
CN107295095A (en) * 2017-07-13 2017-10-24 百度在线网络技术(北京)有限公司 The method and apparatus for pushing and showing advertisement
CN108881202A (en) * 2018-06-08 2018-11-23 北京联合众为科技发展有限公司 A kind of video monitoring system and method
CN109782706A (en) * 2018-12-18 2019-05-21 清华大学 Exhibition room control system and method, Cloud Server and terminal control equipment
CN109600282A (en) * 2018-12-26 2019-04-09 世纪龙信息网络有限责任公司 Test macro and test method based on cloud prototype

Also Published As

Publication number Publication date
CN112825528B (en) 2022-11-01

Similar Documents

Publication Publication Date Title
CN109918205B (en) Edge equipment scheduling method, system, device and computer storage medium
CN107577807B (en) Method and device for pushing information
CN105721462B (en) Information pushing method and device
CN107172685B (en) Method and equipment for displaying information of wireless access point on mobile terminal
CN105447204A (en) Website recognition method and apparatus
US20160210632A1 (en) Secured payment method and relevant device and system
CN108280200B (en) Method and device for pushing information
CN113039758B (en) Method and related device for automatically replying information
CN105991722B (en) Downloader recommendation method, application server, terminal and system
US20160026728A1 (en) Interaction Method And Device Between Browsers And Browser
CN108804448A (en) The method and apparatus for generating information to be pushed
CN103354556A (en) Message prompt method used for realizing sharing user and equipment thereof
WO2019056501A1 (en) Personalized wifi hotspot pushing method, device, and storage medium
US11468125B2 (en) Resource search method and related product
CN105471998A (en) Method and device for synchronizing application data in multiple terminals
CN112825528B (en) Information pushing method and related equipment
CN113242301A (en) Method and device for selecting real server, computer equipment and storage medium
CN103778232A (en) Method and device for processing personalized information
CN112840305A (en) Font switching method and related product
CN111194026B (en) Information sending method and device and electronic equipment
CN110674268B (en) Man-machine conversation method and related equipment
CN104601616A (en) Method, device and system for logging into wireless application protocol website
CN107318129A (en) Data processing method, device and terminal
CN111984839B (en) Method and device for drawing user portrait
CN110785752A (en) Resource searching method and related product

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