CN111191264A - Echoing method, echoing device, computer equipment and storage medium - Google Patents

Echoing method, echoing device, computer equipment and storage medium Download PDF

Info

Publication number
CN111191264A
CN111191264A CN201911403761.0A CN201911403761A CN111191264A CN 111191264 A CN111191264 A CN 111191264A CN 201911403761 A CN201911403761 A CN 201911403761A CN 111191264 A CN111191264 A CN 111191264A
Authority
CN
China
Prior art keywords
character
playback
strategy
character sequence
picture
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
CN201911403761.0A
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.)
Suning Financial Technology Nanjing Co Ltd
Original Assignee
Suning Financial Technology Nanjing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suning Financial Technology Nanjing Co Ltd filed Critical Suning Financial Technology Nanjing Co Ltd
Priority to CN201911403761.0A priority Critical patent/CN111191264A/en
Publication of CN111191264A publication Critical patent/CN111191264A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The application relates to a playback method, a playback device, a computer device and a storage medium. The method comprises the following steps: when a playback request is received, a playback strategy of a character sequence to be played back is obtained; generating a playback picture according to the playback strategy and the character sequence to be played back; and displaying the echoed picture. The method can meet the requirement of displaying back the input plaintext, and has low possibility of stealing data and high safety.

Description

Echoing method, echoing device, computer equipment and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a playback method, an apparatus, a computer device, and a storage medium.
Background
Software on the handheld portable equipment is monitored and intercepted by a third party in order to ensure safe and reliable input and avoid interception, and a system native keyboard or an internal application integrated soft keyboard is usually adopted for an input interface control of human-computer interaction. The native keyboard of the system has the defects that key positions are not complete, and special symbols possibly do not meet business requirements, the system on the Android is seriously fragmented, and the security of the native keyboard is poor; as for the application internal integration soft keyboard, some are only interactive interface soft keyboards essentially without memory protection, the security is low, and some use of the C library is limited by the technical realization of the C library, and does not support the display of the original input content on the interactive interface.
In view of the characteristics of the handheld portable device, in recent years, in order to meet the requirements of users on lightness, thinness and smallness of hardware of the handheld portable device, the size of a device screen is limited, but the size of the hand of the user is uncontrollable, and particularly, the hand of the user in Europe, America and Africa is large and is used to a full-keyboard input mode, so that each key position is inevitably very small; moreover, the coordinate accuracy of the sensitive and popular capacitive screen is far lower than that of a physical keyboard and a resistance screen, so that when a user inputs characters by using a soft keyboard, wrong contents are easily submitted due to the fact that a finger touches a peripheral key, the business passing rate and the conversion rate related to user identity authentication are low, the password recovery rate and the customer service complaint rate are increased, system and network resources are wasted, and the efficiency is low.
Therefore, software on a handheld portable device has a strong demand for plaintext playback of input contents such as passwords, but the plaintext playback also increases the possibility of data theft, resulting in reduced security.
Disclosure of Invention
In view of the above, it is necessary to provide a playback method, device, computer device and storage medium for the above technical problems, which can meet the requirement of playback of input plaintext, and has low possibility of data theft and high security.
A method of rendering back, the method comprising:
when a playback request is received, a playback strategy of a character sequence to be played back is obtained;
generating a playback picture according to the playback strategy and the character sequence to be played back;
and displaying the echo picture.
In one embodiment, before the step of obtaining the playback strategy of the character sequence to be played back when the playback request is received, the method further includes:
encrypting the received input character sequence to obtain encrypted information;
storing the encrypted information in a memory cache queue;
preferably, the method further comprises: displaying the position-occupying characters with the same number as the characters of the input character sequence in the information editing frame;
when a playback request is received, a playback strategy for the character sequence to be played back is acquired, and the method comprises the following steps:
when a playback request is received, decrypting the encrypted information to obtain an input character sequence, and taking the input character sequence as a character sequence to be played back;
acquiring a playback strategy of the character sequence to be played back; preferably, the character sequence to be redisplayed is temporarily cached in the memory, and when the generation of the redisplayed image is completed, the temporary cache of the character sequence to be redisplayed in the memory is deleted.
In one embodiment, the playback strategy includes a background picture and character display parameters, the character display parameters include character position coordinates, character colors and character deflection parameters, and the playback picture is generated according to the playback strategy and a character sequence to be played back, including:
acquiring a background picture according to a playback strategy to be used as a background of the playback picture;
acquiring the character position coordinates, the character colors and the character deflection parameters of the current characters in the character sequence to be redisplayed according to a redisplay strategy;
according to the character position coordinates, the character colors and the character deflection parameters, drawing the current characters on the background of the echoed pictures;
when the character sequence to be redisplayed has un-drawn characters, selecting the characters from the un-drawn characters as new current characters, and returning to the step of obtaining the character position coordinates, character colors and character deflection parameters of the current characters in the character sequence to be redisplayed according to a redisplay strategy;
and outputting a playback picture when no un-drawn character exists in the character sequence to be played back.
In one embodiment, the playback strategy further includes an interference line parameter and/or an interference point parameter, and generates a playback picture according to the playback strategy and the character sequence to be played back, further including:
drawing an interference line on a playback picture according to the interference line parameter in the playback strategy; preferably, the disturbance line parameters include the number of disturbance lines, and the starting point position, the end point position, the width and the color of each disturbance line;
and/or drawing interference points on a playback picture according to the interference point parameters in the playback strategy; preferably, the disturbance point parameters include the number of disturbance points, and the position, size and color of the disturbance points.
In one embodiment, the character display parameters further include a character animation effect, and displaying the echoed pictures comprises:
randomly acquiring the character animation effect of each displayed character in the playback picture from the playback strategy;
and dynamically displaying each displayed character according to the character animation effect.
In one embodiment, the method further comprises:
and returning to the step of encrypting the received input character sequence to obtain encrypted information when the input character sequence is detected to be changed/edited again by the user.
In one embodiment, the method further comprises:
when a request for closing the playback is received, deleting the playback picture;
and/or deleting the content and the echoed pictures in the information editing frame when screen capturing and/or screen recording events are detected.
An echoing device, the device comprising:
the strategy acquisition module is used for acquiring a playback strategy of the character sequence to be played back when receiving a playback request;
the picture generation module is used for generating a playback picture according to the playback strategy and the character sequence to be played back;
and the picture rendering module is used for displaying the redisplay picture.
A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the computer program:
when a playback request is received, a playback strategy of a character sequence to be played back is obtained;
generating a playback picture according to the playback strategy and the character sequence to be played back;
and displaying the echo picture.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
when a playback request is received, a playback strategy of a character sequence to be played back is obtained;
generating a playback picture according to the playback strategy and the character sequence to be played back;
and displaying the echo picture.
According to the method, the device, the computer equipment and the storage medium, when a playback request is received, a playback strategy of a character sequence to be played back is obtained, the playback strategy can comprise a plurality of image confusion processing methods, the character sequence to be played back is processed according to the playback strategy, a playback picture is generated and displayed, the character sequence to be played back can be displayed in a picture form for a user to check, so that the requirement of inputting plaintext playback is met, the generated playback picture processes the content of the character sequence to be played back by utilizing a plurality of image confusion technologies, the identification of a third party image can be effectively interfered, the possibility of stealing data is reduced, and the security is higher.
Drawings
FIG. 1 is a diagram of an application environment of the playback method in one embodiment;
FIG. 2 is a schematic flow chart of a playback method in one embodiment;
FIG. 3 is a schematic flow chart of a playback method in another embodiment;
FIG. 4 is a flowchart illustrating the step of generating a playback image according to an embodiment;
FIG. 5 is a block diagram showing the structure of a playback apparatus in one embodiment;
FIG. 6 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The playback method provided by the application can be applied to the application environment shown in fig. 1. The terminal 102 receives input information of the user 104, the input information may be a character sequence, when the terminal 102 receives a playback request of the user 104, the terminal 102 processes the input information to generate and display a playback picture for the user to view, the whole process runs completely in the terminal 102 environment, network display or network transmission is not needed, the defect that pictures or algorithms are easy to crack through network transmission is avoided, and the safety of user data is ensured. The terminal 102 may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices, and in specific implementation, the terminal 102 may be a mobile terminal device equipped with an Android, IOS, or WPhone system.
In one embodiment, as shown in fig. 2, a playback method is provided, which is described by taking the application of the method to the terminal in fig. 1 as an example, and includes the following steps:
step 202, when a playback request is received, a playback strategy of the character sequence to be played back is obtained.
The character sequence to be redisplayed is input content which needs to be redisplayed and viewed by a user, and is usually a segment of character sequence.
Specifically, the embodiment is generally applied to an instant input encryption scene, a virtual soft keyboard, an information editing frame, a playback button switch and a playback area can be displayed on an interactive interface of a terminal, and the playback button switch is used for switching between playback and hiding of input contents of a user; when a user needs to check the input content of the user, the terminal receives a playback request by clicking a playback button switch; after receiving the playback request, the terminal may generate a playback strategy according to the length of the character sequence to be played back, may also obtain a preset playback strategy, or generates a playback strategy of a corresponding fixed length, for example, randomly generates a playback strategy corresponding to the length of the playback area.
Step 204, generating a playback picture according to the playback strategy and the character sequence to be played back;
specifically, according to the playback strategy obtained in step 202, the character sequence to be played back is processed to generate a playback picture.
Step 206, displaying the echoed picture.
Specifically, the terminal displays a playback picture in a playback area, the playback area can be located at a position different from the information editing frame, and the playback picture and the information editing frame are simultaneously displayed on an interactive interface of the terminal; the information editing frame can also be hidden when the echoed picture is displayed, or the echoed picture can be covered on the information editing frame.
In the redisplay method, when a terminal receives a redisplay request, a redisplay strategy of a character sequence to be redisplayed is obtained, the redisplay strategy can comprise a plurality of image confusion processing methods, and the character sequence to be redisplayed is processed according to the redisplay strategy, namely, the character sequence to be redisplayed is subjected to interference processing by adopting an image confusion technology; on one hand, the generated echoed picture can effectively interfere with the third-party image identification, the possibility of data stealing is reduced, and the safety is higher; on the other hand, the input content of the user can exist in a picture rather than a character form, so that the situation that the original text of the input content directly appears in the memory is avoided, the risks of stealing and tampering are reduced, the input content can be displayed for the user, the user experience is optimized, the service passing rate and the conversion rate can be improved, the resource loss caused by finding back the password and contacting with manual customer service is reduced, and the overall efficiency is improved.
In one embodiment, as shown in FIG. 3, the method comprises the steps of:
step 302, encrypting the received input character sequence to obtain encrypted information;
specifically, when a user starts inputting, clicking an information editing frame, popping up a soft keyboard on an interactive interface of the terminal, at the moment, defaulting to not display a redisplay area, simultaneously generating a symmetric encryption key by the terminal, and encrypting a character sequence input by the user by using the symmetric encryption key so as to obtain encrypted information.
Step 304, storing the encrypted information in a memory cache queue, and displaying the placeholder characters with the same number as the characters of the input character sequence in an information edit box;
here, the placeholder character may be "a word" or "●", indicating the number of characters of the input character sequence.
Step 306, when the playback request is received, decrypting the encrypted information to obtain an input character sequence, and taking the input character sequence as a character sequence to be played back;
specifically, the encrypted information is taken out from the memory cache queue, the encrypted information is decrypted by using the symmetric encryption key to obtain an input character sequence, and the input character sequence is used as a character sequence to be redisplayed.
308, obtaining a playback strategy of the character sequence to be played back; specifically, the playback strategy can be generated according to the length of the character sequence to be played back, a preset playback strategy can be obtained, or a playback strategy with a corresponding fixed length can be generated; taking the example of generating the playback strategy according to the length of the character sequence to be played back, firstly, the length of the character sequence to be played back is obtained, or the length of the occupied character sequence in the information edit box can be directly obtained, and the length of the playback area is calculated according to the information such as the character interval and the like; then, a corresponding rendering strategy is generated according to the length of the rendering area, for example, the generating of the corresponding rendering strategy may include the following steps: judging the layout length of the playback area, and if the content is over-limit, starting line feed or horizontally rolling animation;
randomly calculating a z-axis deflection base point and a deflection angle of each character one by one;
randomly calculating the y-axis vertical offset of each character one by one;
randomly calculating the color of each character one by one;
randomly setting 3-5 interference lines, wherein the colors are random, and the lengths and the widths are random;
each interference line randomly deflects within-10 degrees on the z axis;
randomly setting a plurality of interference points, wherein the colors and the positions are random;
and randomly selecting a background picture of the playback picture.
Step 310, generating a playback picture according to the playback strategy and the character sequence to be played back;
specifically, the character sequence to be redisplayed is temporarily cached in the memory, and when the generation of the redisplayed image is completed, the temporary cache of the character sequence to be redisplayed in the memory is deleted. In this step, once the generation of the redisplay picture is completed, the plaintext of the character sequence to be redisplayed can be deleted, so that the risk of the plaintext existing in the memory is reduced as much as possible, and the redisplay picture may not be displayed on the terminal interface.
Step 312, displaying the playback image.
Specifically, rendering is performed in a playback area of the terminal interface according to the generated playback picture, and the playback picture is displayed in the playback area.
In the embodiment, the mode that the input content is instantly encrypted and the echoed content is displayed in the picture is adopted, the input content of the user is instantly encrypted, and the original input content is only cached in the memory for a short time, so that the input safety of the terminal is effectively ensured, and the condition that the input content is stolen through the memory from the outside is effectively prevented.
In one embodiment, the playback strategy includes a background picture and character display parameters, the character display parameters include character position coordinates, character colors and character deflection parameters, as shown in fig. 4, the playback picture is generated according to the playback strategy and a character sequence to be played back, and the method includes the following steps:
step 402, obtaining a background picture according to a playback strategy as a background of a playback picture;
the display-back strategy can comprise a plurality of different background pictures, and when the display-back picture is generated, one background picture is randomly selected from the background pictures as the background of the display-back picture.
404, acquiring a character position coordinate, a character color and a character deflection parameter of a current character in a character sequence to be redisplayed according to a redisplay strategy;
specifically, the character position coordinates, the character colors, and the character deflection parameters of the current character in the character sequence to be redisplayed are randomly obtained from the redisplay strategy, and of course, in this step, the character position coordinates, the character colors, and the character deflection parameters of the current character may also be obtained according to the character display parameters preset by the user.
Step 406, drawing a current character on the background of the echoed picture according to the character position coordinates, the character color and the character deflection parameters;
here, the character deflection parameters may include a Z-direction inclination angle and a Y-direction offset angle, which may constitute a character deflection matrix;
specifically, the terminal processes the current character according to the character color and the character deflection matrix to obtain a character image of the current character, and then draws the character image on the background of the echoed picture according to the character position coordinates.
Step 408, judging whether the character sequence to be redisplayed has un-drawn characters;
step 410, when the character sequence to be redisplayed has un-drawn characters, selecting characters from the un-drawn characters as new current characters, and returning to the step of obtaining the character position coordinates, character colors and character deflection parameters of the current characters in the character sequence to be redisplayed according to the redisplay strategy;
specifically, one character can be selected from the un-drawn characters each time as a new current character, and all the characters in the character sequence to be redisplayed are sequentially drawn.
In specific implementation, the echo strategy may further include an interference line parameter and an interference point parameter.
Step 412, when no un-drawn character exists in the character sequence to be redisplayed, drawing an interference line on the redisplayed picture according to the interference line parameter in the redisplayed strategy;
here, the disturbance line parameters include the number of disturbance lines, and the start point position, end point position, width, and color of each disturbance line;
specifically, interference line parameters are obtained, the interference line is drawn according to the starting point position, the end point position, the width and the color of one interference line, the drawing step is repeated, and all the interference lines are drawn in sequence.
And step 414, drawing interference points on the echoed pictures according to the interference point parameters in the echoed strategies.
Here, the interference point parameters include the number of interference points, and the position, size, and color of the interference points.
Specifically, the random position plots the interference point.
In step 412 and 414, the interference lines and/or interference points should be drawn above the characters or at the top layer of the playback picture to better perform the interference function.
In particular, the character display parameters may also include character animation effects.
And step 416, randomly acquiring a character animation effect of each displayed character in the playback picture from the playback strategy, and dynamically displaying each displayed character according to the character animation effect.
The displayed characters are characters displayed on the interactive interface of the echoed picture, namely characters which can be observed by a user; for example, when the length of the playback area is the set length, part of the characters in the playback picture may exceed the playback area, and therefore, the characters are not displayed on the interactive interface, and the playback picture may be displayed in a horizontal scrolling animation manner, so that all the characters in the playback picture are sequentially displayed in the playback area, and at this time, the displayed characters are the characters of the playback picture located in the playback area.
Specifically, the refresh time may be set such that each character is dynamically displayed. For example, each character is displayed in a time-hopping manner in the echoed picture and is stopped for a period of time for the user to watch.
In this embodiment, in the generated echoed picture, besides the character sequence to be echoed, a plurality of composite image confusion techniques are also utilized, the character sequence to be echoed is processed, and each displayed character can have a certain animation effect, so that third-party image recognition can be effectively interfered.
In one embodiment, the method further comprises the steps of:
and returning to the step of encrypting the received input character sequence to obtain encrypted information when the input character sequence is detected to be changed/edited again by the user.
In this embodiment, when the user edits or changes the input content again, the encryption step and the reproduction picture generation step are repeated, so that the new input content is encrypted and stored and the picture is displayed.
In one embodiment, the method further comprises the steps of:
when a request for closing the playback is received, deleting the playback picture;
specifically, the user clicks the playback button switch, and the terminal receives the request for closing the playback, deletes the playback picture, and can also hide the playback area.
Here, the redisplay button switch is a single switch, and is not clickable when no input content exists in the information editing frame; when input content exists in the information editing frame, a playback request is generated by clicking for the first time, the information editing frame is hidden, and a playback area is displayed; and clicking again to generate a request for closing the redisplay, hiding the redisplay area and displaying the information editing frame. However, in the specific implementation process, the playback button switch can also be composed of two switch buttons, one is used for turning on the playback and the other is used for turning off the playback.
In this embodiment, when detecting a screen capture and/or screen recording event, the terminal deletes the content and the playback picture in the information editing frame.
Specifically, when a user starts inputting, the user clicks an information editing frame, a soft keyboard pops up on an interaction interface of the terminal, the redisplay is in a closed state by default, the terminal also starts screen capture/screen recording event monitoring while generating a symmetric encryption key, and once screen capture and/or screen recording events are detected, the redisplay pictures and the content in the information editing frame are immediately removed.
Based on the above steps, the present embodiment may adopt a screen capture/recording prevention technology, which prevents the interface from being captured or recorded during the input process, and further ensures the input security.
It should be understood that although the various steps in the flow charts of fig. 2-4 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-4 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternating with other steps or at least some of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 5, a playback apparatus is provided, which includes a policy acquisition module 502, a picture generation module 504, and a picture rendering module 506, wherein:
a strategy obtaining module 502, configured to obtain a playback strategy of the character sequence to be played back when receiving a playback request;
the picture generation module 504 is configured to generate a playback picture according to the playback policy and the character sequence to be played back;
and a picture rendering module 506, configured to display the playback picture.
In one embodiment, the apparatus further comprises:
the input encryption module is used for encrypting the received input character sequence to obtain encryption information and storing the encryption information in a memory cache queue;
the policy obtaining module 502 is further configured to decrypt the encrypted information when receiving the playback request, to obtain an input character sequence, and use the input character sequence as a character sequence to be played back; acquiring a playback strategy of a character sequence to be played back;
specifically, the apparatus further comprises: and the position occupying display module is used for displaying position occupying characters with the same number as the characters of the input character sequence in the information editing frame.
Specifically, the character sequence to be echoed is temporarily cached in the memory, and the apparatus further includes: and the cache deleting module is used for deleting the temporary cache of the character sequence to be redisplayed in the memory when the generation of the redisplayed picture is completed.
In one embodiment, the playback strategy includes a background picture and character display parameters, the character display parameters include character position coordinates, character colors and character deflection parameters, and the picture generation module 504 includes:
the background drawing unit is used for acquiring a background picture according to the playback strategy and taking the background picture as the background of the playback picture;
the character drawing unit is used for acquiring the character position coordinates, the character colors and the character deflection parameters of the current characters in the character sequence to be redisplayed according to the redisplay strategy; according to the character position coordinates, the character colors and the character deflection parameters, drawing the current characters on the background of the echoed pictures; when the character sequence to be redisplayed has un-drawn characters, selecting the characters from the un-drawn characters as new current characters, and returning to the step of obtaining the character position coordinates, character colors and character deflection parameters of the current characters in the character sequence to be redisplayed according to a redisplay strategy;
and the echoing picture unit is used for outputting the echoing picture when no un-drawn character exists in the character sequence to be echoed.
In one embodiment, the echo strategy further includes an interference line parameter and/or an interference point parameter, and the image generating module 504 further includes:
the interference line drawing unit is used for drawing an interference line on the echoed picture according to the interference line parameter in the echoed strategy; preferably, the disturbance line parameters include the number of disturbance lines, and the starting point position, the end point position, the width and the color of each disturbance line;
the interference point drawing unit is used for drawing interference points on the echoed pictures according to the interference point parameters in the echoed strategies; preferably, the disturbance point parameters include the number of disturbance points, and the position, size and color of the disturbance points.
In an embodiment, the character display parameters further include a character animation effect, and the image rendering module 506 is further configured to randomly obtain the character animation effect of each displayed character in the playback image from the playback strategy; and dynamically displaying each displayed character according to the character animation effect.
In one embodiment, the apparatus further comprises:
and the editing detection module is used for returning to the step of encrypting the received input character sequence to obtain the encrypted information when detecting that the user changes/edits the character sequence to be redisplayed again.
In one embodiment, the apparatus further comprises:
the display closing and returning module is used for deleting the display returning picture when receiving a display closing and returning request;
and the risk detection module is used for deleting the content and the redisplay picture in the information editing frame when a screen capture and/or screen recording event is detected. For the specific limitation of the playback device, reference may be made to the above limitation of the playback method, which is not described herein again. The modules in the echo device can be wholly or partially realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 6. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a method of playback. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 6 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the computer program: when a playback request is received, a playback strategy of a character sequence to be played back is obtained; generating a playback picture according to the playback strategy and the character sequence to be played back; and displaying the echo picture.
In one embodiment, the processor, when executing the computer program, further performs the steps of: when a playback request is received, before the step of obtaining the playback strategy of the character sequence to be played back, the method further comprises the following steps: encrypting the received input character sequence to obtain encrypted information; storing the encrypted information in a memory cache queue; displaying the position-occupying characters with the same number as the characters of the input character sequence in the information editing frame; when a playback request is received, a playback strategy for the character sequence to be played back is acquired, and the method comprises the following steps: when a playback request is received, decrypting the encrypted information to obtain an input character sequence, and taking the input character sequence as a character sequence to be played back; acquiring a playback strategy of a character sequence to be played back; and temporarily caching the character sequence to be redisplayed in a memory, and deleting the temporary cache of the character sequence to be redisplayed in the memory when the generation of the redisplayed picture is completed.
In one embodiment, the processor, when executing the computer program, further performs the steps of: the redisplay strategy includes background picture and character display parameter, and the character display parameter includes character position coordinate, character color and character deflection parameter, according to redisplay strategy and treat the redisplay character sequence, generates the redisplay picture, includes: acquiring a background picture according to a playback strategy to be used as a background of the playback picture; acquiring the character position coordinates, the character colors and the character deflection parameters of the current characters in the character sequence to be redisplayed according to a redisplay strategy; according to the character position coordinates, the character colors and the character deflection parameters, drawing the current characters on the background of the echoed pictures; when the character sequence to be redisplayed has un-drawn characters, selecting the characters from the un-drawn characters as new current characters, and returning to the step of obtaining the character position coordinates, character colors and character deflection parameters of the current characters in the character sequence to be redisplayed according to a redisplay strategy; and outputting a playback picture when no un-drawn character exists in the character sequence to be played back.
In one embodiment, the processor, when executing the computer program, further performs the steps of: the playback strategy also comprises an interference line parameter and/or an interference point parameter, and a playback picture is generated according to the playback strategy and the character sequence to be played back, and the method also comprises the following steps: drawing an interference line on a playback picture according to the interference line parameter in the playback strategy; the interference line parameters comprise the number of interference lines, and the starting position, the end position, the width and the color of each interference line; and/or drawing interference points on a playback picture according to the interference point parameters in the playback strategy; the disturbance point parameters include the number of disturbance points, and the position, size, and color of the disturbance points.
In one embodiment, the processor, when executing the computer program, further performs the steps of: the character display parameters further include character animation effects, display playback pictures, including: randomly acquiring the character animation effect of each displayed character in the playback picture from the playback strategy; and dynamically displaying each displayed character according to the character animation effect.
In one embodiment, the processor, when executing the computer program, further performs the steps of: and returning to the step of encrypting the received input character sequence to obtain encrypted information when the input character sequence is detected to be changed/edited again by the user.
In one embodiment, the processor, when executing the computer program, further performs the steps of: when a request for closing the playback is received, deleting the playback picture; and/or deleting the content and the redisplay pictures in the information editing frame when screen capture and/or screen recording events are detected.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of: when a playback request is received, a playback strategy of a character sequence to be played back is obtained; generating a playback picture according to the playback strategy and the character sequence to be played back; and displaying the echo picture.
In one embodiment, the computer program when executed by the processor further performs the steps of: when a playback request is received, before the step of obtaining the playback strategy of the character sequence to be played back, the method further comprises the following steps: encrypting the received input character sequence to obtain encrypted information; storing the encrypted information in a memory cache queue; displaying the position-occupying characters with the same number as the characters of the input character sequence in the information editing frame; when a playback request is received, a playback strategy for the character sequence to be played back is acquired, and the method comprises the following steps: when a playback request is received, decrypting the encrypted information to obtain an input character sequence, and taking the input character sequence as a character sequence to be played back; acquiring a playback strategy of a character sequence to be played back; and temporarily caching the character sequence to be redisplayed in a memory, and deleting the temporary cache of the character sequence to be redisplayed in the memory when the generation of the redisplayed picture is completed.
In one embodiment, the computer program when executed by the processor further performs the steps of: the redisplay strategy includes background picture and character display parameter, and the character display parameter includes character position coordinate, character color and character deflection parameter, according to redisplay strategy and treat the redisplay character sequence, generates the redisplay picture, includes: acquiring a background picture according to a playback strategy to be used as a background of the playback picture; acquiring the character position coordinates, the character colors and the character deflection parameters of the current characters in the character sequence to be redisplayed according to a redisplay strategy; according to the character position coordinates, the character colors and the character deflection parameters, drawing the current characters on the background of the echoed pictures; when the character sequence to be redisplayed has un-drawn characters, selecting the characters from the un-drawn characters as new current characters, and returning to the step of obtaining the character position coordinates, character colors and character deflection parameters of the current characters in the character sequence to be redisplayed according to a redisplay strategy; and outputting a playback picture when no un-drawn character exists in the character sequence to be played back.
In one embodiment, the computer program when executed by the processor further performs the steps of: the playback strategy also comprises an interference line parameter and/or an interference point parameter, and a playback picture is generated according to the playback strategy and the character sequence to be played back, and the method also comprises the following steps: drawing an interference line on a playback picture according to the interference line parameter in the playback strategy; the interference line parameters comprise the number of interference lines, and the starting position, the end position, the width and the color of each interference line; and/or drawing interference points on a playback picture according to the interference point parameters in the playback strategy; the disturbance point parameters include the number of disturbance points, and the position, size, and color of the disturbance points.
In one embodiment, the computer program when executed by the processor further performs the steps of: the character display parameters further include character animation effects, display playback pictures, including: randomly acquiring the character animation effect of each displayed character in the playback picture from the playback strategy; and dynamically displaying each displayed character according to the character animation effect.
In one embodiment, the computer program when executed by the processor further performs the steps of: and returning to the step of encrypting the received input character sequence to obtain encrypted information when the input character sequence is detected to be changed/edited again by the user.
In one embodiment, the computer program when executed by the processor further performs the steps of: when a request for closing the playback is received, deleting the playback picture; and/or deleting the content and the redisplay pictures in the information editing frame when screen capture and/or screen recording events are detected.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A method of rendering, the method comprising:
when a playback request is received, a playback strategy of a character sequence to be played back is obtained;
generating a playback picture according to the playback strategy and the character sequence to be played back;
and displaying the echoed pictures.
2. The method according to claim 1, wherein before the step of obtaining the rendering strategy of the character sequence to be rendered when the rendering request is received, the method further comprises:
encrypting the received input character sequence to obtain encrypted information;
storing the encrypted information in a memory cache queue;
preferably, the method further comprises: displaying the position-occupying characters with the same number as the characters of the input character sequence in an information editing box;
when a playback request is received, the playback strategy for acquiring the character sequence to be played back comprises the following steps:
when a playback request is received, decrypting the encrypted information to obtain the input character sequence, and taking the input character sequence as the character sequence to be played back;
acquiring a playback strategy of the character sequence to be played back; preferably, the character sequence to be redisplayed is temporarily cached in a memory, and when the generation of the redisplayed image is completed, the temporary cache of the character sequence to be redisplayed in the memory is deleted.
3. The method according to claim 2, wherein the playback strategy comprises a background picture and character display parameters, the character display parameters comprise character position coordinates, character colors and character deflection parameters, and the generating a playback picture according to the playback strategy and the character sequence to be played back comprises:
acquiring a background picture according to the playback strategy to serve as the background of the playback picture;
acquiring the character position coordinates, the character colors and the character deflection parameters of the current characters in the character sequence to be redisplayed according to the redisplay strategy;
drawing the current character on the background of the echoed picture according to the character position coordinate, the character color and the character deflection parameter;
when the character sequence to be redisplayed has un-drawn characters, selecting characters from the un-drawn characters as new current characters, and returning to the step of obtaining the character position coordinates, the character colors and the character deflection parameters of the current characters in the character sequence to be redisplayed according to the redisplay strategy;
and when no un-drawn character exists in the character sequence to be redisplayed, outputting the redisplayed picture.
4. The method according to claim 3, wherein the playback strategy further includes an interference line parameter and/or an interference point parameter, and the generating a playback picture according to the playback strategy and the character sequence to be played back further includes:
drawing an interference line on the echoed picture according to the interference line parameter in the echoed strategy; preferably, the disturbing line parameters include the number of disturbing lines, and the starting point position, the end point position, the width and the color of each disturbing line;
and/or drawing an interference point on the echoed picture according to the interference point parameter in the echoed strategy; preferably, the disturbance point parameters include the number of disturbance points, and the position, size and color of the disturbance points.
5. The method of claim 3 or 4, wherein the character display parameters further comprise a character animation effect, and wherein the displaying the echographic comprises:
randomly acquiring the character animation effect of each displayed character in the echoed picture from the echoed strategy;
and dynamically displaying each displayed character according to the character animation effect.
6. The method of claim 5, further comprising:
and returning to the step of encrypting the received input character sequence to obtain encrypted information when the user is detected to change/edit the input character sequence again.
7. The method of claim 6, further comprising:
when a request for closing the playback is received, deleting the playback picture;
and/or deleting the content and the echoed pictures in the information editing frame when screen capturing and/or screen recording events are detected.
8. An echoing device, characterized in that it comprises:
the strategy acquisition module is used for acquiring a playback strategy of the character sequence to be played back when receiving a playback request;
the picture generation module is used for generating a playback picture according to the playback strategy and the character sequence to be played back;
and the picture rendering module is used for displaying the echoed pictures.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method of any of claims 1 to 7 are implemented when the computer program is executed by the processor.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
CN201911403761.0A 2019-12-31 2019-12-31 Echoing method, echoing device, computer equipment and storage medium Pending CN111191264A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911403761.0A CN111191264A (en) 2019-12-31 2019-12-31 Echoing method, echoing device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911403761.0A CN111191264A (en) 2019-12-31 2019-12-31 Echoing method, echoing device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111191264A true CN111191264A (en) 2020-05-22

