CN110245291A - A kind of display methods of business datum, device, computer equipment and storage medium - Google Patents

A kind of display methods of business datum, device, computer equipment and storage medium Download PDF

Info

Publication number
CN110245291A
CN110245291A CN201910433005.6A CN201910433005A CN110245291A CN 110245291 A CN110245291 A CN 110245291A CN 201910433005 A CN201910433005 A CN 201910433005A CN 110245291 A CN110245291 A CN 110245291A
Authority
CN
China
Prior art keywords
script
business datum
webpage
emotional information
data
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
CN201910433005.6A
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.)
Guangzhou To Real Mdt Infotech Ltd
Original Assignee
Guangzhou To Real Mdt Infotech 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 Guangzhou To Real Mdt Infotech Ltd filed Critical Guangzhou To Real Mdt Infotech Ltd
Priority to CN201910433005.6A priority Critical patent/CN110245291A/en
Publication of CN110245291A publication Critical patent/CN110245291A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/161Detection; Localisation; Normalisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/174Facial expression recognition

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention provides a kind of display methods of business datum, device, computer equipment and storage mediums, this method comprises: loading webpage, have script in the webpage;Image data is acquired by the script;Human face data is read from described image data by the script;The emotional information of the human face data expression is identified by the script;It obtains and the matched business datum of the emotional information;The business datum is shown in the webpage.The configuration script in webpage, complete independently detect the operation of user emotion, and simple and convenient, the component not depended in computer equipment is detected, and can be adapted to different types of computer equipment.

Description

