CN112348627A - Application pushing method, device, equipment and computer readable storage medium - Google Patents

Application pushing method, device, equipment and computer readable storage medium Download PDF

Info

Publication number
CN112348627A
CN112348627A CN202011135387.3A CN202011135387A CN112348627A CN 112348627 A CN112348627 A CN 112348627A CN 202011135387 A CN202011135387 A CN 202011135387A CN 112348627 A CN112348627 A CN 112348627A
Authority
CN
China
Prior art keywords
application
screen capture
data
identification code
fingerprint identification
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011135387.3A
Other languages
Chinese (zh)
Inventor
鲁亚琴
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New 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 Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN202011135387.3A priority Critical patent/CN112348627A/en
Publication of CN112348627A publication Critical patent/CN112348627A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0631Item recommendations
    • 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/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses an application pushing method, an application pushing device, application pushing equipment and a computer readable storage medium, wherein an application package name of a current application is obtained, and if the application package name exists in an application store, a current display interface is subjected to screen capture to generate screen capture data; and generating a fingerprint identification code based on the screen capture data, and sending the fingerprint identification code to a cloud end so that the cloud end can obtain a corresponding target application according to the fingerprint identification code and push the target application to a current display interface. According to the method and the device, after the current application is judged to be the application in the application store according to the application package name of the current application, the screen capture is carried out on the current display interface, the fingerprint identification code is generated according to the screen capture data generated by the screen capture and is sent to the cloud, so that the cloud can accurately search the same type of application information according to the fingerprint identification code and push the same to the display interface of the current application, and the accuracy of application pushing is effectively improved.

Description