Family

ID=70705961

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911403761.0A Pending CN111191264A (en) 2019-12-31 2019-12-31 Echoing method, echoing device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111191264A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103714301A (en) * 2012-10-09 2014-04-09 腾讯科技(深圳)有限公司 Password input method and device
CN104239824A (en) * 2014-08-27 2014-12-24 百度在线网络技术(北京)有限公司 Method and device used for displaying input information
US20160080356A1 (en) * 2014-09-17 2016-03-17 International Business Machines Corporation Authentication mechanism
CN105653054A (en) * 2015-05-28 2016-06-08 宇龙计算机通信科技(深圳)有限公司 Code processing method and apparatus
CN107066875A (en) * 2015-12-23 2017-08-18 阿里巴巴集团控股有限公司 Password display methods and device
CN110022317A (en) * 2019-04-02 2019-07-16 中国工商银行股份有限公司 Information transferring method, system and device based on figure

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103714301A (en) * 2012-10-09 2014-04-09 腾讯科技(深圳)有限公司 Password input method and device
CN104239824A (en) * 2014-08-27 2014-12-24 百度在线网络技术(北京)有限公司 Method and device used for displaying input information
US20160080356A1 (en) * 2014-09-17 2016-03-17 International Business Machines Corporation Authentication mechanism
CN105653054A (en) * 2015-05-28 2016-06-08 宇龙计算机通信科技(深圳)有限公司 Code processing method and apparatus
CN107066875A (en) * 2015-12-23 2017-08-18 阿里巴巴集团控股有限公司 Password display methods and device
CN110022317A (en) * 2019-04-02 2019-07-16 中国工商银行股份有限公司 Information transferring method, system and device based on figure