A kind of display methods of business datum, device, computer equipment and storage medium
Technical field
The present invention relates to the technical fields of communication, more particularly to a kind of display methods of business datum, device, computer Equipment and storage medium.
Background technique
With the high speed development of internet, online information content sharply increases, and major website is increasingly towards more refining Service.
In order to promote user's viscosity, many web page servers can all push except the service needed for it that provides a user Some business datums are to user.
These business datums are the historical operation according to user on webpage mostly, as browsed webpage, searched for Keyword etc., the poor in timeliness of these historical operations cause the matching degree between business datum and user low.
Therefore, the business datum that web page server is pushed to each user may not be these industry required for user Business data are often intercepted by user as junk information or malicious act, very influence the online experience of user.
On the one hand, these business datums for mismatching user demand not only occupy the resource of web page server, cause not Necessary resource occupation and waste.
On the other hand, user needs to obtain the business datum of oneself needs, it will usually carry out massive information in a network Search, is screened to obtain required business datum at comparison, not only operates more cumbersome, the consuming time, and will greatly increase net The resource burden of each equipment in network.
Summary of the invention
The embodiment of the present invention proposes display methods, device, computer equipment and the storage medium of a kind of business datum, with Solve the problems, such as that the matching degree between the business datum pushed in webpage and user is low.
According to one aspect of the present invention, a kind of display methods of business datum is provided, comprising:
Webpage is loaded, there is script in the webpage;
Image data is acquired by the script;
Human face data is read from described image data by the script;
The emotional information of the human face data expression is identified by the script;
It obtains and the matched business datum of the emotional information;
The business datum is shown in the webpage.
It is optionally, described that image data is acquired by the script, comprising:
Preset webpage Real-Time Communication Interface is called to arouse camera, acquisition video data by the script;
The media read method in the webpage Real-Time Communication Interface is called to obtain the video data by the script;
Image data is read from the video data by the script.
Optionally, the first script bank is configured in the webpage, for the script, encapsulates someone in first script bank Face detection model;
It is described to read human face data from described image data by the script, comprising:
Described image data are input in first script bank by the script, to call the Face datection model Human face data is detected from described image data.
Optionally, the second script bank is configured in the webpage, for the script, is packaged with face in second script bank Portion's detection model;
The emotional information that the human face data expression is identified by the script, comprising:
Described image data are input in second script bank by the script, to call the face detection model Identify the emotional information of the human face data expression.
Optionally, the acquisition and the matched business datum of the emotional information, comprising:
The emotional information is sent to web page server, the web page server be used to determine from service server with The address of the matched business datum of emotional information;
Receive the address that the web page server is sent;
Access the address, to receive and the matched business datum of the emotional information from the service server.
Optionally, the acquisition and the matched business datum of the emotional information, comprising:
It counts in the preset period, the frequency of each emotional information;
Determine that target emotion information, the target emotion information are the maximum emotional information of the frequency;
Obtain the business datum with the target emotion information matches.
According to another aspect of the present invention, a kind of display device of business datum is provided, comprising:
Webpage loading module has script in the webpage for loading webpage;
The script includes:
Image capture module, for acquiring image data;
Human face data read module, for reading human face data from described image data;
Emotional information identification module, the emotional information that the human face data is expressed for identification;
Business datum obtains module, for obtaining and the matched business datum of the emotional information;
Business datum display module, for showing the business datum in the webpage.
Optionally, described image acquisition module includes:
Video data acquiring submodule, for calling preset webpage Real-Time Communication Interface to arouse camera, acquisition video Data;
Video data acquisition submodule, for calling the media read method in the webpage Real-Time Communication Interface to obtain institute State video data;
Image data reading submodule, for reading image data from the video data by the script.
Optionally, the first script bank is configured in the webpage, for the script, encapsulates someone in first script bank Face detection model;
The human face data read module includes:
First script bank calls submodule, for described image data to be input in first script bank, to call The Face datection model detects human face data from described image data.
Optionally, the second script bank is configured in the webpage, for the script, is packaged with face in second script bank Portion's detection model;
The emotional information identification module includes:
Second script bank calls submodule, for described image data to be input in second script bank, to call The face detection model identifies the emotional information of the human face data expression.
Optionally, the business datum acquisition module includes:
Emotional information sending submodule, for the emotional information to be sent to web page server, the web page server For the address with the matched business datum of the emotional information determining from service server;
Address receiving submodule, the address sent for receiving the web page server;
Address accesses submodule, for accessing the address, being believed with receiving from the service server with the mood Cease matched business datum.
Optionally, the business datum acquisition module includes:
Frequency statistics submodule, for counting in the preset period, the frequency of each emotional information;
Target emotion information determines submodule, for determining target emotion information, the target emotion information be the frequency most Big emotional information;
Target emotion acquisition of information submodule, for obtaining and the business datum of the target emotion information matches.
According to another aspect of the present invention, it provides a kind of computer equipment, including processor, memory and is stored in institute The computer program that can be run on memory and on the processor is stated, when the computer program is executed by the processor The step of realizing the display methods of the business datum.
According to another aspect of the present invention, a kind of computer readable storage medium, the computer-readable storage are provided Computer program is stored on medium, and the display methods of the business datum is realized when the computer program is executed by processor The step of.
The embodiment of the present invention includes following advantages:
Configuration script in webpage of the embodiment of the present invention, the script acquire image data, face are read from image data Data, the emotional information of identification human face data expression, so that acquisition and the matched business datum of emotional information, show in webpage The business datum is adapted to corresponding business datum by the mood of real-time detection user, substantially increases the timeliness of business datum Property and the suitability with user, improve the precision of push, user can obtain required business datum, reduce web service The resource occupation of device, user no longer need to search for information in a network manually and are compared, filter, and reduce searching for business datum The operating procedures such as rope, comparison, screening, improve operating efficiency, simultaneously as the operating procedure of user reduces, respond the behaviour The device resource consuming for making step also reduces.
In addition, the configuration script in webpage, complete independently detects the operation of user emotion, simple and convenient, does not depend on calculating Component in machine equipment is detected, and different types of computer equipment can be adapted to.
Detailed description of the invention
Fig. 1 is a kind of step flow chart of the display methods of business datum of one embodiment of the invention;
Fig. 2 is a kind of structural block diagram of the display device of business datum of one embodiment of the invention;
A kind of hardware structural diagram of Fig. 3 computer equipment of each embodiment to realize the present invention.
Specific embodiment
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, with reference to the accompanying drawing and specific real Applying mode, the present invention is described in further detail.
Referring to Fig.1, a kind of step flow chart of the display methods of business datum of one embodiment of the invention is shown, is had Body may include steps of:
S101, load webpage.
In the concrete realization, the embodiment of the present invention can be applied to computer equipment, which may include movement Terminal, as mobile phone, tablet computer, intelligent wearable device (such as VR (Virtual Reality, virtual reality) glasses, the VR helmet, Smartwatch, intelligent glasses) etc., it also may include immobile terminal, such as PC, television set.
In computer equipment, operating system may include Android (Android), iOS, Windows etc., usually can be with The application for supporting operation webpage accessible, for example, browser, immediate communication tool, reader, shopping application etc..
Furthermore, for the application of non-browser, there is Web page-container, the i.e. container of load and displayed web page.
For example, the Web page-container may include WebView control, in Windows system in Android, iOS system In, which may include WebBrowser control etc..
Embodiment in order to enable those skilled in the art to better understand the present invention, in the present specification, using WebView as net A kind of example of page container is illustrated.
In android system, WebView is the view of Java layers of WebKit module (browsing device net page typesetting engine) Class can create the network money that the view object showed and handled request using the Android application program of web browsing function Source.
Currently, WebKit module support HTTP (Hypertext transfer protocol, hypertext transfer protocol), (Hyper Text Transfer Protocol over Secure Socket Layer, is safely for target to HTTPS The channel HTTP), FTP (File Transfer Protoco, File Transfer Protocol) and JS (JavaScript, a kind of literal translation formula Scripting language) request.
UI (User Interface, the user interface) interface of WebView as application program, provides a system for user The web page browsing of column, user's interactive interface, CLIENT PROGRAM access WebKit core code by these interfaces.
In embodiments of the present invention, using the load request that can send webpage to web page server, thus in this application Load webpage.
For example, user can be in the UI of application by clicking some web page element (such as text, picture) containing hyperlink A webpage is opened, alternatively, inputting network address in address field to open webpage etc..
Wherein, the content of load request may include the mark of the webpage of request of loading and/or the feature of webpage.
The banner can be the information that can represent the webpage that one uniquely determines, for example, uniform resource identifier (Uniform Resource Identifier, URI), uniform resource identifier can specifically include uniform resource locator again (Uniform Resource Locator, URL) or uniform resource name (Uniform Resource Name, URN) etc. Deng.
For browser, for accessing URL load webpage, the process for loading webpage be can be such that
1. when detect that user inputs network address (assuming that being html page, and being to access for the first time), using to net Page server issues the webpage of request of loading network address instruction, and web page server returns to corresponding html text;
2. application starts the source code for being loaded into html text, there is a < link > mark when detecting in < head > label When label, then need to quote external CSS file;
3. application issues the request of CSS file to web page server, server returns to corresponding CSS file;
4. application continues the code for being loaded into the part < body > in html text, CSS file is had been received at this time, can be with Start to render webpage;
5. when apply a < img > label is detected in html text when, need to refer to a picture, then to net Page server sends the request to Load Image.At this point, having downloaded using picture is not waited for, and it is to continue with rendering subsequent generation Code;
6. web page server, which returns to picture file, affects the arrangement of subsequent paragraphs since picture occupies certain area, Therefore application renders this partial code again;
7. then being transported immediately when application detects a < script > label comprising a line JavaScript code Row;
8. order application hides some < div in code using JavaScript script execution above-mentioned sentence > (style.display=" none "), due to having lacked < div > element, using rendering this partial code again;
9. rendering is completed when detecting </HTML >;
10. " changing skin " button in interface when the user clicks, JavaScript is allowed using the CSS for having changed < link > label Path;
11. application is using each elements such as < div >, < span >, < ul >, < li >, and to web server request New CSS file, renders the page again.
For Web page-container, by taking WebView as an example, usually webpage can be loaded with the following method:
First method:
1, WebView component: WebView webView=new WebView (this) is instantiated in wanting Activity;
2, by webview.loadUrl (url) method, WevView webpage to be shown is set;
Wherein, which can be the webpage (such as http://www.**.cn, * * are domain name) on network, be also possible to this The webpage (such as file: //sdcard/uc/a.html) on ground can also be the webpage JS method currently loaded (such as Javascript:window.alert ()), etc., the embodiments of the present invention are not limited thereto.
3, setContentView () method of Activity is called to show webpage view;
4, it has been seen after many pages with the link of WebView point in order to allow WebView to support Backward Function, can have been covered OnKeyDown () method of Activity class;
5, permission is added in AndroidManifest.xml file, otherwise will appear Web page not Available mistake.
Second method:
1, WebView is stated in topology file;
2, WebView is instantiated in Activity;
3, loadUrl () method of WebView is called, WevView webpage to be shown is set;
4, in order to allow WebView to be able to respond hyperlink connection function, setWebViewClient () method, setting are called WebView view;
5, it has been seen after many pages with the link of WebView point in order to allow WebView to support Backward Function, can have been covered OnKeyDown () method of Activity class;
6, permission is added in AndroidManifest.xml file, Web page not available otherwise occurs Mistake.
Certainly, above-mentioned webpage loading method is intended only as example, in implementing the embodiments of the present invention, can be according to practical feelings Other webpage loading methods are arranged in condition, and the embodiments of the present invention are not limited thereto.In addition, in addition to above-mentioned webpage loading method Outside, those skilled in the art can also use other webpage loading methods according to actual needs, the embodiment of the present invention to this not yet It limits.
In embodiments of the present invention, there is script in the webpage loaded in the application, such as JS script, load and complete in webpage Afterwards, the script, acquisition and the matched business datum of user's expression are run and is shown in webpage.
S102, image data is acquired by the script.
In computer equipment, it is configured with camera, the script in webpage calls the camera after start-up, acquires Image data in environment.
For mobile terminal, it is configured with the camera shooting of the mostly direction such as preposition camera of camera and postposition Head, it is also possible to the screen configured with main screen, vice screen curtain (such as ink screen) multiple directions, at this point, the script in webpage is adjustable With the screen with display webpage towards identical camera, the image data of the user in environment, comprising browsing the webpage is acquired.
In one preferred embodiment of the invention, S102 includes the following steps:
S1021, preset webpage Real-Time Communication Interface is called to arouse camera, acquisition video data by the script.
In embodiments of the present invention, application configuration has webpage Real-Time Communication Interface, which is one API (the Application Program Interface, using journey of real-time voice dialogue or video conversation is carried out based on webpage Sequence programming interface), no plug-in unit realizes the real time communication of webpage.
For example, the webpage Real-Time Communication Interface can be WebRTC (Web Real-Time Communication) interface.
The webpage Real-Time Communication Interface is called, camera can be aroused, camera acquires video data.
S1022, the media read method in the webpage Real-Time Communication Interface is called to obtain the video by the script Data.
In webpage Real-Time Communication Interface, it is configured with media read method, the media read method is local for obtaining Media.
In different types of browser, which may be different.
For example, for WebRTC, the media read method may include getUserMedia, WebkitGetUserMedia, mozGetUserMedia, etc..
By the media read method, the video data of camera acquisition can be obtained.
S1023, image data is read from the video data by the script.
In video data, include multiple image data, for reduce treating capacity, can each certain frame number (such as 5 frames) it is readable Take a frame image data.
S103, human face data is read from described image data by the script.
In the concrete realization, script can carry out Face datection to the image data, to identify in the image data Human face data, to indicate to browse the user of webpage.
In one preferred embodiment of the invention, the first script bank, the first script bank are configured in the web page, for script In be packaged with Face datection model, which can be used for detecting human face data.
First script bank provides interface, for calling the face detection model.
In the present embodiment, the interface can be called by script, image data is input in the first script bank, to call people Face detection model detects human face data from image data.
In one example, which can be tensorflow.js, and TensorFlow is one based on data The symbolic mathematical system of stream programming (dataflow programming), can be applied to all kinds of machine learning (machine Learning) programming of algorithm realizes that predecessor is neural network algorithm library DistBelief.
In this regard, the interface that first script bank provides can be ace-api.js.
The face detection model can be MTCNN (the deep learning model of Face datection), and the MTCNN is by 3 network knots Structure forms (P-Net, R-Net, O-Net).
Proposal Network (P-Net): the network structure mainly obtains candidate window and the boundary of human face region The regression vector of frame.And returned with the bounding box, candidate window is calibrated, then passes through non-maxima suppression (NMS) To merge the candidate frame of high superposed.
Refine Network (R-Net): the network structure, which is still returned by bounding box with NMS, removes those The region false-positive.
Only because the network structure and P-Net network structure are variant, more full articulamentums, so can obtain more The effect of good inhibition false-positive.
Output Network (O-Net): R-Net layers of the layer ratio and more Liao Yicengjuan bases, so the result meeting of processing It is more fine.Effect is as R-Net layers of effect.But the layer has carried out more supervision to human face region, while can also be defeated 5 terrestrial references (landmark) out.
S104, the emotional information that the human face data expression is identified by the script.
In the concrete realization, script can carry out mood detection to the image data, thus identifying the face tables of data The emotional information reached, such as it is happy, angry, sad, nauseous, do not have expression, the mood of the user to indicate browsing webpage.
In one preferred embodiment of the invention, the second script bank, the crus secunda are configured in the web page, for script Face detection model is packaged in this library, which can be used for detecting the emotional information of face.
In the present embodiment, image data can be input in the second script bank by script, to call face detection model Identify the emotional information of human face data expression.
In one example, which can be face_classification, face_ Classification can not only identify the gender and expression of people in image, at the same time, can also identify the property in video Not and expression.
S105, it obtains and the matched business datum of the emotional information.
In embodiments of the present invention, a variety of labeled business datums suitable for different emotional informations can be collected in advance, true Before settled after the emotional information of the user of browsing webpage, then it can search and the matched business datum of emotional information.
For example, the website of a sale books, can stamp the label for indicating mood to books (business datum), If the emotional information of identification is consistent with label in, the identical books of label can be pushed.
It should be noted that can have different business datums for different business field, that is, there is business neck The object of characteristic of field.
For example, business datum can be news data for news media field;For field of mobile communication Speech, business datum can be mobile communication data;For the field e-commerce (Electronic Commerce, EC), industry Data of being engaged in can be ad data, etc..
Although business datum carries different business feature, its essence is still data, for example, text, image data, Audio data, video data etc..
In one preferred embodiment of the invention, S105 includes the following steps:
S1051, the emotional information is sent to web page server, the web page server is used for from service server The determining address with the matched business datum of the emotional information.
S1052, the address that the web page server is sent is received.
S1053, the address is accessed, to receive and the matched business number of the emotional information from the service server According to.
In embodiments of the present invention, business datum is stored in independent service server, to be managed.
It is sent to web page server using by emotional information, web page server says that the emotional information is forwarded to business service Device, service server is searched from database and the matched business datum of the emotional information, which is sent to The address is sent to application by web page server, web page server, which pulls corresponding business datum from the address.
In another preferred embodiment of the invention, S105 includes the following steps:
The frequency of S1054, statistics preset period interior, each emotional information.
S1055, determine that target emotion information, the target emotion information are the maximum emotional information of the frequency.
S1056, it obtains and the business datums of the target emotion information matches.
Due to one lasting state of mood of user, the same mood may be mistakenly identified as two or more feelings Thread, also, user's possible transition mood still generally only show a batch of business datum in webpage, generally will not be frequent Business datum is replaced, therefore, in a statistics available period, the frequency of each emotional information, with the maximum mood of the frequency Information, as target emotion information, to obtain the business datum with the target emotion information matches.
S106, the business datum is shown in the webpage.
In webpage, it is reserved with the region for showing business datum, it, can be by the business after getting business datum Data are shown in this region.
Configuration script in webpage of the embodiment of the present invention, the script acquire image data, face are read from image data Data, the emotional information of identification human face data expression, so that acquisition and the matched business datum of emotional information, show in webpage The business datum is adapted to corresponding business datum by the mood of real-time detection user, substantially increases the timeliness of business datum Property and the suitability with user, improve the precision of push, user can obtain required business datum, reduce web service The resource occupation of device, user no longer need to search for information in a network manually and are compared, filter, and reduce searching for business datum The operating procedures such as rope, comparison, screening, improve operating efficiency, simultaneously as the operating procedure of user reduces, respond the behaviour The device resource consuming for making step also reduces.
In addition, the configuration script in webpage, complete independently detects the operation of user emotion, simple and convenient, does not depend on calculating Component in machine equipment is detected, and different types of computer equipment can be adapted to.
It should be noted that for simple description, therefore, it is stated as a series of action groups for embodiment of the method It closes, but those skilled in the art should understand that, embodiment of that present invention are not limited by the describe sequence of actions, because according to According to the embodiment of the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art also should Know, the embodiments described in the specification are all preferred embodiments, and the related movement not necessarily present invention is implemented Necessary to example.
Referring to Fig. 2, a kind of structural block diagram of the display device of business datum of one embodiment of the invention is shown, specifically May include following module:
Webpage loading module 201 has script in the webpage for loading webpage;
The script includes:
Image capture module 202, for acquiring image data;
Human face data read module 203, for reading human face data from described image data;
Emotional information identification module 204, the emotional information that the human face data is expressed for identification;
Business datum obtains module 205, for obtaining and the matched business datum of the emotional information;
Business datum display module 206, for showing the business datum in the webpage.
In one preferred embodiment of the invention, described image acquisition module includes:
Video data acquiring submodule, for calling preset webpage Real-Time Communication Interface to arouse camera, acquisition video Data;
Video data acquisition submodule, for calling the media read method in the webpage Real-Time Communication Interface to obtain institute State video data;
Image data reading submodule, for reading image data from the video data by the script.
In one preferred embodiment of the invention, the first script bank is configured in the webpage, for the script, it is described Face datection model is packaged in first script bank;
The human face data read module 203 includes:
First script bank calls submodule, for described image data to be input in first script bank, to call The Face datection model detects human face data from described image data.
In one preferred embodiment of the invention, the second script bank is configured in the webpage, for the script, it is described Face detection model is packaged in second script bank;
The emotional information identification module 204 includes:
Second script bank calls submodule, for described image data to be input in second script bank, to call The face detection model identifies the emotional information of the human face data expression.
In one preferred embodiment of the invention, the business datum acquisition module 205 includes:
Emotional information sending submodule, for the emotional information to be sent to web page server, the web page server For the address with the matched business datum of the emotional information determining from service server;
Address receiving submodule, the address sent for receiving the web page server;
Address accesses submodule, for accessing the address, being believed with receiving from the service server with the mood Cease matched business datum.
In another preferred embodiment of the invention, the business datum acquisition module 205 includes:
Frequency statistics submodule, for counting in the preset period, the frequency of each emotional information;
Target emotion information determines submodule, for determining target emotion information, the target emotion information be the frequency most Big emotional information;
Target emotion acquisition of information submodule, for obtaining and the business datum of the target emotion information matches.
For device embodiment, since it is basically similar to the method embodiment, related so being described relatively simple Place illustrates referring to the part of embodiment of the method.
Configuration script in webpage of the embodiment of the present invention, the script acquire image data, face are read from image data Data, the emotional information of identification human face data expression, so that acquisition and the matched business datum of emotional information, show in webpage The business datum is adapted to corresponding business datum by the mood of real-time detection user, substantially increases the timeliness of business datum Property and the suitability with user, improve the precision of push, user can obtain required business datum, reduce web service The resource occupation of device, user no longer need to search for information in a network manually and are compared, filter, and reduce searching for business datum The operating procedures such as rope, comparison, screening, improve operating efficiency, simultaneously as the operating procedure of user reduces, respond the behaviour The device resource consuming for making step also reduces.
In addition, the configuration script in webpage, complete independently detects the operation of user emotion, simple and convenient, does not depend on calculating Component in machine equipment is detected, and different types of computer equipment can be adapted to.
A kind of hardware structural diagram of Fig. 3 computer equipment of each embodiment to realize the present invention.
The computer equipment 300 includes but is not limited to: radio frequency unit 301, network module 302, audio output unit 303, Input unit 304, sensor 305, display unit 306, user input unit 307, interface unit 308, memory 309, processing The components such as device 310 and power supply 311.It will be understood by those skilled in the art that computer equipment structure shown in Fig. 3 is not The restriction to computer equipment is constituted, computer equipment may include components more more or fewer than diagram, or combine certain Component or different component layouts.In embodiments of the present invention, computer equipment include but is not limited to mobile phone, tablet computer, Laptop, palm PC, car-mounted terminal, wearable device and pedometer etc..
Wherein, processor 310 have script in the webpage for loading webpage;Picture number is acquired by the script According to;Human face data is read from described image data by the script;The feelings of the human face data expression are identified by the script Thread information;It obtains and the matched business datum of the emotional information;The business datum is shown in the webpage.
Configuration script in webpage of the embodiment of the present invention, the script acquire image data, face are read from image data Data, the emotional information of identification human face data expression, so that acquisition and the matched business datum of emotional information, show in webpage The business datum is adapted to corresponding business datum by the mood of real-time detection user, substantially increases the timeliness of business datum Property and the suitability with user, improve the precision of push, user can obtain required business datum, reduce web service The resource occupation of device, user no longer need to search for information in a network manually and are compared, filter, and reduce searching for business datum The operating procedures such as rope, comparison, screening, improve operating efficiency, simultaneously as the operating procedure of user reduces, respond the behaviour The device resource consuming for making step also reduces.
In addition, the configuration script in webpage, complete independently detects the operation of user emotion, simple and convenient, does not depend on calculating Component in machine equipment is detected, and different types of computer equipment can be adapted to.
It should be understood that the embodiment of the present invention in, radio frequency unit 301 can be used for receiving and sending messages or communication process in, signal Send and receive, specifically, by from base station downlink data receive after, to processor 310 handle;In addition, by uplink Data are sent to base station.In general, radio frequency unit 301 includes but is not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 301 can also by wireless communication system and network and other set Standby communication.
Computer equipment provides wireless broadband internet by network module 302 for user and accesses, and such as helps user It sends and receive e-mail, browse webpage and access streaming video etc..
Audio output unit 303 can be received by radio frequency unit 301 or network module 302 or in memory 309 The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 303 can also be provided and be counted The relevant audio output of specific function of the execution of machine equipment 300 is calculated (for example, call signal receives sound, message sink sound etc. Deng).Audio output unit 303 includes loudspeaker, buzzer and receiver etc..
Input unit 304 is for receiving audio or video signal.Input unit 304 may include graphics processor (Graphics Processing Unit, GPU) 3041 and microphone 3042, graphics processor 3041 is in video acquisition mode Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out Reason.Treated, and picture frame may be displayed on display unit 306.Through graphics processor 3041, treated that picture frame can be deposited Storage is sent in memory 309 (or other storage mediums) or via radio frequency unit 301 or network module 302.Mike Wind 3042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be The format output that mobile communication base station can be sent to via radio frequency unit 301 is converted in the case where telephone calling model.
Computer equipment 300 further includes at least one sensor 305, for example, optical sensor, motion sensor and other Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ring The light and shade of border light adjusts the brightness of display panel 3061, proximity sensor can when computer equipment 300 is moved in one's ear, Close display panel 3061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions The size of (generally three axis) acceleration, can detect that size and the direction of gravity, can be used to identify computer equipment when static Posture (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (for example pedometer, strike Hit) etc.;Sensor 305 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, Barometer, hygrometer, thermometer, infrared sensor etc., details are not described herein.
Display unit 306 is for showing information input by user or being supplied to the information of user.Display unit 306 can wrap Display panel 3061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 3061.
User input unit 307 can be used for receiving the number or character information of input, and generate and computer equipment User setting and the related key signals input of function control.Specifically, user input unit 307 include touch panel 3071 with And other input equipments 3072.Touch panel 3071, also referred to as touch screen collect the touch operation of user on it or nearby (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 3071 or in touch panel 3071 Neighbouring operation).Touch panel 3071 may include both touch detecting apparatus and touch controller.Wherein, touch detection Device detects the touch orientation of user, and detects touch operation bring signal, transmits a signal to touch controller;Touch control Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 310, receiving area It manages the order that device 310 is sent and is executed.Furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc. Seed type realizes touch panel 3071.In addition to touch panel 3071, user input unit 307 can also include other input equipments 3072.Specifically, other input equipments 3072 can include but is not limited to physical keyboard, function key (such as volume control button, Switch key etc.), trace ball, mouse, operating stick, details are not described herein.
Further, touch panel 3071 can be covered on display panel 3061, when touch panel 3071 is detected at it On or near touch operation after, send processor 310 to determine the type of touch event, be followed by subsequent processing device 310 according to touching The type for touching event provides corresponding visual output on display panel 3061.Although in Fig. 3, touch panel 3071 and display Panel 3061 is the function that outputs and inputs of realizing computer equipment as two independent components, but in some embodiments In, touch panel 3071 and display panel 3061 can be integrated and be realized the function that outputs and inputs of computer equipment, specifically Herein without limitation.
Interface unit 308 is the interface that external device (ED) is connect with computer equipment 300.For example, external device (ED) may include Wired or wireless headphone port, external power supply (or battery charger) port, wired or wireless data port, storage card Port, port, the port audio input/output (I/O), video i/o port, earphone for connecting the device with identification module Port etc..Interface unit 308 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) simultaneously And by one or more elements that the input received is transferred in computer equipment 300 or it can be used in computer equipment Data are transmitted between 300 and external device (ED).
Memory 309 can be used for storing software program and various data.Memory 309 can mainly include storing program area The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 309 may include high-speed random access memory, it can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 310 is the control centre of computer equipment, utilizes various interfaces and the entire computer equipment of connection Various pieces, by running or execute the software program and/or module that are stored in memory 309, and call and be stored in Data in memory 309 execute the various functions and processing data of computer equipment, to carry out to computer equipment whole Monitoring.Processor 310 may include one or more processing units;Preferably, processor 310 can integrate application processor and modulation Demodulation processor, wherein the main processing operation system of application processor, user interface and application program etc., modulation /demodulation processing Device mainly handles wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 310.
Computer equipment 300 can also include the power supply 311 (such as battery) powered to all parts, it is preferred that power supply 311 can be logically contiguous by power-supply management system and processor 310, thus charged by power-supply management system realization management, The functions such as electric discharge and power managed.
In addition, computer equipment 300 includes some unshowned functional modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of computer equipment, including processor 310, memory 309, storage On memory 309 and the computer program that can run on the processor 310, the computer program are held by processor 310 Each process of the display methods embodiment of above-mentioned business datum is realized when row, and can reach identical technical effect, to avoid It repeats, which is not described herein again.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium Calculation machine program, the computer program realize each mistake of the display methods embodiment of above-mentioned business datum when being executed by processor Journey, and identical technical effect can be reached, to avoid repeating, which is not described herein again.Wherein, the computer-readable storage medium Matter, such as read-only memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), magnetic or disk etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form belongs within protection of the invention.

