CN116468003A - Text display method, device, equipment and storage medium - Google Patents

Text display method, device, equipment and storage medium Download PDF

Info

Publication number
CN116468003A
CN116468003A CN202310470757.6A CN202310470757A CN116468003A CN 116468003 A CN116468003 A CN 116468003A CN 202310470757 A CN202310470757 A CN 202310470757A CN 116468003 A CN116468003 A CN 116468003A
Authority
CN
China
Prior art keywords
information
user
text display
terminal equipment
display value
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
CN202310470757.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.)
Bank of China Ltd
Original Assignee
Bank of China 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 Bank of China Ltd filed Critical Bank of China Ltd
Priority to CN202310470757.6A priority Critical patent/CN116468003A/en
Publication of CN116468003A publication Critical patent/CN116468003A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/103Formatting, i.e. changing of presentation of documents
    • G06F40/109Font handling; Temporal or kinetic typography
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/0464Convolutional networks [CNN, ConvNet]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/70Arrangements for image or video recognition or understanding using pattern recognition or machine learning
    • G06V10/77Processing image or video features in feature spaces; using data integration or data reduction, e.g. principal component analysis [PCA] or independent component analysis [ICA] or self-organising maps [SOM]; Blind source separation
    • G06V10/80Fusion, i.e. combining data from various sources at the sensor level, preprocessing level, feature extraction level or classification level
    • G06V10/806Fusion, i.e. combining data from various sources at the sensor level, preprocessing level, feature extraction level or classification level of extracted features
    • 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/168Feature extraction; Face representation

Abstract

According to the text display method, device, equipment and storage medium, data information of a user currently logging in terminal equipment is obtained; the data information comprises terminal equipment information, application information and login information of a user; according to the login information of the user, acquiring characteristic information associated with the login information of the user on a blockchain; receiving triggering operation, and starting a camera of the terminal equipment to acquire facial information of a user; and inputting the face information, the characteristic information and the data information into the text display model according to the face information of the user, and outputting a text display value. By adopting the technical scheme, the user does not need to adjust the font style by himself, and the font style can be flexibly adjusted according to the current situation.

Description