Application pushing method, device, equipment and computer readable storage medium
Technical Field
The invention relates to the technical field of screen display control, in particular to an application pushing method, device and equipment and a computer readable storage medium.
Background
With the improvement of living standard and the rapid development of network technology, people can install various applications, such as game apps, audio and video apps, shopping apps and the like, in smart devices such as smart televisions, smart phones, tablet computers and the like to fully enjoy the benefits brought by modern life.
To better satisfy the user's hobbies, various types of installed applications typically push other content related to the current application in the form of pop-up windows or messages to the user who is using the application. However, when a user uses an installed application, the current smart device cannot accurately push corresponding content according to the user's requirements, so that the user cannot timely acquire information related to currently browsed content, and the accuracy of application pushing is low.
Disclosure of Invention
The invention mainly aims to provide an application pushing method, an application pushing device, application pushing equipment and a computer readable storage medium, and aims to solve the technical problem that the accuracy of current application pushing is low.
In order to achieve the above object, an embodiment of the present invention provides an application pushing method, where the application pushing method includes:
acquiring an application package name of a current application, and if the application package name exists in an application store, performing screen capture on a current display interface to generate screen capture data;
and generating a fingerprint identification code based on the screen capture data, and sending the fingerprint identification code to a cloud end so that the cloud end can obtain a corresponding target application according to the fingerprint identification code and push the target application to a current display interface.
Preferably, the step of generating a fingerprint identification code based on the screen capture data comprises:
inputting the screen capture data into a random encryption program;
processing the screen capture data according to the perceptual hash algorithm of the random encryption program, and calculating an image hash value;
and determining the image hash value as a fingerprint identification code of the screen capture data.
Preferably, the step of processing the screen capture data according to the perceptual hash algorithm of the random encryption program and calculating an image hash value includes:
carrying out size scaling on the screen capture data according to the perceptual hash algorithm of the random encryption program, and carrying out gray processing on the screen capture data after size scaling to obtain gray image information;
performing discrete cosine transform on the gray image information, and determining target matrix data from the matrix data after cosine transform;
and calculating an image hash value according to the target matrix data.
Preferably, the step of calculating an image hash value according to the target matrix data includes:
carrying out average value calculation on the target matrix data to obtain matrix average value data;
performing hash operation on the matrix mean value data to obtain hash matrix data;
and converting the hash matrix data into hash image data, and combining the hash image data to obtain an image hash value.
Preferably, if the application package name exists in the application store, the step of capturing the screen of the current display interface and generating the screen capture data includes:
and acquiring standard application package names of all applications in an application store, and if any standard application package name in each standard application package name is matched with the application package name, judging that the application package name exists in the application store.
Preferably, if the application package name exists in the application store, the step of capturing the screen of the current display interface and generating the screen capture data includes:
acquiring screen capture parameters, and capturing a screen of a current display interface according to the screen capture parameters to generate initial screen capture data;
and identifying an initial format of the initial screen capture data, and if the initial format is the preset format, performing format conversion on the initial screen capture data to generate screen capture data.
Preferably, the step of sending the fingerprint identification code to a cloud includes:
transcoding the fingerprint identification code to obtain a transcoded fingerprint identification code;
and sending the transcoded fingerprint identification code to a cloud terminal through a preset transmission channel.
In order to achieve the above object, the present application further provides an application pushing apparatus, including:
the screen capturing module is used for acquiring the name of the application package of the current application, and if the name of the application package exists in an application store, the screen capturing module is used for capturing the screen of the current display interface to generate screen capturing data;
and the generating module is used for generating a fingerprint identification code based on the screen capturing data and sending the fingerprint identification code to a cloud end so that the cloud end can obtain a corresponding target application according to the fingerprint identification code and push the target application to a current display interface.
Further, to achieve the above object, the present application also provides an application pushing device, where the application pushing device includes a memory, a processor, and an application pushing program stored on the memory and operable on the processor, and when executed by the processor, the application pushing program implements the steps of the application pushing method described above.
Further, to achieve the above object, the present application also provides a computer readable storage medium, on which an application push program is stored, and the application push program, when executed by a processor, implements the steps of the application push method described above.
The embodiment of the invention provides an application pushing method, an application pushing device, application pushing equipment and a computer readable storage medium, wherein the application package name of a current application is obtained, if the application package name exists in an application store, a current display interface is subjected to screen capture, and screen capture data are generated; and generating a fingerprint identification code based on the screen capture data, and sending the fingerprint identification code to a cloud end so that the cloud end can obtain a corresponding target application according to the fingerprint identification code and push the target application to a current display interface. According to the method and the device, after the current application is judged to be the application in the application store according to the application package name of the current application, the screen capture is carried out on the current display interface, the fingerprint identification code is generated according to the screen capture data generated by the screen capture and is sent to the cloud, so that the cloud can accurately search the same type of application information according to the fingerprint identification code and push the same to the display interface of the current application, and the accuracy of application pushing is effectively improved.
Drawings
FIG. 1 is a schematic structural diagram of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a first embodiment of a push method according to the present invention;
FIG. 3 is a functional block diagram of a preferred embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The embodiment of the invention provides an application pushing method, an application pushing device, application pushing equipment and a computer readable storage medium, wherein the application package name of a current application is obtained, if the application package name exists in an application store, a current display interface is subjected to screen capture, and screen capture data are generated; and generating a fingerprint identification code based on the screen capture data, and sending the fingerprint identification code to a cloud end so that the cloud end can obtain a corresponding target application according to the fingerprint identification code and push the target application to a current display interface. According to the method and the device, after the current application is judged to be the application in the application store according to the application package name of the current application, the screen capture is carried out on the current display interface, the fingerprint identification code is generated according to the screen capture data generated by the screen capture and is sent to the cloud, so that the cloud can accurately search the same type of application information according to the fingerprint identification code and push the same to the display interface of the current application, and the accuracy of application pushing is effectively improved.
As shown in fig. 1, fig. 1 is a schematic structural diagram of an application push device in a hardware operating environment according to an embodiment of the present invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
The push equipment applied in the embodiment of the invention can be a PC, and can also be mobile terminal equipment such as a tablet personal computer, a portable computer and the like.
As shown in fig. 1, the application push apparatus may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the application pushing device configuration shown in fig. 1 does not constitute a limitation of the application pushing device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of computer-readable storage medium, may include therein an operating system, a network communication module, a user interface module, and an application push program.
In the device shown in fig. 1, the network interface 1004 is mainly used for connecting to a backend server and performing data communication with the backend server; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and the processor 1001 may be configured to invoke an application push program stored in the memory 1005 and perform the following operations:
acquiring an application package name of a current application, and if the application package name exists in an application store, performing screen capture on a current display interface to generate screen capture data;
and generating a fingerprint identification code based on the screen capture data, and sending the fingerprint identification code to a cloud end so that the cloud end can obtain a corresponding target application according to the fingerprint identification code and push the target application to a current display interface.
Further, the step of generating a fingerprint identification code based on the screen capture data comprises:
inputting the screen capture data into a random encryption program;
processing the screen capture data according to the perceptual hash algorithm of the random encryption program, and calculating an image hash value;
and determining the image hash value as a fingerprint identification code of the screen capture data.
Further, the step of processing the screen capture data according to the perceptual hash algorithm of the random encryption program and calculating an image hash value includes:
carrying out size scaling on the screen capture data according to the perceptual hash algorithm of the random encryption program, and carrying out gray processing on the screen capture data after size scaling to obtain gray image information;
performing discrete cosine transform on the gray image information, and determining target matrix data from the matrix data after cosine transform;
and calculating an image hash value according to the target matrix data.
Further, the step of calculating an image hash value according to the target matrix data includes:
carrying out average value calculation on the target matrix data to obtain matrix average value data;
performing hash operation on the matrix mean value data to obtain hash matrix data;
and converting the hash matrix data into hash image data, and combining the hash image data to obtain an image hash value.
Further, before the step of performing screen capture on the current display interface and generating screen capture data if the application package name exists in the application store, the processor 1001 may be configured to invoke an application push program stored in the memory 1005 and perform the following operations:
and acquiring standard application package names of all applications in an application store, and if any standard application package name in each standard application package name is matched with the application package name, judging that the application package name exists in the application store.
Further, if the application package name exists in the application store, the screen capturing is performed on the current display interface, and the step of generating screen capturing data includes:
acquiring screen capture parameters, and capturing a screen of a current display interface according to the screen capture parameters to generate initial screen capture data;
and identifying an initial format of the initial screen capture data, and if the initial format is the preset format, performing format conversion on the initial screen capture data to generate screen capture data.
Further, the step of sending the fingerprint identification code to a cloud comprises:
transcoding the fingerprint identification code to obtain a transcoded fingerprint identification code;
and sending the transcoded fingerprint identification code to a cloud terminal through a preset transmission channel.
For a better understanding of the above technical solutions, 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.
In order to better understand the technical solution, the technical solution will be described in detail with reference to the drawings and the specific embodiments.
Referring to fig. 2, a first embodiment of the present invention provides a flowchart illustrating an application push method. In this embodiment, the application pushing method includes the following steps:
step S10, acquiring the name of the application package of the current application, and if the name of the application package exists in an application store, performing screen capture on the current display interface to generate screen capture data;
the application pushing method in the embodiment is applied to an application pushing system, the application pushing system belongs to an intelligent home, the intelligent home takes a home as a platform, and facilities related to the home are integrated by utilizing a comprehensive wiring technology, a network communication technology, a safety precaution technology, an automatic control technology, an audio and video technology and the like, so that an efficient management system for home facilities and home schedule affairs is constructed. With the improvement of living standard, a user often installs various applications on smart devices such as a smart phone and a tablet computer, the preference of the user for selecting the applications is updated all the time, and if the characteristics of the applications installed on the smart devices by the user can be known more quickly, more related applications can be recommended to the user quickly. However, a key technical problem is how to enable the cloud to quickly identify the type and name of an application in the smart device. Therefore, the invention provides a method for identifying the name and the type of the application in the intelligent device and generating the fingerprint identification code according to the application type and the name, so that the application pushing system can push other applications with the same type as the current application viewed by the user when the user uses the application, and the accuracy of application pushing is effectively improved. It is understood that the application push system may be disposed in the smart device, and the fingerprint identification code is generated and the application push is performed in real time.
Further, the system identifies the current application running in the smart device, specifically, the system invokes the application thread running in the foreground, obtains application information of the current application through the application thread, and identifies an application Package name in the application information, where the Package name is a unique identifier of the application, that is: the package name is unique, one package name represents one application, and two applications are not allowed to use the same package name. Further, the system compares the application package name of the current application with all standard application package names in the application store, determines whether the application package name exists in the application store, determines that the current application exists in the application store after determining that the application package name exists in the application store, and performs screen capture on the current display interface. Further, if the current application is determined to exist in the application store, the system acquires screen capture parameters preset by a user or the system according to screen capture requirements, and performs screen capture on the current display interface of the current application in the intelligent terminal according to the acquired screen capture parameters to obtain initial screen capture data representing a screen capture image. Further, the system compares the initial format of the initial screenshot data with a preset format, and if the initial format is the same as the preset format, format conversion is performed on the initial screenshot data to generate screenshot data representing the final screenshot.
And step S30, generating a fingerprint identification code based on the screen capturing data, and sending the fingerprint identification code to a cloud end, so that the cloud end can obtain a corresponding target application according to the fingerprint identification code and push the target application to a current display interface.
Further, after the screen capture data are generated, the system inputs the image information in the screen capture data into a random encryption program, processes the image information through the random encryption program, and obtains the fingerprint identification code according to the processed image hash value, wherein the random encryption program is used for generating the fingerprint identification code according to the image information of the screen capture data. Further, the system sends the fingerprint identification code to the cloud end, so that the cloud end can obtain the type and the name of the current application according to the fingerprint identification code, search a target application with the same name and type as the current application from an application store or an application database, push application information of the target application to a current display interface, enable a user to click or touch the application information and jump to an application profile page of the target application, and enable the target application to be downloaded and used if the user is interested in the target application.
Further, the step of sending the fingerprint identification code to a cloud comprises:
step S34, transcoding the fingerprint identification code to obtain a transcoded fingerprint identification code;
and step S35, sending the transcoded fingerprint identification code to the cloud through a preset transmission channel.
Further, in order to smoothly send the generated fingerprint identification code to the cloud without being maliciously intercepted by the cloud, the system also needs to transcode the generated fingerprint identification code. Specifically, the system interacts with the cloud end, jointly appoints an encoding and decoding rule with the cloud end, and after the appointment of the encoding and decoding rule is completed, the generated fingerprint identification code is transcoded through the encoding and decoding rule to obtain the transcoded fingerprint identification code. Further, the system sends the transcoded fingerprint identification code and a preset transmission channel to the cloud, so that the cloud decodes the transcoded fingerprint identification code according to an agreed encoding and decoding rule, analyzes the decoded fingerprint identification code to obtain a corresponding current application type and name, searches a target application with the same name and type as the current application from an application store or an application database, pushes application information of the target application to a current display interface, and allows a user to click or touch the application information to jump to an application profile page of the target application.
The embodiment provides an application pushing method, an application pushing device, application pushing equipment and a computer readable storage medium, wherein an application package name of a current application is obtained, and if the application package name exists in an application store, a current display interface is subjected to screen capture to generate screen capture data; and generating a fingerprint identification code based on the screen capture data, and sending the fingerprint identification code to a cloud end so that the cloud end can obtain a corresponding target application according to the fingerprint identification code and push the target application to a current display interface. According to the method and the device, after the current application is judged to be the application in the application store according to the application package name of the current application, the screen capture is carried out on the current display interface, the fingerprint identification code is generated according to the screen capture data generated by the screen capture and is sent to the cloud, so that the cloud can accurately search the same type of application information according to the fingerprint identification code and push the same to the display interface of the current application, and the accuracy of application pushing is effectively improved.
Further, a second embodiment of the application push method of the present invention is proposed based on the first embodiment of the application push method of the present invention, and in the second embodiment, the step of generating the fingerprint identification code based on the screen capture data includes:
step S31, inputting the screen capture data into a random encryption program;
step S32, processing the screen capture data according to the perceptual hash algorithm of the random encryption program, and calculating an image hash value;
and step S33, determining the image hash value as the fingerprint identification code of the screen capture data.
Furthermore, a fingerprint unique identification module is arranged in the system and used for generating the screen capture data into a fingerprint identification code through an internally arranged random encryption program, and a perceptual hash algorithm is arranged in the random encryption program. Further, the system extracts image information such as length information, width and height of the image frame in the screen capture data, inputs the image information and the generated screen capture data into a random encryption program of the fingerprint unique identification module, processes the screen capture data through a perception hash algorithm and the image information of the random encryption program, and calculates an image hash value. Further, after the image hash value is calculated through a random encryption program of the fingerprint unique identification module, the system determines the image hash value as a fingerprint identification code generated by intercepting screen capture data from the current application, the fingerprint identification code can be used for uniquely identifying the current application, the type and the name of the current application can be obtained through the fingerprint identification code, and a target application with the same type and the same name as or similar to the current application can be searched.
Further, the step of processing the screen capture data according to the perceptual hash algorithm of the random encryption program and calculating an image hash value includes:
step S321, scaling the size of the screen capture data according to the perceptual hash algorithm of the random encryption program, and performing gray processing on the screen capture data after scaling to obtain gray image information;
step S322, performing discrete cosine transform on the gray image information, and determining target matrix data from the matrix data after cosine transform;
step S323, calculating an image hash value according to the target matrix data.
Further, the system calls a random encryption program in the fingerprint unique identification module, and performs size scaling on the screenshot data by combining the input image information through a perceptual hash algorithm set in the random encryption program, specifically, since the high frequency and the detail content of the screenshot image need to be filtered and the structure brightness is kept, the system performs size scaling on the screenshot data by referring to the image information such as the length information, the width and the height of the image frame, and the like, in this embodiment, the screenshot data can be reduced to the size of 8x8 to obtain 64 pixels, so as to reduce the image deviation caused by different sizes and proportions. Further, in order to facilitate further processing of the scaled screen capture data, the system needs to perform color simplification on the scaled screen capture data, specifically, perform gray scale processing on the screen capture data after size scaling through a binarization algorithm to obtain binarized gray scale image information, for example, convert the screen capture data after size scaling into 64-level gray scale, that is, all pixel points in the screen capture data have 64 colors in total. Further, the system performs discrete cosine transform on the gray image information, wherein the discrete cosine transform is to aggregate the picture decomposition frequencies and have a ladder shape, although JPEG uses 8 × 8 discrete cosine transform, and 32 × 32 discrete cosine transform is used in the embodiment for better effect. Further, after the discrete cosine transform is completed to obtain 32 × 32 matrices, since 8 × 8 matrices in the upper left corner of the matrices represent the lowest frequencies in the grayscale image information, the 8 × 8 matrices in the upper left corner of the matrices are determined as target matrix data. Further, the system calculates the hash value of the gray level image according to the target matrix data.
Further, the step of calculating an image hash value according to the target matrix data includes:
step S3231, carrying out average value calculation on the target matrix data to obtain matrix average value data;
step S3232, performing hash operation on the matrix mean value data to obtain hash matrix data;
step S3233, convert the hash matrix data into hash image data, and combine the hash image data to obtain an image hash value.
Further, the system firstly performs average value calculation on the target matrix data, specifically, calculates the average value of 64 values in the target matrix data to obtain matrix average value data; further, the system performs hash operation according to matrix mean data representing 8 × 8 discrete cosine transform matrices, hash values of 0 or 1 are respectively set for 64 mean values, wherein the mean value greater than or equal to the discrete cosine transform mean value is set as '1', the mean value smaller than the discrete cosine transform mean value is set as '0', and hash matrix data are formed after the hash operation is completed. It can be understood that as long as the overall structure of the screen capture image remains unchanged, the result value of the hash operation is unchanged, and therefore the present embodiment can avoid the influence of gamma correction or color histogram adjustment. Further, in order to facilitate identification and analysis of the cloud, the system also needs to convert the hash matrix data in the character form into long and integer hash image data, and further, the system combines the hash images according to a certain order to obtain an image hash value representing the fingerprint identification code, where the order is not limited in this embodiment.
According to the embodiment, the screenshot data are processed through the perception hash algorithm in the random encryption program, the image hash value is generated and determined as the fingerprint identification code of the screenshot data, the fingerprint identification code is conveniently sent to the cloud, the cloud can accurately find the same type of application information according to the fingerprint identification code and pushes the same to the display interface of the current application, and the accuracy of application pushing is effectively improved.
Further, a third embodiment of the application push method according to the present invention is provided based on the first embodiment of the application push method according to the present invention, and in the third embodiment, if the application package name exists in the application store, the step of capturing the screen of the current display interface and generating the screen capture data includes:
step S11, acquiring the standard application package names of all the applications in the application store, and if any standard application package name in each standard application package name is matched with the application package name, judging that the application package name exists in the application store.
Further, the system calls background services, standard application package names of all applications are obtained from an application store package name library, the application package names of the current applications are compared with the standard application package names, whether any standard application package name is matched with the application package name exists in the standard application package names is determined, the application store contains a plurality of applications meeting the installation standard, and each application has a unique corresponding standard application package name. Specifically, the system uses a character matching algorithm to compare consistency of character information in the application packet name with character information of each standard application packet name, where the character matching algorithm includes multiple algorithms such as BF (Brute Force, storm) algorithm, rk (rabin karp) algorithm, bm (boyer moore) algorithm, and Sunday algorithm, and in this embodiment, specific algorithms of the character matching algorithm are not limited. Further, after consistency comparison is conducted on the character information in the application package names and the character information of each standard application package name through a character matching algorithm, it is determined that the payment information of any standard application package name in each standard application package name is completely matched with the payment information of the application package name, the system judges that the application package name of the current application exists in an application store, the representation that the current application can be found in the application store and belongs to legal installation application, and no adverse effect is caused by generating a fingerprint identification code according to the current application and pushing the corresponding application.
On the contrary, if the consistency comparison is carried out on the character information in the application package name and the character information of each standard application package name through a character matching algorithm, the fact that the payment information of each standard application package name in each standard application package name is not matched with the payment information of the application package name is determined, the system judges that the current application does not exist in an application store, the current application is suspected of illegal installation or information tampering, and the harmful effects are possibly caused by generating a fingerprint identification code according to the current application and pushing the corresponding application.
In this embodiment, by comparing the application package name of the current application with each standard application package name, it is determined whether any standard application package name is matched with the application package name in each standard application package name, and it can be determined whether the current application is legally installed, so as to ensure the security of the system and avoid pushing information with adverse effects to the user.
Further, a fourth embodiment of the application push method according to the present invention is provided based on the first embodiment of the application push method according to the present invention, and in the fourth embodiment, if the application package name exists in the application store, the step of capturing a screen of the current display interface and generating screen capture data includes:
step S21, acquiring screen capture parameters, and capturing a screen of the current display interface according to the screen capture parameters to generate initial screen capture data;
step S22, recognizing an initial format of the initial screen capture data, and if the initial format is the preset format, performing format conversion on the initial screen capture data to generate screen capture data.
It can be understood that, since the sizes of the display screens of different smart devices, such as a smart phone, a tablet computer, and the like, are different, the screen capture parameters adopted when the different smart devices are captured are also different. Further, if the name of the application package is determined to exist in the application store, the system acquires display information of the current intelligent device, and the display information is used as screen capture parameters of the current intelligent device, wherein the display information at least comprises resolution information and length and width information of a display screen. Further, the system captures a screen of a current display interface representing the current application page used by the user according to the screen capture parameters, and generates initial screen capture data representing the screen capture image after the screen capture is completed. Further, the system reads an initial format of the initial screen capture data, identifies the initial format, compares the initial format with a preset format, and determines whether the initial format is the same as the preset format, wherein the preset format is a YUV format in the embodiment, and YUV is a color coding system and is mainly used in a video and graphic processing pipeline. Further, if the initial format is determined to be the same as the preset format through comparison, it is indicated that the initial format of the initial screen capture data conforms to the preset format, and the initial screen capture data in the preset format cannot be identified by the random encryption program, that is, the preset format does not conform to the condition of generating the fingerprint identification code from the initial screen capture data, so that format conversion of the initial screen capture data is required, and the initial screen capture data is converted into data in the target format. Further, the system performs format conversion on the initial screen capture data, specifically, identifies a target format, obtains a conversion relationship between the preset format and the target format, and converts the initial screen capture data according to the conversion relationship between the preset format and the target format to generate the screen capture data representing the recognizable data of the random encryption program, where the preset format is a YUV format and the target format is a JPEG (Joint Photographic Experts Group) format in this embodiment.
According to the method and the device, when the current application exists in an application store, the current display interface is subjected to screen capture according to the screen capture data, the screen capture data is generated when the initial format of the initial screen capture data is the preset format, the data are conveniently coded and transmitted due to the fact that the initial format is the preset format, bandwidth occupation is reduced, the probability of information error is reduced, the initial screen capture data are converted into the screen capture data of the target format, and the fingerprint identification code is conveniently generated according to the screen capture data.
Further, this application still provides an application pusher.
Referring to fig. 3, fig. 3 is a functional module diagram of a first embodiment of the application pushing device of the present application.
The application pushing device comprises:
the screen capturing module 10 is configured to acquire an application package name of a current application, and capture a screen of a current display interface to generate screen capturing data if the application package name exists in an application store;
the generating module 20 is configured to generate a fingerprint identification code based on the screen capture data, and send the fingerprint identification code to a cloud, so that the cloud acquires a corresponding target application according to the fingerprint identification code and pushes the target application to a current display interface.
Further, the screen capture module 10 includes:
the obtaining unit is used for obtaining the standard application package names of all the applications in the application store, and if any standard application package name in each standard application package name is matched with the application package name, the application package name is judged to exist in the application store.
Further, the screen capture module 10 further includes:
the screen capture unit is used for acquiring screen capture parameters, capturing a screen of the current display interface according to the screen capture parameters and generating initial screen capture data;
and the identification unit is used for identifying the initial format of the initial screen capture data, and if the initial format is the preset format, performing format conversion on the initial screen capture data to generate the screen capture data.
Further, the generating module 20 includes:
an input unit for inputting the screen capture data to a random encryption program;
the first calculation unit is used for processing the screen capture data according to the perceptual hash algorithm of the random encryption program and calculating an image hash value;
and the determining unit is used for determining the image hash value as the fingerprint identification code of the screen capture data.
Further, the generating module 20 further includes:
the scaling unit is used for scaling the size of the screen capture data according to the perceptual hash algorithm of the random encryption program and carrying out gray processing on the screen capture data after size scaling to obtain gray image information;
the transformation unit is used for carrying out discrete cosine transformation on the gray image information and determining target matrix data from the matrix data after the cosine transformation;
and the second calculation unit is used for calculating the image hash value according to the target matrix data.
Further, the generating module 20 further includes:
the third calculation unit is used for carrying out average value calculation on the target matrix data to obtain matrix average value data;
the operation unit is used for carrying out Hash operation on the matrix mean value data to obtain Hash matrix data;
and the conversion unit is used for converting the hash matrix data into hash image data and combining the hash image data to obtain an image hash value.
Further, the generating module 20 further includes:
the transcoding unit is used for transcoding the fingerprint identification code to obtain a transcoded fingerprint identification code;
and the sending unit is used for sending the transcoded fingerprint identification code to the cloud through a preset transmission channel.
Furthermore, the present invention also provides a computer-readable storage medium, preferably a computer-readable storage medium, on which an application push program is stored, which when executed by a processor implements the steps of the embodiments of the application push method described above.
In the embodiments of the application push apparatus and the computer-readable storage medium of the present invention, all technical features of the embodiments of the application push method are included, and the descriptions and explanations are basically the same as those of the embodiments of the application push method, and are not described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention or a part contributing to the prior art may be embodied in the form of a software product, where the computer software product is stored in a computer-readable storage medium (such as ROM/RAM, magnetic disk, and optical disk), and includes a plurality of instructions for enabling a terminal device (which may be a fixed terminal, such as an internet-of-things smart device including smart homes, such as a smart air conditioner, a smart lamp, a smart power supply, and a smart router, or a mobile terminal, including a smart phone, a wearable networking AR/VR device, a smart sound box, and a network-connected device, such as an auto-driving automobile) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. An application push method applied to an application push system is characterized in that the application push method comprises the following steps:
acquiring an application package name of a current application, and if the application package name exists in an application store, performing screen capture on a current display interface to generate screen capture data;
and generating a fingerprint identification code based on the screen capture data, and sending the fingerprint identification code to a cloud end so that the cloud end can obtain a corresponding target application according to the fingerprint identification code and push the target application to a current display interface.
2. The application pushing method of claim 1, wherein the step of generating a fingerprint identification code based on the screen capture data comprises:
inputting the screen capture data into a random encryption program;
processing the screen capture data according to the perceptual hash algorithm of the random encryption program, and calculating an image hash value;
and determining the image hash value as a fingerprint identification code of the screen capture data.
3. The application push method according to claim 2, wherein the step of processing the screen shot data according to a perceptual hash algorithm of the random encryption program, and the step of calculating an image hash value comprises:
carrying out size scaling on the screen capture data according to the perceptual hash algorithm of the random encryption program, and carrying out gray processing on the screen capture data after size scaling to obtain gray image information;
performing discrete cosine transform on the gray image information, and determining target matrix data from the matrix data after cosine transform;
and calculating an image hash value according to the target matrix data.
4. The application push method according to claim 3, wherein the step of calculating an image hash value from the target matrix data comprises:
carrying out average value calculation on the target matrix data to obtain matrix average value data;
performing hash operation on the matrix mean value data to obtain hash matrix data;
and converting the hash matrix data into hash image data, and combining the hash image data to obtain an image hash value.
5. The application pushing method according to claim 1, wherein before the step of capturing the screen of the current display interface and generating the screen capture data if the application package name exists in the application store, the method further comprises:
and acquiring standard application package names of all applications in an application store, and if any standard application package name in each standard application package name is matched with the application package name, judging that the application package name exists in the application store.
6. The application pushing method according to claim 1, wherein if the application package name exists in an application store, the screen capturing is performed on a current display interface, and the step of generating screen capturing data includes:
acquiring screen capture parameters, and capturing a screen of a current display interface according to the screen capture parameters to generate initial screen capture data;
and identifying an initial format of the initial screen capture data, and if the initial format is the preset format, performing format conversion on the initial screen capture data to generate screen capture data.
7. The application pushing method of claim 1, wherein the step of sending the fingerprint identifier to a cloud comprises:
transcoding the fingerprint identification code to obtain a transcoded fingerprint identification code;
and sending the transcoded fingerprint identification code to a cloud terminal through a preset transmission channel.
8. An application pushing apparatus, comprising:
the screen capturing module is used for acquiring the name of the application package of the current application, and if the name of the application package exists in an application store, the screen capturing module is used for capturing the screen of the current display interface to generate screen capturing data;
and the generating module is used for generating a fingerprint identification code based on the screen capturing data and sending the fingerprint identification code to a cloud end so that the cloud end can obtain a corresponding target application according to the fingerprint identification code and push the target application to a current display interface.
9. An application push device, characterized in that the application push device comprises a memory, a processor and an application push program stored on the memory and executable on the processor, which when executed by the processor implements the steps of the application push method according to any of claims 1-7.
10. A computer-readable storage medium, having an application push program stored thereon, which, when executed by a processor, implements the steps of the application push method according to any one of claims 1-7.
CN202011135387.3A 2020-10-21 2020-10-21 Application pushing method, device, equipment and computer readable storage medium Pending CN112348627A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011135387.3A CN112348627A (en) 2020-10-21 2020-10-21 Application pushing method, device, equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011135387.3A CN112348627A (en) 2020-10-21 2020-10-21 Application pushing method, device, equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN112348627A true CN112348627A (en) 2021-02-09