Claims (10)

1. a kind of display methods of business datum characterized by comprising
Webpage is loaded, there is script in the webpage;
Image data is acquired by the script;
Human face data is read from described image data by the script;
The emotional information of the human face data expression is identified by the script;
It obtains and the matched business datum of the emotional information;
The business datum is shown in the webpage.
2. the method according to claim 1, wherein described acquire image data by the script, comprising:
Preset webpage Real-Time Communication Interface is called to arouse camera, acquisition video data by the script;
The media read method in the webpage Real-Time Communication Interface is called to obtain the video data by the script;
Image data is read from the video data by the script.
3. the method according to claim 1, wherein configuring the first script in the webpage, for the script Library is packaged with Face datection model in first script bank;
It is described to read human face data from described image data by the script, comprising:
Described image data are input in first script bank by the script, to call the Face datection model from institute It states and detects human face data in image data.
4. the method according to claim 1, wherein configuring the second script in the webpage, for the script Library is packaged with face detection model in second script bank;
The emotional information that the human face data expression is identified by the script, comprising:
Described image data are input in second script bank by the script, to call the face detection model to identify The emotional information of the human face data expression.
5. method according to claim 1-4, which is characterized in that the acquisition is matched with the emotional information Business datum, comprising:
The emotional information is sent to web page server, the web page server be used to determine from service server with it is described The address of the matched business datum of emotional information;
Receive the address that the web page server is sent;
Access the address, to receive and the matched business datum of the emotional information from the service server.
6. method described in -4 according to claim 1, which is characterized in that the acquisition and the matched business number of the emotional information According to, comprising:
It counts in the preset period, the frequency of each emotional information;
Determine that target emotion information, the target emotion information are the maximum emotional information of the frequency;
Obtain the business datum with the target emotion information matches.
7. a kind of display device of business datum characterized by comprising
Webpage loading module has script in the webpage for loading webpage;
The script includes:
Image capture module, for acquiring image data;
Human face data read module, for reading human face data from described image data;
Emotional information identification module, the emotional information that the human face data is expressed for identification;
Business datum obtains module, for obtaining and the matched business datum of the emotional information;
Business datum display module, for showing the business datum in the webpage.
8. device according to claim 7, which is characterized in that described image acquisition module includes:
Video data acquiring submodule, for calling preset webpage Real-Time Communication Interface to arouse camera, acquisition video data;
Video data acquisition submodule, for calling the media read method in the webpage Real-Time Communication Interface to obtain the view Frequency evidence;
Image data reading submodule, for reading image data from the video data by the script.
9. a kind of computer equipment, which is characterized in that including processor, memory and be stored on the memory and can be in institute The computer program run on processor is stated, such as claim 1 to 6 is realized when the computer program is executed by the processor Any one of described in business datum display methods the step of.
10. a kind of computer readable storage medium, which is characterized in that store computer journey on the computer readable storage medium Sequence realizes the display such as business datum described in any one of claims 1 to 6 when the computer program is executed by processor The step of method.
CN201910433005.6A 2019-05-23 2019-05-23 A kind of display methods of business datum, device, computer equipment and storage medium Pending CN110245291A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910433005.6A CN110245291A (en) 2019-05-23 2019-05-23 A kind of display methods of business datum, device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910433005.6A CN110245291A (en) 2019-05-23 2019-05-23 A kind of display methods of business datum, device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN110245291A true CN110245291A (en) 2019-09-17