Text display method, device, equipment and storage medium
Technical Field
The present disclosure relates to the field of data information processing technologies, and in particular, to a text display method, apparatus, device, and storage medium.
Background
At present, in the related applications or services of banks used by us, including online banking, mobile banking, micro banking, intelligent counter, online customer service and the like, due to the limitation of the screen size of terminal equipment and the influence of factors such as related business scene operation description, in order to reasonably display business contents in a full screen, generally set fonts are relatively smaller and the fonts are fixed, and for some special users or users habitually used to a certain font, the display suitability is not high.
Currently, fonts displayed by a terminal device need to be adjusted in real time by a user, so that a text display method is needed, which can be used for automatically adjusting the font style without the need of the user, and can be flexibly adjusted according to the current situation.
Disclosure of Invention
The application provides a text display method, a text display device, text display equipment and a storage medium, which can be used for flexibly adjusting font styles according to the current situation without the need of a user to adjust the font styles by himself.
In a first aspect, the present application provides a text display method, the method including:
acquiring data information of a user currently logging in terminal equipment; the data information comprises terminal equipment information, application information and login information of a user;
according to the login information of the user, acquiring characteristic information associated with the login information of the user on a blockchain;
receiving triggering operation, and starting a camera of the terminal equipment to acquire face information of a user; the triggering operation is used for indicating to start the camera of the terminal equipment;
inputting the face information, the characteristic information and the data information into a text display model according to the face information of the user, and outputting a text display value; the text display value is used for representing the style of the text displayed by the terminal equipment which the user logs in currently; the text display model is used for predicting text display values.
In one example, the inputting the face information, the feature information, and the data information into a text display model according to the face information of the user, outputting a text display value, includes:
extracting fusion characteristic vector values of the face information, the characteristic information and the data information based on a convolution layer of the text display model;
classifying the fusion feature vector values based on a classifier in the text display model to obtain classification results;
and outputting a text display value according to the classification result.
In one example, the extracting, based on the convolution layer of the text display model, a fused feature vector value of the face information and the feature information includes:
extracting a first feature vector of the face information, a second feature vector of the feature information and a third feature vector of the data information based on a convolution layer of the text display model;
and carrying out normalization processing on the first feature vector, the second feature vector and the third feature vector, and then splicing to obtain the fusion feature vector value.
In one example, the method further comprises:
And after the text display value is associated with the login information of the user, uploading the text display value to the blockchain.
In one example, after the uploading to the blockchain, further comprising:
responding to first indication information of a user, and acquiring data information of the user logging in the terminal equipment; the data information comprises terminal equipment information, application information and login information of a user;
searching the text display value associated with the login information of the user on the blockchain according to the login information of the user;
and feeding the text display value back to the terminal equipment, and determining whether to display the text display value in the application according to second indication information of a user.
In one example, after determining whether to display the text display value in the application according to the second instruction information of the user, the method further includes:
if the second indication message is that the text display value is determined to be displayed in the application, the text display value is displayed in the application;
and if the second indication message does not display the text display value in the application, displaying a standard display value in the application, and uploading the current use record into the blockchain.
In one example, before the obtaining, on the blockchain, the feature information associated with the login information of the user, further includes:
acquiring a historical use record of login information of the user and a user portrait, and generating the characteristic information; the history use record comprises an interaction record of the user with the terminal equipment and a history text display value.
In a second aspect, the present application provides a text display device, the device comprising:
the first acquisition unit is used for acquiring data information of the current login terminal equipment of the user; the data information comprises terminal equipment information, application information and login information of a user;
the second acquisition unit is used for acquiring characteristic information associated with the login information of the user on a blockchain according to the login information of the user;
the starting unit is used for receiving triggering operation and starting a camera of the terminal equipment so as to acquire face information of a user; the triggering operation is used for indicating to start the camera of the terminal equipment;
the input unit is used for inputting the face information, the characteristic information and the data information into a text display model according to the face information of the user and outputting a text display value; the text display value is used for representing the style of the text displayed by the terminal equipment which the user logs in currently; the text display model is used for predicting text display values.
In one example, an input unit includes:
the extraction module is used for extracting the fusion characteristic vector values of the face information, the characteristic information and the data information based on the convolution layer of the text display model;
the classification module is used for classifying the fusion feature vector values based on the classifier in the text display model to obtain classification results;
and the output module is used for outputting a text display value according to the classification result.
In one example, the extraction module includes:
an extraction sub-module, configured to extract a first feature vector of the face information, extract a second feature vector of the feature information, and extract a third feature vector of the data information based on a convolution layer of the text display model;
and the splicing sub-module is used for splicing the first feature vector, the second feature vector and the third feature vector after normalization processing to obtain the fusion feature vector value.
In one example, the apparatus further comprises:
and the uploading unit is used for uploading the text display value to the blockchain after correlating the text display value with the login information of the user.
In one example, the apparatus further comprises:
The third acquisition unit is used for responding to the first indication information of the user and acquiring the data information of the user logging in the terminal equipment; the data information comprises terminal equipment information, application information and login information of a user;
the searching unit is used for searching the text display value associated with the login information of the user on the blockchain according to the login information of the user;
and the determining unit is used for feeding back the text display value to the terminal equipment and determining whether the text display value is displayed in the application according to second instruction information of a user.
In one example, the apparatus further comprises:
a first display unit configured to display the text display value in the application if the second instruction message is a determination to display the text display value in the application;
and the second display unit is used for displaying a standard display value in the application and uploading the current use record to the blockchain if the second indication message is that the text display value is not displayed in the application.
In one example, the apparatus further comprises:
the generating unit is used for acquiring the historical use record of the login information of the user and the user portrait and generating the characteristic information; the history use record comprises an interaction record of the user with the terminal equipment and a history text display value.
In a third aspect, the present application provides a terminal device, including: a processor, and a memory communicatively coupled to the processor;
the memory stores computer-executable instructions;
the processor executes computer-executable instructions stored in the memory to implement the method as described in the first aspect.
In a fourth aspect, the present application provides a computer-readable storage medium having stored therein computer-executable instructions for performing the method according to the first aspect when executed by a processor.
In a fifth aspect, the present application provides a computer program product comprising a computer program which, when executed by a processor, implements the method according to the first aspect.
According to the text display method, device, equipment and storage medium, data information of a user currently logging in terminal equipment is obtained; the data information comprises terminal equipment information, application information and login information of a user; according to the login information of the user, acquiring characteristic information associated with the login information of the user on a blockchain; receiving triggering operation, and starting a camera of the terminal equipment to acquire face information of a user; the triggering operation is used for indicating to start the camera of the terminal equipment; inputting the face information, the characteristic information and the data information into a text display model according to the face information of the user, and outputting a text display value; the text display value is used for representing the style of the text displayed by the terminal equipment which the user logs in currently; the text display model is used for predicting text display values. By adopting the technical scheme, the user does not need to adjust the font style by himself, and the font style can be flexibly adjusted according to the current situation.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
Fig. 1 is a flow chart of a text display method according to an embodiment of the present application;
fig. 2 is a flow chart of a text display method according to a second embodiment of the present application;
fig. 3 is a schematic structural view of a text display device according to a third embodiment of the present application;
fig. 4 is a schematic structural view of a text display device according to a fourth embodiment of the present application;
fig. 5 is a block diagram of a terminal device according to an exemplary embodiment.
Specific embodiments thereof have been shown by way of example in the drawings and will herein be described in more detail. These drawings and the written description are not intended to limit the scope of the inventive concepts in any way, but to illustrate the concepts of the present application to those skilled in the art by reference to specific embodiments.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present application as detailed in the accompanying claims.
The application provides a text display method, a text display device, text display equipment and a storage medium, and aims to solve the technical problems in the prior art.
The following describes the technical solutions of the present application and how the technical solutions of the present application solve the above technical problems in detail with specific embodiments. The following embodiments may be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
Fig. 1 is a flowchart of a text display method according to an embodiment of the present application. The first embodiment comprises the following steps:
s101, acquiring data information of a user currently logging in terminal equipment; the data information comprises terminal equipment information, application information and login information of a user.
In this embodiment, the terminal device information may be bank counter information or intelligent terminal device information, where the intelligent terminal device information may be tablet computer information, mobile phone information or computer information. The application information can be online banking, mobile phone banking, micro banking and online customer service. The login information of the user is account information of the user and password information of the user.
S102, according to the login information of the user, acquiring the characteristic information related to the login information of the user on the blockchain.
In this embodiment, the feature information is age information of the user or occupation information of the user. The blockchain stores login information of a plurality of users and characteristic information related to the login information of the users, and specifically, the login information and the characteristic information can exist in a form of a table. In this embodiment, the login information of the user may be the ID of the user, and the login information of the user may be compared with the table on the blockchain to find the feature information associated with the login information of the user.
S103, receiving triggering operation, and starting a camera of the terminal equipment to acquire face information of a user; the triggering operation is used for indicating to start the camera of the terminal equipment.
In one example, the trigger operation may be a fingerprint operation, a gesture operation, or a voice operation. And starting the camera through triggering operation, and further acquiring the facial information of the user. The face information of the user comprises the lens matching condition of the user, and specifically, the face information of the user comprises whether the user wears glasses or not.
S104, inputting face information, feature information and data information into a text display model according to the face information of the user, and outputting a text display value; the text display value is used for representing the style of the text displayed by the terminal equipment which the user logs in currently; the text display model is used to predict text display values.
In this embodiment, the text display value is used to characterize a style of text displayed by the terminal device currently logged in by the user, where the style of text includes a font size and a font shape of the text. Specifically, the font size may be 20. The font shape may be Song Ti. In this embodiment, the text display model is trained in advance, and the text display value can be directly predicted.
According to the text display method, data information of a user currently logging in terminal equipment is obtained; the data information comprises terminal equipment information, application information and login information of a user; according to the login information of the user, acquiring characteristic information associated with the login information of the user on a blockchain; receiving triggering operation, and starting a camera of the terminal equipment to acquire facial information of a user; the triggering operation is used for indicating to start the camera of the terminal equipment; inputting the face information, the characteristic information and the data information into a text display model according to the face information of the user, and outputting a text display value; the text display value is used for representing the style of the text displayed by the terminal equipment which the user logs in currently; the text display model is used to predict text display values. By adopting the technical scheme, the user does not need to adjust the font style by himself, and the font style can be flexibly adjusted according to the current situation.
Fig. 2 is a flowchart of a method for generating event document information according to a second embodiment of the present application. The second embodiment includes the following steps:
s201, acquiring data information of a user currently logging in terminal equipment; the data information comprises terminal equipment information, application information and login information of a user.
For example, this step may refer to step S101, and will not be described in detail.
S202, according to login information of a user, acquiring characteristic information associated with the login information of the user on a blockchain.
For example, this step may refer to step S102, and will not be described in detail.
S203, receiving triggering operation, and starting a camera of the terminal equipment to acquire face information of a user; the triggering operation is used for indicating to start the camera of the terminal equipment.
For example, this step may refer to step S103, and will not be described in detail.
S204, extracting fusion characteristic vector values of face information, characteristic information and data information based on a convolution layer of the text display model.
Illustratively, the fused feature vector value can characterize common features of the face information, the feature information, and the data information, wherein the weight information of the face information, the weight information of the feature information, and the weight information of the data information are different and can be set according to user requirements.
In one example, extracting a fused feature vector value of facial information and feature information based on a convolution layer of a text display model includes:
extracting a first feature vector of the face information, a second feature vector of the feature information and a third feature vector of the data information based on a convolution layer of the text display model;
and carrying out normalization processing on the first feature vector, the second feature vector and the third feature vector, and then splicing to obtain a fusion feature vector value.
In this embodiment, the first feature vectors obtained by interaction with different convolution kernels are compared with each other to determine which convolution kernel is the most likely feature of the face information, for example, to identify the curve feature of the face information, and this convolution kernel has a high output value for this curve, and has a lower output for other shapes, such as triangles. The higher the output value of the convolution layer, the higher the matching degree, and the more the facial information can be characterized. The second feature vector is similar to the third feature vector and will not be described in detail herein.
S205, classifying the fusion feature vector values based on a classifier in the text display model to obtain a classification result.
In this embodiment, the classifier may be a gradient-lifting decision tree model (Gradient Boosting Decision Tree, GBDT for short). The principle of GBDT is simple, that is, the sum of the results of all weak classifiers is equal to the predicted value, and then the next weak classifier fits the residual of the error function to the predicted value (this residual is the error between the predicted value and the true value).
S206, outputting a text display value according to the classification result.
In this embodiment, according to the classification result, a text display value is output, for example, if the classification result is that the font belongs to No. 5 Song Ti, the text display value is output as No. 5 Song Ti.
S207, after the text display value is correlated with login information of the user, the text display value is uploaded to the blockchain.
In this embodiment, after binding or mapping the text display value with the login information of the user, the blockchain is uploaded.
S208, responding to the first indication information of the user, and acquiring data information of the user logging in the terminal equipment; the data information comprises terminal equipment information, application information and login information of a user.
In this embodiment, the first indication message may be a gesture operation, so as to obtain data information of the user logging in the terminal device.
S209, searching a text display value associated with the login information of the user on the blockchain according to the login information of the user.
In this embodiment, the blockchain stores login information of a plurality of users and text display values related to the login information of the users, and specifically, the blockchain may exist in a table form. In this embodiment, the login information of the user may be the ID of the user, and the login information of the user may be compared with the table on the blockchain to find the text display value associated with the login information of the user.
And S210, feeding back the text display value to the terminal equipment, and determining whether to display the text display value in the application according to second indication information of the user.
In this embodiment, the second indication message of the user is used to indicate whether the user has a need for a text display value. Specifically, the text display value may be fed back to the terminal device by using a popup prompt message.
In one example, after determining whether to display the text display value in the application according to the second instruction information of the user, further comprising:
if the second indication message is that the text display value is determined to be displayed in the application, the text display value is displayed in the application;
if the second indication message is that the text display value is not displayed in the application, the standard display value is displayed in the application, and the current use record is uploaded into the blockchain.
In this embodiment, if the second indication message is to determine that the text display value is displayed in the application, it indicates that the user needs to adjust currently. If the second indication message is that the text display value is not displayed in the application, the user is not required to be adjusted currently, and the usage record which is not required to be adjusted currently is uploaded to the blockchain, so that the user is prevented from frequently sending the second indication message subsequently.
In one example, before obtaining the feature information associated with the login information of the user on the blockchain, further comprising:
acquiring a historical use record of login information of a user and a user portrait, and generating feature information; the history use record comprises an interaction record of the user and the terminal equipment and a history text display value.
In this embodiment, the history use is recorded as whether or not the user has logged in through the senile system and mentioned font setting, and whether or not the related problem of text display has been consulted when interacting with the terminal device. The user profile includes the user's usage habits, the age of the user, and the like.
In this embodiment, the processes of collecting, storing, using, processing, transmitting, providing, disclosing and the like of the related information such as financial data or user data all conform to the rules of the related laws and regulations and do not violate the popular regulations of the public order.
According to the text display method, the text display value associated with the login information of the user is searched on the blockchain according to the login information of the user, the text display value is fed back to the terminal equipment, and whether the text display value is displayed in the application is determined according to the second indication information of the user. By adopting the technical scheme, the visual display requirements of some special users can be better met, and the user experience is improved.
Fig. 3 is a schematic structural diagram of a text display device according to a third embodiment of the present application. Specifically, the apparatus 30 of the third embodiment includes:
a first obtaining unit 301, configured to obtain data information of a user currently logging in a terminal device; the data information comprises terminal equipment information, application information and login information of a user.
The second obtaining unit 302 is configured to obtain, on the blockchain, feature information associated with login information of the user according to the login information of the user.
An opening unit 303, configured to receive a triggering operation, and open a camera of the terminal device to obtain facial information of a user; the triggering operation is used for indicating to start the camera of the terminal equipment.
An input unit 304 for inputting face information, feature information, and data information to the text display model according to the face information of the user, and outputting a text display value; the text display value is used for representing the style of the text displayed by the terminal equipment which the user logs in currently; the text display model is used to predict text display values.
It will be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working process of the above-described apparatus may refer to the corresponding process in the foregoing method embodiment, which is not repeated herein.
Fig. 4 is a schematic structural diagram of a text display device according to a fourth embodiment of the present application. Specifically, the apparatus 40 of the fourth embodiment includes:
a first obtaining unit 401, configured to obtain data information of a user currently logging in a terminal device; the data information comprises terminal equipment information, application information and login information of a user;
a second obtaining unit 402, configured to obtain, on a blockchain, feature information associated with login information of a user according to the login information of the user;
an opening unit 403, configured to receive a triggering operation, and open a camera of the terminal device to obtain facial information of a user; the triggering operation is used for indicating to start the camera of the terminal equipment;
an input unit 404 for inputting face information, feature information, and data information to the text display model according to the face information of the user, and outputting a text display value; the text display value is used for representing the style of the text displayed by the terminal equipment which the user logs in currently; the text display model is used to predict text display values.
In one example, the input unit 404 includes:
an extraction module 4041, configured to extract a fused feature vector value of the face information, the feature information, and the data information based on a convolution layer of the text display model;
The classification module 4042 is configured to classify the fused feature vector value based on a classifier in the text display model, to obtain a classification result;
and an output module 4043 for outputting the text display value according to the classification result.
In one example, the extraction module 4041 includes:
an extraction submodule 40411 configured to extract a first feature vector of face information, extract a second feature vector of feature information, and extract a third feature vector of data information based on a convolution layer of the text display model;
and the splicing submodule 40412 is used for carrying out normalization processing on the first feature vector, the second feature vector and the third feature vector and then splicing to obtain a fusion feature vector value.
In one example, the apparatus 40 further comprises:
and the uploading unit 405 is configured to associate the text display value with the login information of the user and upload the text display value to the blockchain.
In one example, the apparatus 40 further comprises:
a third obtaining unit 406, configured to obtain, in response to the first indication information of the user, data information of the user logging into the terminal device; the data information comprises terminal equipment information, application information and login information of a user;
a searching unit 407, configured to search, according to the login information of the user, a text display value associated with the login information of the user on the blockchain;
And a determining unit 408, configured to feed back the text display value to the terminal device, and determine whether to display the text display value in the application according to the second instruction information of the user.
In one example, the apparatus 40 further comprises:
a first display unit 409 configured to display the text display value in the application if the second indication message is determined to display the text display value in the application;
and a second display unit 410, configured to display the standard display value in the application if the second indication message indicates that the text display value is not displayed in the application, and upload the current usage record into the blockchain.
In one example, the apparatus 40 further comprises:
a generating unit 411 for acquiring a history of use record of login information of a user and a user portrait, and generating feature information; the history use record comprises an interaction record of the user and the terminal equipment and a history text display value.
It will be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working process of the above-described apparatus may refer to the corresponding process in the foregoing method embodiment, which is not repeated herein.
Fig. 5 is a block diagram of a terminal device, which may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, exercise device, personal digital assistant, or the like, in accordance with an exemplary embodiment.
Terminal device 500 may include one or more of the following components: a processing component 502, a memory 504, a power supply component 506, a multimedia component 508, an audio component 510, an input/output (I/O) interface 512, a sensor component 514, and a communication component 516.
The processing component 502 generally controls overall operation of the terminal device 500, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 502 may include one or more processors 520 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 502 can include one or more modules that facilitate interactions between the processing component 502 and other components. For example, the processing component 502 can include a multimedia module to facilitate interaction between the multimedia component 508 and the processing component 502.
The memory 504 is configured to store various types of data to support operations at the terminal device 500. Examples of such data include instructions for any application or method operating on the terminal device 500, contact data, phonebook data, messages, pictures, video, and the like. The memory 504 may be implemented by any type or combination of volatile or nonvolatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
The power supply component 506 provides power to the various components of the terminal device 500. The power components 506 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the terminal device 500.
The multimedia component 508 includes a screen between the terminal device 500 and the user that provides an output interface. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or slide action, but also the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 508 includes a front-facing camera and/or a rear-facing camera. The front camera and/or the rear camera may receive external multimedia data when the terminal device 500 is in an operation mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
The audio component 510 is configured to output and/or input audio signals. For example, the audio component 510 includes a Microphone (MIC) configured to receive external audio signals when the terminal device 500 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may be further stored in the memory 504 or transmitted via the communication component 516. In some embodiments, the audio component 510 further comprises a speaker for outputting audio signals.
The I/O interface 512 provides an interface between the processing component 502 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: homepage button, volume button, start button, and lock button.
The sensor assembly 514 includes one or more sensors for providing status assessment of various aspects of the terminal device 500. For example, the sensor assembly 514 may detect the on/off state of the terminal device 500, the relative positioning of the components, such as the display and keypad of the terminal device 500, the sensor assembly 514 may also detect the change in position of the terminal device 500 or a component of the terminal device 500, the presence or absence of a user's contact with the terminal device 500, the orientation or acceleration/deceleration of the terminal device 500, and the change in temperature of the terminal device 500. The sensor assembly 514 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 514 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 514 may also include an acceleration sensor, a gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 516 is configured to facilitate communication between the terminal device 500 and other devices, either wired or wireless. The terminal device 500 may access a wireless network based on a communication standard, such as WiFi,2G or 3G, or a combination thereof. In one exemplary embodiment, the communication component 516 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 516 further includes a Near Field Communication (NFC) module to facilitate short range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the terminal device 500 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic elements for executing the methods described above.
In an exemplary embodiment, a non-transitory computer readable storage medium is also provided, such as memory 504, including instructions executable by processor 520 of terminal device 500 to perform the above-described method. For example, the non-transitory computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
A non-transitory computer readable storage medium, which when executed by a processor of a terminal device, causes the terminal device to perform the above-described text display method of the terminal device.
The application also discloses a computer program product comprising a computer program which, when executed by a processor, implements a method as described in the present embodiment.
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for carrying out methods of the present application may be written in any combination of one or more programming languages. These program code may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus such that the program code, when executed by the processor or controller, causes the functions/operations specified in the flowchart and/or block diagram to be implemented. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or terminal device.
In the context of this application, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and pointing device (e.g., a mouse or trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data terminal device), or that includes a middleware component (e.g., an application terminal device), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), and the internet.
The computer system may include a client and a terminal device. The client and the terminal device are typically remote from each other and typically interact through a communication network. The relationship of client and terminal devices arises by virtue of computer programs running on the respective computers and having a client-terminal device relationship to each other. The terminal equipment can be cloud terminal equipment, also called cloud computing terminal equipment or cloud host, is a host product in a cloud computing service system, and solves the defects of high management difficulty and weak service expansibility in the traditional physical host and VPS service (Virtual Private Server or simply 'VPS'). The terminal device may also be a terminal device of a distributed system or a terminal device incorporating a blockchain. It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps described in the present application may be performed in parallel, sequentially, or in a different order, provided that the desired results of the technical solutions disclosed in the present application can be achieved, and are not limited herein.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the application following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the application pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It is to be understood that the present application is not limited to the precise arrangements and instrumentalities shown in the drawings, which have been described above, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (11)