Family

ID=74359561

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011135387.3A Pending CN112348627A (en) 2020-10-21 2020-10-21 Application pushing method, device, equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN112348627A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113420250A (en) * 2021-07-19 2021-09-21 卢恩妍 Data control mode and system based on Internet of things
CN114327203A (en) * 2021-12-28 2022-04-12 傲网信息科技(厦门)有限公司 User operation restoration method and device, and recording method and device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113420250A (en) * 2021-07-19 2021-09-21 卢恩妍 Data control mode and system based on Internet of things
CN114327203A (en) * 2021-12-28 2022-04-12 傲网信息科技(厦门)有限公司 User operation restoration method and device, and recording method and device
CN114327203B (en) * 2021-12-28 2023-08-04 傲网信息科技(厦门)有限公司 User operation restoration method and device, and recording method and device

Similar Documents

Publication Publication Date Title
Tsai et al. Location coding for mobile image retrieval
CN110049324B (en) Video encoding method, system, device, and computer-readable storage medium
US7272791B2 (en) Device, method and system for multimedia content adaptation
WO2016082277A1 (en) Video authentication method and apparatus
US7647549B2 (en) Method and device for processing a request for obtaining multimedia data
JP5989004B2 (en) Logo certification
CN112348627A (en) Application pushing method, device, equipment and computer readable storage medium
CN112379949B (en) Data processing method, device, equipment and storage medium
CN111093094A (en) Video transcoding method, device and system, electronic equipment and readable storage medium
US10902049B2 (en) System and method for assigning multimedia content elements to users
JP7255841B2 (en) Information processing device, information processing system, control method, and program
CN107464237A (en) Distorted image detection method, electronic installation and readable storage medium storing program for executing
CN110650309B (en) Video conference video image transmission method, terminal and readable storage medium
CN103369361A (en) Image data echo control method, server and terminal
JP2015188156A (en) Image processing device, image processing system, image processing method and image processing program
CN113453017A (en) Video processing method, device, equipment and computer program product
CN112749802A (en) Neural network model training method and device and computer readable storage medium
CN112235633A (en) Output effect adjusting method, device, equipment and computer readable storage medium
CN113779446A (en) Access request response method, device, system, equipment and storage medium
KR101640447B1 (en) big-data processing and management system using multimedia data
CN116456136B (en) Equipment screen throwing method and device based on localization
CN112565254B (en) Data transmission method, device, equipment and computer readable storage medium
WO2024065605A1 (en) Method for sharing data
CN112559111B (en) Screen capturing method and device for sharing desktop
CN117579896B (en) Unmanned aerial vehicle video transmission processing method, device, equipment and storage medium

Legal Events

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