Similar Documents

Publication Publication Date Title
CN107145795B (en) Screenshot method and device and computer equipment
AU2022204797B2 (en) Raw sensor input encryption for passcode entry security
US20140324708A1 (en) Raw sensor input encryption for passcode entry security
US10891397B2 (en) User interface display method for terminal, and terminal
CN106203061B (en) Encryption method of application program and mobile terminal
TW201539247A (en) Password input and verification method and system thereof
CN101901312A (en) Password protection method
CN111935349B (en) Terminal-based information display method and device, terminal and storage medium
CN107273736A (en) Cipher-code input method, device, computer equipment and storage medium
CN111818469B (en) Calling method, calling device, electronic equipment and network equipment
CN111176543A (en) Method, device, computer equipment and storage medium for realizing electronic signature
US20190384924A1 (en) Electronic device and method of providing information for display
CN110881033B (en) Data encryption method, device, equipment and readable storage medium
CN109858290B (en) Password input method, device, computer equipment and storage medium
CN111191264A (en) Echoing method, echoing device, computer equipment and storage medium
CN113139173A (en) Input password acquisition method and device, electronic equipment and storage medium
CN108696355B (en) Method and system for preventing head portrait of user from being embezzled
US20130343543A1 (en) User experience and method for promoting a low-assurance call to a high-assurance call on a calling device
CN113868702A (en) Object moving method and device
CN114817784A (en) Message processing method and device, electronic equipment and readable storage medium
JP5910654B2 (en) Information processing apparatus, information processing apparatus control method, and program
CN112270004A (en) Content encryption method and device and electronic equipment
CN113591111B (en) Audio data processing method and device, computer readable storage medium and terminal
CN113407959B (en) Operation execution method and device and electronic equipment
CN115134473B (en) Image encryption 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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200522