1. A text display method, the method comprising:
acquiring data information of a user currently logging in terminal equipment; the data information comprises terminal equipment information, application information and login information of a user;
according to the login information of the user, acquiring characteristic information associated with the login information of the user on a blockchain; the characteristic information represents age information of the user or occupation information of the user;
receiving triggering operation, and starting a camera of the terminal equipment to acquire face information of a user; the triggering operation is used for indicating to start the camera of the terminal equipment;
inputting the face information, the characteristic information and the data information into a text display model according to the face information of the user, and outputting a text display value; the text display value is used for representing the style of the text displayed by the terminal equipment which the user logs in currently; the text display model is used for predicting text display values.
2. The method of claim 1, wherein the inputting the face information, the feature information, and the data information into a text display model according to the face information of the user, outputting a text display value, comprises:
extracting fusion feature vector values of the face information, the feature information and the data information based on a convolution layer of the text display model;
classifying the fusion feature vector values based on a classifier in the text display model to obtain classification results;
and outputting a text display value according to the classification result.
3. The method of claim 2, wherein the extracting the fused feature vector value of the face information and the feature information based on the convolution layer of the text display model comprises:
extracting a first feature vector of the face information, a second feature vector of the feature information and a third feature vector of the data information based on a convolution layer of the text display model;
and carrying out normalization processing on the first feature vector, the second feature vector and the third feature vector, and then splicing to obtain the fusion feature vector value.
4. The method according to claim 1, wherein the method further comprises:
and after the text display value is associated with the login information of the user, uploading the text display value to the blockchain.
5. The method of claim 4, further comprising, after the uploading to the blockchain:
responding to first indication information of a user, and acquiring data information of the user logging in the terminal equipment; the data information comprises terminal equipment information, application information and login information of a user;
searching the text display value associated with the login information of the user on the blockchain according to the login information of the user;
and feeding the text display value back to the terminal equipment, and determining whether to display the text display value in the application according to second indication information of a user.
6. The method of claim 5, wherein the determining whether to display the text display value in the application according to the second indication information of the user further comprises:
if the second indication message is that the text display value is determined to be displayed in the application, the text display value is displayed in the application;
And if the second indication message does not display the text display value in the application, displaying a standard display value in the application, and uploading the current use record into the blockchain.
7. The method of claim 1, further comprising, prior to the obtaining, on the blockchain, feature information associated with the user's login information:
acquiring a historical use record of login information of the user and a user portrait, and generating the characteristic information; the history use record comprises an interaction record of the user with the terminal equipment and a history text display value.
8. A text display device, the device comprising:
the first acquisition unit is used for acquiring data information of the current login terminal equipment of the user; the data information comprises terminal equipment information, application information and login information of a user;
the second acquisition unit is used for acquiring characteristic information associated with the login information of the user on a blockchain according to the login information of the user;
the starting unit is used for receiving triggering operation and starting a camera of the terminal equipment so as to acquire face information of a user; the triggering operation is used for indicating to start the camera of the terminal equipment;
The input unit is used for inputting the face information, the characteristic information and the data information into a text display model according to the face information of the user and outputting a text display value; the text display value is used for representing the style of the text displayed by the terminal equipment which the user logs in currently; the text display model is used for predicting text display values.
9. A terminal device, comprising: a processor, and a memory communicatively coupled to the processor;
the memory stores computer-executable instructions;
the processor executes computer-executable instructions stored in the memory to implement the method of any one of claims 1-7.
10. A computer readable storage medium having stored therein computer executable instructions which when executed by a processor are adapted to carry out the method of any one of claims 1-7.
11. A computer program product comprising a computer program which, when executed by a processor, implements the method according to any of claims 1-7.
CN202310470757.6A 2023-04-27 2023-04-27 Text display method, device, equipment and storage medium Pending CN116468003A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310470757.6A CN116468003A (en) 2023-04-27 2023-04-27 Text display method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310470757.6A CN116468003A (en) 2023-04-27 2023-04-27 Text display method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116468003A true CN116468003A (en) 2023-07-21