Family

ID=67884888

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910433005.6A Pending CN110245291A (en) 2019-05-23 2019-05-23 A kind of display methods of business datum, device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110245291A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110825230A (en) * 2019-11-05 2020-02-21 深圳市奥拓电子股份有限公司 Bank user guiding method, system and storage medium based on scene cognition
CN113542906A (en) * 2021-07-20 2021-10-22 山东新一代信息产业技术研究院有限公司 RTSP video-based webpage plug-in-free playing method
CN116595284A (en) * 2023-07-13 2023-08-15 太平金融科技服务(上海)有限公司 Webpage system operation method, device, equipment, storage medium and program
WO2024065234A1 (en) * 2022-09-28 2024-04-04 Citrix Systems, Inc. Automation of repeated user operations

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104065683A (en) * 2013-03-21 2014-09-24 联想(北京)有限公司 Remote control method and local device
CN104298682A (en) * 2013-07-18 2015-01-21 广州华久信息科技有限公司 Information recommendation effect evaluation method and mobile phone based on facial expression images
US20160154825A1 (en) * 2014-11-27 2016-06-02 Inventec (Pudong) Technology Corporation Emotion image recommendation system and method thereof
CN106919598A (en) * 2015-12-24 2017-07-04 广州市动景计算机科技有限公司 Webpage content display method and system
CN109360149A (en) * 2018-09-25 2019-02-19 平安普惠企业管理有限公司 A kind of picture upload method, system and terminal device
CN109447729A (en) * 2018-09-17 2019-03-08 平安科技(深圳)有限公司 A kind of recommended method of product, terminal device and computer readable storage medium
CN109508638A (en) * 2018-10-11 2019-03-22 平安科技(深圳)有限公司 Face Emotion identification method, apparatus, computer equipment and storage medium
CN109559193A (en) * 2018-10-26 2019-04-02 深圳壹账通智能科技有限公司 Product method for pushing, device, computer equipment and the medium of intelligent recognition
CN109583970A (en) * 2018-12-14 2019-04-05 深圳壹账通智能科技有限公司 Advertisement placement method, device, computer equipment and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104065683A (en) * 2013-03-21 2014-09-24 联想(北京)有限公司 Remote control method and local device
CN104298682A (en) * 2013-07-18 2015-01-21 广州华久信息科技有限公司 Information recommendation effect evaluation method and mobile phone based on facial expression images
US20160154825A1 (en) * 2014-11-27 2016-06-02 Inventec (Pudong) Technology Corporation Emotion image recommendation system and method thereof
CN106919598A (en) * 2015-12-24 2017-07-04 广州市动景计算机科技有限公司 Webpage content display method and system
CN109447729A (en) * 2018-09-17 2019-03-08 平安科技(深圳)有限公司 A kind of recommended method of product, terminal device and computer readable storage medium
CN109360149A (en) * 2018-09-25 2019-02-19 平安普惠企业管理有限公司 A kind of picture upload method, system and terminal device
CN109508638A (en) * 2018-10-11 2019-03-22 平安科技(深圳)有限公司 Face Emotion identification method, apparatus, computer equipment and storage medium
CN109559193A (en) * 2018-10-26 2019-04-02 深圳壹账通智能科技有限公司 Product method for pushing, device, computer equipment and the medium of intelligent recognition
CN109583970A (en) * 2018-12-14 2019-04-05 深圳壹账通智能科技有限公司 Advertisement placement method, device, computer equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
WEIXIN_40659738: "在网页中调用摄像头实现拍照上传 - 高拍仪二次开发", 《HTTPS://BLOG.CSDN.NET/WEIXIN_40659738/ARTICLE/DETAILS/78252562》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110825230A (en) * 2019-11-05 2020-02-21 深圳市奥拓电子股份有限公司 Bank user guiding method, system and storage medium based on scene cognition
CN113542906A (en) * 2021-07-20 2021-10-22 山东新一代信息产业技术研究院有限公司 RTSP video-based webpage plug-in-free playing method
WO2024065234A1 (en) * 2022-09-28 2024-04-04 Citrix Systems, Inc. Automation of repeated user operations
CN116595284A (en) * 2023-07-13 2023-08-15 太平金融科技服务(上海)有限公司 Webpage system operation method, device, equipment, storage medium and program
CN116595284B (en) * 2023-07-13 2023-10-03 太平金融科技服务(上海)有限公司 Webpage system operation method, device, equipment, storage medium and program