Family

ID=87173342

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310470757.6A Pending CN116468003A (en) 2023-04-27 2023-04-27 Text display method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116468003A (en)

Similar Documents

Publication Publication Date Title
CN107025419B (en) Fingerprint template inputting method and device
US20210224592A1 (en) Method and device for training image recognition model, and storage medium
CN108038102B (en) Method and device for recommending expression image, terminal and storage medium
CN106599070B (en) Method and device for acquiring information in first application program and terminal equipment
CN106557755B (en) Fingerprint template acquisition method and device
CN111859020A (en) Recommendation method and device, electronic equipment and computer-readable storage medium
KR20160150635A (en) Method and apparatus for recommending cloud card
US10764418B2 (en) Method, device and medium for application switching
CN112948704A (en) Model training method and device for information recommendation, electronic equipment and medium
CN110673917A (en) Information management method and device
CN113807253A (en) Face recognition method and device, electronic equipment and storage medium
CN111580773B (en) Information processing method, device and storage medium
CN112381091A (en) Video content identification method and device, electronic equipment and storage medium
CN110213062B (en) Method and device for processing message
CN111797746A (en) Face recognition method and device and computer readable storage medium
CN108491535B (en) Information classified storage method and device
CN107203279B (en) Keyword prompting method and device
CN116468003A (en) Text display method, device, equipment and storage medium
CN114090738A (en) Method, device and equipment for determining scene data information and storage medium
CN113873165A (en) Photographing method and device and electronic equipment
CN114189719A (en) Video information extraction method and device, electronic equipment and storage medium
CN112927033A (en) Data processing method and device, electronic equipment and storage medium
CN111538554A (en) Payment method, payment device, mobile terminal and storage medium
CN108241438B (en) Input method, input device and input device
CN111898019B (en) Information pushing method and 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