Similar Documents

Publication Publication Date Title
CN110245291A (en) A kind of display methods of business datum, device, computer equipment and storage medium
CN106708496B (en) Processing method and device for label page in graphical interface
CN109445894A (en) A kind of screenshot method and electronic equipment
CN110933511B (en) Video sharing method, electronic device and medium
CN107846352A (en) A kind of method for information display, mobile terminal
CN108090126A (en) Image processing method, device and mobile terminal, image-recognizing method and server
CN107885512B (en) A kind of application program installation method, mobile terminal
CN108287919A (en) Access method, device, storage medium and the electronic equipment of web application
CN108153778A (en) Webpage store method, webpage read method and device
CN111327768B (en) Display control method, electronic device, and computer-readable storage medium
CN107885799A (en) Info web display methods and device
WO2015003636A1 (en) Method and device for interception of page elements
CN107992615B (en) Website recommendation method, server and terminal
CN110990679A (en) Information searching method and electronic equipment
CN109344125A (en) A kind of file name update method and terminal device
CN110069675A (en) A kind of search method and mobile terminal
CN109670105B (en) Searching method and mobile terminal
CN109063079B (en) Webpage labeling method and electronic equipment
CN110162707A (en) A kind of information recommendation method, terminal and computer readable storage medium
CN111752688B (en) Data acquisition method and device, electronic equipment and storage medium
CN108459813A (en) A kind of searching method and mobile terminal
CN109145182A (en) Collecting method, device, computer equipment and system
CN109948095B (en) Method, device, terminal and storage medium for displaying webpage content
CN110472148A (en) Using recommended method and terminal device
CN110045892A (en) Display methods and terminal device

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190917