CN117172242A - Data pushing method and device, computer readable storage medium and electronic device - Google Patents

Data pushing method and device, computer readable storage medium and electronic device Download PDF

Info

Publication number
CN117172242A
CN117172242A CN202311008605.0A CN202311008605A CN117172242A CN 117172242 A CN117172242 A CN 117172242A CN 202311008605 A CN202311008605 A CN 202311008605A CN 117172242 A CN117172242 A CN 117172242A
Authority
CN
China
Prior art keywords
data
input
target
behavior
user interface
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
CN202311008605.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.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network 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 Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN202311008605.0A priority Critical patent/CN117172242A/en
Publication of CN117172242A publication Critical patent/CN117172242A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a data pushing method and device. The method comprises the following steps: monitoring the data input behavior of the target object on the graphical user interface; responding to the data input behavior meeting the specified condition, acquiring target input data corresponding to the data input behavior, wherein the target input data is used for writing a program code through natural language; acquiring target pushing data matched with target input data from a preset database based on target functions described by the target input data; pushing target push data to a graphical user interface so as to enable data input behavior to continue, wherein the target push data is used for describing a standard program writing method corresponding to a target function. The method and the device solve the technical problems that in the related art, the target object actively searches for prompt data when a pause occurs in the writing process, the operation is complex and the efficiency is low.

Description

Data pushing method and device, computer readable storage medium and electronic device
Technical Field
The present disclosure relates to the field of data processing, and in particular, to a data pushing method, a data pushing device, a computer readable storage medium, and an electronic device.
Background
When the target object is stuck in the writing process of the trigger or the code class, the current related technology mainly uses the help function in the writing tool to automatically search related knowledge and jump to the corresponding official document area so as to provide writing inspiration for the target object. However, the method needs to deviate from the current editing scene, and the thought of the target object is broken, so that the working efficiency of the target object is affected, and the experience of the target object is poor.
In view of the above problems, no effective solution has been proposed at present.
Disclosure of Invention
At least some embodiments of the present disclosure provide a data pushing method and apparatus, so as to at least solve the technical problems of complex operation and low efficiency in the related art that a target object actively searches for prompt data when a pause occurs in a writing process.
According to one embodiment of the present disclosure, there is provided a data pushing method, including: monitoring the data input behavior of the target object on the graphical user interface; responding to the data input behavior meeting the specified condition, acquiring target input data corresponding to the data input behavior, wherein the target input data is used for writing a program code through natural language; acquiring target pushing data matched with target input data from a preset database based on target functions described by the target input data; pushing target push data to a graphical user interface so as to enable data input behavior to continue, wherein the target push data is used for describing a standard program writing method corresponding to a target function.
According to one embodiment of the present disclosure, there is also provided a data pushing apparatus, including: the behavior monitoring module is used for monitoring the data input behavior of the target object on the graphical user interface; the behavior response module is used for responding to the fact that the data input behavior meets the specified condition, acquiring target input data corresponding to the data input behavior, wherein the target input data is used for writing a program code through natural language; the data acquisition module is used for acquiring target pushing data matched with the target input data from a preset database based on the target function described by the target input data; the data pushing module is used for pushing target pushing data to the graphical user interface so as to enable the data input behavior to continue, wherein the target pushing data is used for describing a standard program writing method corresponding to a target function.
According to one embodiment of the present disclosure, there is also provided a computer-readable storage medium having a computer program stored therein, wherein the computer program is configured to perform the data pushing method in any one of the above when run.
According to one embodiment of the present disclosure, there is also provided an electronic device including a memory having a computer program stored therein, and a processor configured to run the computer program to perform the data pushing method in any of the above.
In at least some embodiments of the present disclosure, monitoring data input behavior of a target object on a graphical user interface; responding to the data input behavior meeting the specified condition, acquiring target input data corresponding to the data input behavior, wherein the target input data is used for writing a program code through natural language; acquiring target pushing data matched with target input data from a preset database based on target functions described by the target input data; pushing target push data to the graphical user interface so as to enable the data input behavior to continue, wherein it is noted that the target push data is used for describing a standard program writing method corresponding to the target function. By the method, when the input behavior of the target object is detected to meet the specified condition, related information is pushed on the current input interface of the target object, the aim of providing writing inspiration for the target object under the condition that the target object is not broken is achieved, the technical effect that data are intuitively pushed for the target object when the target object is blocked in the writing process is achieved, and the technical problems that the operation is complex and the efficiency is low due to the fact that the target object actively searches for prompt data when the target object is blocked in the writing process in the related art are solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the disclosure, illustrate and explain the present disclosure, and together with the description serve to explain the present disclosure. In the drawings:
fig. 1 is a hardware block diagram of a mobile terminal according to a data pushing method according to an embodiment of the present disclosure;
FIG. 2 is a flow chart of a data pushing method according to one embodiment of the present disclosure;
FIG. 3 is a schematic diagram of a hint information according to embodiments of the present disclosure;
FIG. 4 is a schematic diagram of pushing data according to an embodiment of the present disclosure;
FIG. 5 is a schematic diagram of detailed data of push data according to an embodiment of the present disclosure;
FIG. 6 is a schematic diagram of a search window according to an embodiment of the present disclosure;
FIG. 7 is a block diagram of a data pushing device according to an embodiment of the present disclosure;
fig. 8 is a schematic diagram of an electronic device according to an embodiment of the disclosure.
Detailed Description
In order that those skilled in the art will better understand the present disclosure, a technical solution in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present disclosure, not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art without inventive effort, based on the embodiments in this disclosure, shall fall within the scope of the present disclosure.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the foregoing figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the disclosure described herein may be capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In a possible implementation manner, aiming at the technical problem that the background in the data processing field is generally adopted and the help function in the writing tool is used, related knowledge is automatically searched and is jumped to a corresponding official document area, so that writing inspiration is provided for a target object, after the inventor is practiced and studied carefully, the thought of the target object is broken due to the fact that the inventor needs to deviate from the current editing scene, the working efficiency of the target object is influenced, and the experience of the target object is poor.
The above-described method embodiments to which the present disclosure relates may be performed in a mobile terminal, a computer terminal or similar computing device. Taking the mobile terminal as an example, the mobile terminal can be a smart phone, a tablet computer, a palm computer, a mobile internet device, a PAD and other terminal devices. Fig. 1 is a hardware block diagram of a mobile terminal according to a data pushing method according to an embodiment of the present disclosure. As shown in fig. 1, a mobile terminal may include one or more (only one is shown in fig. 1) processors 102 (the processor 102 may include, but is not limited to, a Central Processing Unit (CPU), a Graphics Processor (GPU), a Digital Signal Processing (DSP) chip, a Microprocessor (MCU), a programmable logic device (FPGA), a neural Network Processor (NPU), a Tensor Processor (TPU), an Artificial Intelligence (AI) type processor, etc.) and a memory 104 for storing data, and in one embodiment of the present disclosure, may further include: input output device 108 and display device 110.
In some code editing tool-based alternative embodiments, the above-described device may also provide a human-machine interaction interface with a touch-sensitive surface that may sense finger contacts and/or gestures to interact with a Graphical User Interface (GUI), which may include the following interactions: executable instructions for performing the above-described human-machine interaction functions, such as creating web pages, drawing, word processing, making electronic documents, games, video conferencing, instant messaging, sending and receiving electronic mail, talking interfaces, playing digital video, playing digital music, and/or web browsing, are configured/stored in a computer program product or readable storage medium executable by one or more processors.
It will be appreciated by those skilled in the art that the structure shown in fig. 1 is merely illustrative and not limiting of the structure of the mobile terminal described above. For example, the mobile terminal may also include more or fewer components than shown in fig. 1, or have a different configuration than shown in fig. 1.
According to one embodiment of the present disclosure, there is provided an embodiment of a data pushing method, it should be noted that the steps illustrated in the flowcharts of the drawings may be performed in a computer system such as a set of computer executable instructions, and that although a logical order is illustrated in the flowcharts, in some cases the steps illustrated or described may be performed in an order different from that herein.
In one possible implementation manner, the embodiment of the disclosure provides a data pushing method. Fig. 2 is a flowchart of a data pushing method according to one embodiment of the disclosure, as shown in fig. 2, the method includes the following steps:
step S202, monitoring the data input behavior of the target object on the graphical user interface.
The target object may be understood as being written by using an editing tool, or as being a target object in other manufacturing scenarios, and the graphical user interface may be understood as an interface where the target object is written in any display device with a display screen, such as a computer interface, a mobile phone interface, a tablet computer interface, etc., which is not limited in this disclosure, and the data input behavior may be understood as a behavior of the target object when written on the graphical user interface, which may include, but is not limited to, a behavior that may occur when clicking a mouse, clicking a keyboard, moving a mouse, etc.
It can be understood that monitoring the data input behavior of the target object on the graphical user interface can provide data support for subsequently judging whether the input behavior of the target object is stuck or not.
In an alternative embodiment, the data input behavior of the target object can be recorded in real time through the data recording software, so that the purpose of monitoring the data input behavior of the target object on the graphical user interface is achieved. In another alternative embodiment, the objective of monitoring the data input behavior of the target object on the graphical user interface may be achieved by inserting a script into the authoring tool and monitoring the data input behavior of the target object by the script.
In step S204, in response to the data input behavior satisfying the specified condition, target input data corresponding to the data input behavior is obtained, where the target input data is used to write the program code in natural language.
The target input data may be understood as data that a target object has input on a graphical user interface when the data input behavior satisfies a specified condition.
In an alternative embodiment, the specified condition may be a condition that the input behavior of the target object is considered to be stuck.
In another alternative embodiment, the determining whether the data input behavior meets the specified condition may be analyzing behavior data of the data input behavior of the target object, where if the behavior data has a large deviation from behavior data of the data input behavior that is continuously performed by the target object before, for example, the target object does not perform any operation for a long time, it may be considered that the data input behavior is stuck.
In another alternative embodiment, the natural language may include, but is not limited to: chinese characters, english letters, symbols and the like can package program codes which can be understood by a machine into functions by using natural language, and a user can write the program codes only by describing the function names in a literal mode.
Specifically, the behavior data of the data input behavior is stuck, which may include, but is not limited to, the following cases: the mouse click frequency of the target object is too low, the key input speed is reduced, the movement deviation of the mouse is increased, the key input error rate is increased, the movement speed of the mouse is reduced, the increasing speed of the data line number is reduced, the left mouse key is pressed down too long, the operation interval time is too long, the keyboard input support is reduced, the stay time of the mouse pointer is too long, the cursor flickering frequency is slow, and the like.
Step S206, based on the target function described by the target input data, the target pushing data matched with the target input data is obtained from a preset database.
The target function may be understood as a function that the target object wants to implement when inputting target input data, for example, may be a function corresponding to a function name input by a user, and the target push data may be understood as data related to content currently input by the target object on the graphical user interface for pushing the target object, so as to help the target object avoid a problem of jamming.
In an alternative embodiment, the predetermined database may be a natural language programmed canonical database in which canonical programming methods are stored.
It can be understood that after confirming that the data input behavior of the target object has the conditions of low mouse click frequency, low key input speed, increased mouse movement deviation and the like, the current input content of the target object, that is, the last input content when the click occurs, can be determined based on the data input behavior, the data related to the current input content, which is automatically searched in the preset database, is used as target pushing data, the target pushing data is displayed on the graphical user interface, the target object is convenient to view, and the target pushing data can include but is not limited to text, pictures, symbols and the like.
Step S208, pushing target pushing data to the graphical user interface so as to enable the data input behavior to continue, wherein the target pushing data is used for describing a standard program writing method corresponding to the target function.
The standard program writing method can be understood as a program writing method capable of realizing the target function, including but not limited to a writing format of a correct program, a specific function name which can be used, and the like.
In an optional embodiment, when the target object performs code writing on the graphical user interface, after confirming that the click frequency of the mouse is too low, the key input speed is reduced, the movement deviation of the mouse is increased and other jams occur in the data input behavior, the data information related to the code on the current graphical user interface can be obtained to obtain target push data, and the target push data is displayed on the graphical user interface for the target object to view; when the target object edits the text on the graphical user interface, after confirming that the click frequency of the mouse is too low, the key input speed is reduced, the movement deviation of the mouse is increased and the like are blocked, acquiring articles or pictures related to the text theme on the current graphical user interface to obtain target push data, and displaying the target push data on the graphical user interface for the target object to view; when the target object makes a question on the graphical user interface, after the condition that the click frequency of the mouse is too low, the key input speed is reduced, the movement deviation of the mouse is increased and the like is confirmed to be blocked in the data input behavior, the noun explanation of keywords in the question on the current graphical user interface or other information related to the current question can be obtained to obtain target push data, and the target push data is displayed on the graphical user interface for the target object to view.
In another alternative embodiment, after the data input behavior of the target object has the behaviors of being blocked, such as too low in mouse click frequency, low in key input speed, and increased in mouse movement deviation, a prompt window containing the target push data is automatically generated at the right lower part of the current hovering position of the mouse, or the target push data is directly displayed at the rear of the data in an italic underlined mode, which is not limited in the disclosure.
Specifically, when the target object inputs on the graphical user interface, the input behavior of the target object is monitored to obtain corresponding behavior data, such as data of a mouse click frequency, a key input speed, a mouse moving time, an operation interval time and the like, and specific operation content of the target object, including but not limited to a position clicked by the target object, data selected by the target object, content input by the target object and the like, the behavior data is analyzed, and if the mouse click frequency is too low, such as clicking for less than 3 times in 10 seconds, or the key input speed is reduced, such as the number of times of keys in 1 minute is not more than 40 times, and the like, it can be determined that the input behavior of the target object is jammed and corresponding related data needs to be pushed to the target object.
Through the steps, monitoring the data input behavior of the target object on the graphical user interface; responding to the data input behavior meeting the specified condition, acquiring target input data corresponding to the data input behavior, wherein the target input data is used for writing a program code through natural language; acquiring target pushing data matched with target input data from a preset database based on target functions described by the target input data; pushing target push data to the graphical user interface so as to enable the data input behavior to continue, wherein it is noted that the target push data is used for describing a standard program writing method corresponding to the target function. By the method, when the input behavior of the target object is detected to meet the specified condition, related information is pushed on the current input interface of the target object, the aim of providing writing inspiration for the target object under the condition of not interrupting the target object is achieved, the technical effect of intuitively pushing data for the target object in the writing process of the target object is achieved, and the technical problems that the target object actively searches for prompt data when a card is in the writing process in the related art, and the operation is complex and the efficiency is low are solved.
Optionally, the method further comprises: screening target behavior data of at least one input behavior parameter from the behavior data of the data input behavior; determining target probability corresponding to the data input behavior based on target behavior data of at least one input behavior parameter, wherein the target probability is used for representing the probability that the data input behavior meets a specified condition; and comparing the target probability with a preset probability, and determining whether the data input behavior meets the specified condition.
The target behavior data of at least one input behavior parameter may be understood as a specific parameter capable of indicating that the target object inputs a specific parameter meeting a specified condition, for example, a value of a mouse click frequency, a value of a key speed, etc., the target probability may be understood as a probability of occurrence of a click of the current data input behavior of the target object, the preset probability may be understood as a minimum probability threshold preset in advance, and it may be considered that the input behavior of the target object has a click, unlike the target probability, the preset probability may be a probability obtained when the target object is guided in advance to enter a learning case. Specifically, when the target probability is greater than the preset probability, the data input behavior of the target object may be considered to be stuck, and when the target probability is less than or equal to the preset probability, the data input behavior of the target object may be considered to be not stuck.
It can be understood that the value of a specific parameter of the corresponding behavior data can be determined according to the current input behavior of the target object, then the probability of the current input behavior of the target object that is stuck is obtained, and the probability of the current input behavior of the target object that is stuck is compared with the probability that the current input behavior can be considered to be stuck, which is preset in advance, so that whether the current input behavior of the target object is stuck or not can be determined.
In an optional embodiment, after the behavior data of the data input behavior is obtained, analyzing and summarizing the behavior data of the data input behavior to obtain target data of at least one input behavior parameter, and then processing the target data of the at least one input behavior parameter in a summation, weighted summation, averaging and other processing modes to obtain the target probability of the data input behavior that the data input behavior is stuck, and if the target probability is greater than a preset threshold, determining that the target object is stuck indeed, and pushing the target data; if the target probability is smaller than the preset probability, determining that the target object does not have a clamp, and not pushing the target data, so that the writing process of the target object is prevented from being interrupted.
Optionally, determining, based on target behavior data of at least one input behavior parameter, a target probability corresponding to the data input behavior includes: acquiring a weight corresponding to at least one input behavior parameter; normalizing the target behavior data of at least one input behavior parameter to obtain a parameter value of the at least one input behavior parameter; and weighting and summing the parameter values of the at least one input behavior parameter based on the weight corresponding to the at least one input behavior parameter to obtain the target probability.
The normalization process may be understood as a process of changing an absolute value of a numerical value of a physical system into a relative value, and in the embodiment of the present disclosure, may be understood as a process of converting data of input behavior parameters into a relative value between 0 and 100, and the weighted sum may be understood as a process of adding values obtained by multiplying each input behavior parameter and its corresponding weight.
It can be understood that different weights are set for different input behavior parameters, so that whether the target object is stuck or not can be judged more accurately, more reasonable push data are provided for the target object, and the experience of the target object is improved. Specifically, different weights can be set for different input behavior parameters according to the correlation with the result, that is, the higher the correlation between a certain input behavior parameter and the result is, the higher the weight value is, or different weights can be set for different input behavior parameters according to the reliability of the data source of the input behavior parameter, that is, the more reliable the data source of a certain input behavior parameter is, the higher the weight value is, or different initial weights can be set for different input behavior parameters by comprehensively considering the data source of the input behavior parameter and the reliability thereof, the actual influence and effect of the input behavior parameter, the relative importance of the input behavior parameter and the like, and then the initial weights are optimized to obtain the final weight value.
Specifically, the above steps can be understood as: different weights are set for different input behavior parameters, for example, the 'increasing speed of data line number' directly related to the result is set as high weight 10, the first few items of the control parameters are set as next highest weight 8, and the like, then data of all parameters are normalized and converted into relative values, for example, the value of the click frequency of a mouse is converted into relative values between 0 and 100, finally, the relative values of each parameter are weighted and summed to obtain a total score, for example, the total score is 60, and the target probability is 60%.
Optionally, the method further comprises: outputting guide information on a graphical user interface, wherein the guide information is used for guiding a target object to write program codes through natural language; monitoring historical input behaviors of a target object on a graphical user interface, wherein the historical input behaviors are generated by the target object operating on the graphical user interface based on guide information; based on the historical behavior data of the historical input behavior, a preset probability is determined.
The guiding information may be understood as information for guiding the target object to learn a novice course, and the behavior data of the history input behavior may be understood as data generated by an operation performed by the target object according to the guiding information.
It can be understood that by guiding the target object to learn the novice course and monitoring the historical behavior data of the historical input behavior of the target object on the graphical user interface, the behavior data of the target object when the target object is normally input, i.e. no click occurs, can be obtained, so as to obtain the probability threshold of the target object being jammed, i.e. the preset probability.
In an alternative embodiment, the guide information may be displayed in text (e.g., at least one of letters, numbers, letters, etc.) and/or in image (e.g., at least one of pictures, patterns, graphics, etc.), for example, "please follow a guide-learning novice tutorial" may be displayed in text on a graphical user interface.
Optionally, determining the preset probability based on the historical behavior data of the historical input behavior includes: screening preset behavior data of at least one input behavior parameter from historical behavior data of historical input behaviors; the preset probability is determined based on preset behavior data of at least one input behavior parameter.
The preset behavior data of at least one input behavior parameter may be understood as specific data obtained by analyzing and summarizing behavior data of historical input behaviors.
It may be appreciated that determining the preset probability based on the preset behavior data of at least one input behavior parameter may more accurately obtain a probability of occurrence of a click of the target object when performing a normal input behavior, for example, assuming that the input speed of the key is 50 times for 1 minute during normal input of the target object, the normal key input speed of the target object may be considered to be 45-55 times for 1 minute, at this time, the preset probability may be determined according to the range, and when the key input speed of the target object is outside the range, it may be considered that the input behavior of the target object may occur.
In an alternative embodiment, the behavior data of the historical input behavior may be continuously averaged according to the input behavior after the target object, i.e. when a new behavior data appears, all the behavior data including the behavior data are averaged once, so as to obtain an accurate preset probability.
Optionally, the method further comprises: acquiring an image of a target object; performing image recognition on the image of the target object to obtain the emotion state of the target object; based on the behavior data of the data input behavior and the emotional state of the target object, it is determined whether the data input behavior satisfies a specified condition.
The image of the target object may be understood as a facial photograph of the target object, and the emotional state of the target object may be understood as an emotional state of the target object obtained after the facial photograph of the target object is identified, including but not limited to pleasure, tension, anxiety, and the like.
In an alternative embodiment, the image of the target object may be acquired by a camera on the display device, such as a front-facing camera of a mobile phone, a front-facing camera of a tablet computer, a front-facing camera of a computer, or an external camera. The emotional state of the target object may be obtained by recognizing the degree of deformation of the five sense organs of the target object, for example, when the corner of the mouth of the target object is recognized to be raised, the emotional state of the target object at this time may be considered to be pleasant, and when the eyebrow of the target object is recognized to be wrinkled and the corner of the mouth is recognized to be downward, the emotional state of the target object at this time may be considered to be anxiety.
It can be understood that by combining the behavior data of the input behavior of the target object with the emotional state of the target object, whether the input behavior of the current target object is stuck or not can be more accurately judged, so that the data can be more accurately pushed to the target object, and the experience of the target object is improved.
Optionally, in response to the data input behavior meeting the specified condition, acquiring target input data corresponding to the data input behavior includes: acquiring device parameters of input hardware for generating data input behaviors; and responding to the normal input hardware, and acquiring target input data corresponding to the data input behavior when the data input behavior meets the specified condition.
The device parameters of the input hardware may be understood as specific parameters of the hardware device used by the target object during input, including, but not limited to, parameters of a main frequency of a processor, a number of cores of the processor, a memory capacity, a memory speed, a video memory capacity and bit width of a graphics card, a screen refresh rate, a battery capacity, and the like.
In an alternative embodiment, the device parameters of the input hardware of the data input behavior may be obtained by corresponding test software, for example, the memory speed may be obtained by memory speed test software.
It can be understood that whether the input hardware is stuck is judged according to the hardware device parameters, then whether the data input behavior is stuck is judged according to the behavior data of the data input behavior under the condition that the input hardware is not stuck, and misjudgment caused by failure or instability of the input devices such as a mouse, a keyboard, a touch pad and the like used by the target object can be avoided.
Optionally, in response to the input hardware being abnormal, the method further comprises: displaying preset options on the graphical user interface in response to a first preset operation acting on the graphical user interface; in response to a first confirmation operation acting on the preset option, a resource manager window is displayed on the graphical user interface, wherein hardware information of input hardware is displayed in the resource manager window.
The first preset operation may be understood as an operation preset in advance for solving the problem of the occurrence of the jamming of the input hardware, and the preset option may be understood as an option preset in advance for processing the occurrence of the jamming of the input hardware, for example, an option of "going to the resource manager". The first validation operation may be understood as an instruction for the target object to select to open a preset option, and the resource manager may be understood as a system service responsible for managing persistent or persistent data in a database, persistent message queue, or transactional file system.
In an alternative embodiment, the preset options may be displayed in the form of text (e.g., at least one of letters, numbers, letters, etc.) and/or images (e.g., at least one of pictures, patterns, graphics, etc.) within a window as shown in FIG. 3, e.g., may be displayed in text form on a graphical user interface "go to explorer".
In another alternative embodiment, the first confirmation operation may be that the target object has clicked or double-clicked the preset option using the right mouse button.
It can be understood that when the target object detects that the input hardware is blocked, the option of going to the resource manager is directly clicked right, and when the input hardware is blocked, the next operation of the target object is to cut out the editing scene, open the resource manager and view the situation. By adopting the method of the embodiment of the disclosure, the state that the target object stays on the current graphical user interface can be kept, the resource manager window is directly opened, the thought of the target object is not interrupted, and the experience of the target object is improved.
Optionally, acquiring target input data corresponding to the data input behavior includes: acquiring a plurality of lines of input data corresponding to the data input behavior; sequencing the multiple rows of input data according to the sequence of the input time of the multiple rows of input data from near to far to obtain sequenced input data; and acquiring a preset number of input data with the front sequencing from the input data with the front sequencing to obtain target input data.
The specific value of the input data after sorting is not limited by the disclosure, the input data after sorting is understood to be input data after sorting is arranged according to the order of the input time from near to far, the preset number is understood to be preset in advance, for example, assuming that the preset number is 5, the data before sorting can be selected from the 10 data before the input behavior of the target object occurs and used as the at least one input data, and the specific value of the input data can be set by the target object according to the actual requirement without limitation.
It can be understood that the multiple lines of input data are ordered according to the order from near to far of the input time, and the data with the front order are selected as the at least one piece of input data, so that the related data can be pushed as much as possible for the target object by combining the data with strong correlation between the current data of the input behavior of the target object and the previous input data, thereby stimulating more inspiration of the target object and improving the experience of the target object.
Optionally, displaying target pushing data corresponding to the data input behavior on the graphical user interface includes: displaying prompt information on a graphical user interface; and responding to a second confirmation operation acting on the prompt information, and displaying a first prompt window on the graphical user interface, wherein push data corresponding to the preset number of input data are sequentially displayed in the first prompt window.
The prompt information can be understood as information for prompting the target object to view the push data, the information can be displayed in a graphical user interface in the form of a prompt box, the second confirmation operation can be understood as an instruction for selecting and opening the prompt information by the target object, at least one piece of input data can be understood as a plurality of pieces of data input before the occurrence of the click when the input behavior of the target object occurs, the first prompt window can be understood as a window for pushing the prompt information to the target object, and the push data can be understood as data related to the input data obtained by searching and screening by the system according to at least one piece of input data.
FIG. 3 is a schematic diagram of a prompt message according to an embodiment of the disclosure, as shown in FIG. 3, in which the trigger composition interface includes two parts, namely a trigger annotation and a trigger function, and the prompt message may be displayed in a small pop-up prompt box (only the text form is shown in the figure) in the form of text (e.g., at least one of text, number, letter, etc.) and/or image (e.g., at least one of picture, pattern, graphic, etc.), for example, a small prompt box may be popped up in the upper left corner of a mouse cursor, and an image clicking the right mouse button and a text message may be displayed in the prompt box: "hint" in order to hint the target object to view hint information by clicking the right mouse button.
Fig. 4 is a schematic diagram of push data, as shown in fig. 4, taking trigger writing as an example, the writing interface includes two parts of trigger annotation and trigger function, where the push data may be displayed in a right click function list of the mouse (only text form is shown in the figure) in text (for example, at least one of text, number, letter, etc.) and/or image (for example, at least one of picture, pattern, graphic, etc.), for example, "variable-set variable, unit-set life cycle, unit-action in unit group-traversing unit group, unit-cause injury, special effect-play special effect" is displayed in the right click function list of the mouse in text form, where the right click function list of the mouse further includes other common functions, such as paste, new creation, etc.
Optionally, displaying a first prompt window on the graphical user interface, including: determining a first operation position of a second confirmation operation in the graphical user interface; sorting push data corresponding to the preset number of input data based on the input time of the preset number of input data, and generating a push data list; determining a display position of first push data in a push data list based on the first operation position; and displaying a push data list in the first prompt window based on the display position.
The first operation position may be understood as an execution position of the second confirmation operation in the graphical user interface, the push data list may be understood as a data list obtained by ordering push data corresponding to at least one piece of input data according to a sequence from near to far of the input time, and a display position of the first push data may be a position behind the first operation position.
In an alternative embodiment, the first operational location of the second validation operation in the graphical user interface may be determined by establishing a rectangular coordinate system in the graphical user interface.
It can be understood that based on the input time of at least one piece of input data, push data corresponding to the at least one piece of input data are ordered, a push data list is generated, and the target object can conveniently and one-to-one correspond to the at least one piece of input data and the push data, so that the writing inspiration of the target object is better stimulated, and the experience sense of the target object is improved.
Specifically, as shown in fig. 4, after the target object selects to view the push information, the first push data can be directly displayed at the rear of the mouse cursor, so that the purpose of quickly viewing the push information without moving the mouse many times is achieved, the operation of the target object is simplified, and the experience of the target object is further improved.
Optionally, after displaying the first prompt window on the graphical user interface, the method further comprises: responding to the checking operation acted on the first prompting window of the data, and acquiring target description information of the push data corresponding to the data checking operation from a data preset database; and displaying a second prompt window on the data graphical user interface, wherein the data target description information is displayed in the data second prompt window.
The viewing operation may be understood as an instruction that the target object selects to view detailed information of a certain push data, the target description information may be understood as detailed information of the target push data, and the second prompt window may be understood as a window for displaying the push data of the target push data.
In an alternative embodiment, the view operation may be an instruction generated by the target object clicking or double clicking on a certain push data using the left mouse button, the instruction including a specific location of the instruction on the graphical user interface.
In another alternative embodiment, the push data of the target push data may be obtained by collecting the filtered related information from the teaching materials edited in advance by the developer, the forum, writing data according to the trigger of the game published by other authors, and the like.
Fig. 5 is a schematic diagram of detailed data of push data according to an embodiment of the disclosure, where, as shown in fig. 5, a trigger composition is taken as an example, the composition interface includes two parts of trigger annotation and trigger function, the push data of the target push data may be displayed in a second prompt window in the form of text (for example, at least one of text, number, letters, etc.) and/or image (for example, at least one of pictures, patterns, graphics, etc.) and/or video, for example, a related usage example video of the push data is displayed in the second prompt window, and an effect summary of the corresponding data is displayed above the video in the form of text, an example description of the corresponding data is displayed on the right side, common usage data is displayed on the bottom side, and when a mouse cursor of the target object hovers over the corresponding usage data, the effect summary of the corresponding data may be displayed on the right side of the cursor, and the push information in the first window, for example, "variable-set-life cycle, unit-action-cause injury, unit-action-unit-action, and special effect data recorded as described above.
Optionally, the method further comprises: in response to a hover operation acting on the graphical user interface, determining input data corresponding to the hover operation from the target input data; responding to the type of the input data corresponding to the hovering operation as a preset type, and displaying a search control on a graphical user interface; in response to a search instruction acting on the search control, displaying a search window on the graphical user interface, wherein the search window includes at least: historical push data corresponding to input data corresponding to hover operation. .
The hovering operation may be understood as an operation that a target object hovers a mouse cursor, a preset type may be understood as preset in advance, the data is used for representing a certain major class, such as events, conditions, actions and the like, the search control may be understood as an interactable element capable of searching information, such as a button, a text box, a drop-down box and the like, the search instruction may be understood as an instruction that the target object searches information in the search control, and the search window may be understood as a window displayed on the graphical user interface after the target object issues the search instruction.
In an alternative embodiment, the search control may include one or more of a variety of elements, such as buttons, text boxes, drop-down boxes, and the like. Fig. 6 is a schematic diagram of a search window according to an embodiment of the disclosure, as shown in fig. 6, where the composition interface includes two parts, namely, trigger annotation and trigger function, a search control and the push data list may be included in the search window, the search control may be displayed in a text box, and an image and text information of a magnifying glass may be displayed in the text box: the text box is used for prompting a target object to search information, and when the target object hovers a mouse cursor over one of the event, the condition and the action, a corresponding search window can be displayed.
In another alternative embodiment, when the target object inputs text information in the text box of the search control and clicks the search button, the target object can be considered to issue a search instruction.
In another alternative embodiment, the target object may search for historical prompt data through a search control, so that the target object may view prompt data pushed by a previous system at any time.
It can be understood that the search control and the push data list are displayed in the search window at the same time, so that data reference can be provided for the target object before the target object searches for information.
Optionally, the display content of the graphical user interface includes a test button, and the test button is used for testing input data of the target object on the graphical user interface, and the method further includes: responding to a test instruction acted on the test button, and determining the complexity of target input data; generating encouragement information based on the complexity of the target input data; the motivational information is displayed on a graphical user interface.
The test button may be understood as a button for performing a functional test on data that has been input on the current graphical user interface by the target object, the test instruction may be understood as an instruction for performing a test on the input data by the target object, the complexity of the input data by the target may be understood as the complexity of a function that can be implemented by the input data, and the motivation information may be understood as information for performing forward excitation on the target object.
In an alternative embodiment, the target object may be considered to issue a test instruction when the target object presses a test button.
In another alternative embodiment, the complexity of the input sentence may be evaluated in combination with the number of input sentences and the number of rows, for example, when the number of input sentences is greater than 50 and less than 80, the number of rows of the input sentence is greater than 20 and less than 50, the complexity of the current input sentence is considered to be 1 level, when the number of input sentences is greater than 80 and less than 110, the number of rows of the input sentence is considered to be greater than 50 and less than 80, the complexity of the current input sentence is considered to be 2 level, and when the number of input sentences is greater than 110, the number of rows of the input sentence is greater than 80, the complexity of the current input sentence is considered to be 3 level.
In an alternative embodiment, the motivational information may be displayed in the form of text (e.g., at least one of letters, numbers, letters, etc.) and/or images (e.g., at least one of pictures, patterns, graphics, etc.), for example, an image of a "thumb" may be displayed in the center of the graphical user interface after the target object presses the test button, and a "Good-! ".
In an alternative embodiment, different encouragement information may be displayed on the graphical user interface depending on the complexity of the input data, for example, when the complexity of the input data is level 1, "Bravo-! "when the complexity of the input data is level 2," Great-! "when the complexity of the input data is 3 stages," excel-! ".
From the description of the above embodiments, it will be clear to a person skilled in the art that the method according to the above embodiments may be implemented by means of software plus the necessary general hardware platform, but of course also by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present disclosure may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), including several instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method described in the embodiments of the present disclosure.
In this embodiment, a device is further provided, and the device is used to implement the foregoing embodiments and preferred embodiments, which are not described in detail. As used below, the terms "subunit," "unit," "module" may be a combination of software and/or hardware that implements the predetermined functionality. While the means described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.
Fig. 7 is a block diagram of a data pushing device according to an embodiment of the present disclosure, where a graphical user interface is provided by a terminal device, and contents displayed on the graphical user interface include a touch area, as shown in the drawing, the device includes: a behavior monitoring module 702, configured to monitor a data input behavior of a target object on a graphical user interface; the behavior response module 704 is configured to obtain target input data corresponding to the data input behavior in response to the data input behavior meeting a specified condition, where the target input data is used to write a program code in natural language; the data acquisition module 706 is configured to acquire target pushing data matched with the target input data from a preset database based on a target function described by the target input data; the data pushing module 708 is configured to push target pushing data to the gui to enable the data input behavior to continue, where the target pushing data is used to describe a canonical program writing method corresponding to the target function. .
The device further comprises: the screening module is used for screening target behavior data of at least one input behavior parameter from the behavior data of the data input behavior; the first determining module is used for determining target probability corresponding to the data input behavior based on target behavior data of at least one input behavior parameter, wherein the target probability is used for representing the probability that the data input behavior meets a specified condition; and the comparison module is used for comparing the target probability with the preset probability and determining whether the data input behavior meets the specified condition.
The determining module comprises: the weight acquisition unit is used for acquiring the weight corresponding to at least one input behavior parameter; the data processing unit is used for carrying out normalization processing on the target behavior data of at least one input behavior parameter to obtain a parameter value of the at least one input behavior parameter; and the weighting unit is used for carrying out weighted summation on the parameter value of the at least one input behavior parameter based on the weight corresponding to the at least one input behavior parameter to obtain the target probability.
The device further comprises: the information output module is used for outputting guide information on the graphical user interface, wherein the guide information is used for guiding a target object to write a program code through natural language; the data monitoring module is used for monitoring the historical input behavior of the target object on the graphical user interface, wherein the historical input behavior is generated by the target object operating on the graphical user interface based on the guiding information; the probability determining module is used for determining a preset probability based on historical behavior data of the historical input behaviors.
The probability determination module comprises: the screening unit is used for screening preset behavior data of at least one input behavior parameter from the historical behavior data of the historical input behaviors; and the first determining unit is used for determining the preset probability based on preset behavior data of at least one input behavior parameter.
The device further comprises: the image acquisition module is used for acquiring an image of the target object; the image recognition module is used for carrying out image recognition on the image of the target object to obtain the emotion state of the target object; and the second determining module is used for determining whether the data input behavior meets the specified condition or not based on the behavior data of the data input behavior and the emotion state of the target object.
The behavioral response module 704 further includes: a parameter acquisition unit for acquiring device parameters of input hardware for generating data input behavior; and the second determining unit is used for responding to the condition that the input hardware is normal and the data input behavior meets the specified condition, and acquiring target input data corresponding to the data input behavior.
The device further comprises: the first display module is used for responding to a first preset operation acted on the graphical user interface and displaying preset options on the graphical user interface; and the second display module is used for responding to the first confirmation operation acting on the preset options, displaying a resource manager window on the graphical user interface, and displaying hardware information of input hardware in the resource manager window.
The behavioral response module 704 includes: the first acquisition unit is used for acquiring a plurality of lines of input data corresponding to the data input behavior; the sorting unit is used for sorting the multiple rows of input data according to the sequence of the input time of the multiple rows of input data from near to far to obtain sorted input data; the second acquisition unit is used for acquiring a preset number of input data which are ranked in front from the input data which are ranked in front, so as to obtain target input data.
The data push module 708 includes: the information display unit is used for displaying prompt information on the graphical user interface; the data acquisition unit is used for responding to a second confirmation operation acting on the prompt information and acquiring at least one piece of input data corresponding to the data input behavior; and the display unit is used for responding to the second confirmation operation acting on the prompt information and displaying a first prompt window on the graphical user interface, wherein the first prompt window sequentially displays push data corresponding to the preset number of input data.
The display unit includes; a first position determining subunit for determining a first operation position of the second confirmation operation in the graphical user interface; the sorting unit is used for sorting push data corresponding to the preset number of input data based on the input time of the preset number of input data, and generating a push data list; a second position determining subunit, configured to determine, based on the first operation position, a display position of the first push data in the push data list; and the list display subunit is used for displaying the push data list in the first prompt window based on the display position.
After displaying the first prompt window on the graphical user interface, the apparatus further comprises: the data acquisition module is used for responding to the checking operation acted on the first prompt window and acquiring target description information of push data corresponding to the checking operation from a preset database; the first window display module is used for displaying a second prompt window on the graphical user interface, wherein target description information is displayed in the second prompt window.
The device further comprises: the data determining module is used for responding to the hovering operation acted on the graphical user interface and determining input data corresponding to the hovering operation from target input data; the control display module is used for responding to the type of the input data corresponding to the hovering operation as a preset type and displaying a search control on the graphical user interface; and a second window display module for displaying a search window on the graphical user interface in response to a search instruction acting on the search control, wherein the search window comprises at least: historical push data corresponding to input data corresponding to hover operation.
The display content of the graphical user interface comprises a test button for testing input data of the target object on the graphical user interface, the device further comprising: the complexity determining module is used for responding to the test instruction acted on the test button and determining the complexity of the target input data; the information generation module is used for generating encouraging information based on the complexity of the target input data; and the encouraging information display module is used for displaying encouraging information on the graphical user interface.
It should be noted that each of the above sub-units, and modules may be implemented by software or hardware, and the latter may be implemented by, but is not limited to: the subunits, the units and the modules are all positioned in the same processor; alternatively, each of the above sub-units, and modules may be located in any combination in different processors.
Embodiments of the present disclosure also provide a computer readable storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the method embodiments described above when run.
Alternatively, in the present embodiment, the above-described computer-readable storage medium may include, but is not limited to: a usb disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing a computer program.
Alternatively, in this embodiment, the above-mentioned computer-readable storage medium may be located in any one of the computer terminals in the computer terminal group in the computer network, or in any one of the mobile terminals in the mobile terminal group.
Alternatively, in the present embodiment, the above-described computer-readable storage medium may be configured to store a computer program for performing the steps of:
monitoring the data input behavior of a target object on a graphical user interface;
responding to the data input behavior meeting the specified condition, acquiring target input data corresponding to the data input behavior, wherein the target input data is used for writing a program code through natural language;
acquiring target pushing data matched with target input data from a preset database based on target functions described by the target input data;
pushing target push data to a graphical user interface so as to enable data input behavior to continue, wherein the target push data is used for describing a standard program writing method corresponding to a target function.
Optionally, the above computer readable storage medium is further configured to store program code for performing the steps of: screening target behavior data of at least one input behavior parameter from the behavior data of the data input behavior; determining target probability corresponding to the data input behavior based on target behavior data of at least one input behavior parameter, wherein the target probability is used for representing the probability that the data input behavior meets a specified condition; and comparing the target probability with a preset probability, and determining whether the data input behavior meets the specified condition.
Optionally, the above computer readable storage medium is further configured to store program code for performing the steps of: acquiring a weight corresponding to at least one input behavior parameter; normalizing the target behavior data of at least one input behavior parameter to obtain a parameter value of the at least one input behavior parameter; and weighting and summing the parameter values of the at least one input behavior parameter based on the weight corresponding to the at least one input behavior parameter to obtain the target probability.
Optionally, the above computer readable storage medium is further configured to store program code for performing the steps of: outputting guide information on a graphical user interface, wherein the guide information is used for guiding a target object to write program codes through natural language; monitoring historical input behaviors of a target object on a graphical user interface, wherein the historical input behaviors are generated by the target object operating on the graphical user interface based on guide information; based on the historical behavior data of the historical input behavior, a preset probability is determined.
Optionally, the above computer readable storage medium is further configured to store program code for performing the steps of: determining a preset probability based on historical behavior data of the historical input behavior comprises: screening preset behavior data of at least one input behavior parameter from historical behavior data of historical input behaviors; the preset probability is determined based on preset behavior data of at least one input behavior parameter.
Optionally, the above computer readable storage medium is further configured to store program code for performing the steps of: acquiring an image of a target object; performing image recognition on the image of the target object to obtain the emotion state of the target object; based on the behavior data of the data input behavior and the emotional state of the target object, it is determined whether the data input behavior satisfies a specified condition.
Optionally, the above computer readable storage medium is further configured to store program code for performing the steps of: acquiring device parameters of input hardware for generating data input behaviors; and responding to the normal input hardware, and acquiring target input data corresponding to the data input behavior when the data input behavior meets the specified condition.
Optionally, the above computer readable storage medium is further configured to store program code for performing the steps of: displaying preset options on the graphical user interface in response to a first preset operation acting on the graphical user interface; in response to a first confirmation operation acting on the preset option, a resource manager window is displayed on the graphical user interface, wherein hardware information of input hardware is displayed in the resource manager window.
Optionally, the above computer readable storage medium is further configured to store program code for performing the steps of: acquiring a plurality of lines of input data corresponding to data input behaviors; sequencing the multiple rows of input data according to the sequence of the input time of the multiple rows of input data from near to far to obtain sequenced input data; and acquiring a preset number of input data with the front sequencing from the input data with the front sequencing to obtain target input data.
Optionally, the above computer readable storage medium is further configured to store program code for performing the steps of: displaying prompt information on a graphical user interface; and responding to a second confirmation operation acting on the prompt information, and displaying a first prompt window on the graphical user interface, wherein push data corresponding to the preset number of input data are sequentially displayed in the first prompt window.
Optionally, the above computer readable storage medium is further configured to store program code for performing the steps of: determining a first operation position of a second confirmation operation in the graphical user interface; sorting push data corresponding to the preset number of input data based on the input time of the preset number of input data, and generating a push data list; determining a display position of first push data in a push data list based on the first operation position; and displaying a push data list in the first prompt window based on the display position.
Optionally, the above computer readable storage medium is further configured to store program code for performing the steps of: responding to a checking operation acted on a first prompt window, and acquiring target description information of push data corresponding to the checking operation from a preset database; and displaying a second prompt window on the graphical user interface, wherein target description information is displayed in the second prompt window.
Optionally, the above computer readable storage medium is further configured to store program code for performing the steps of: in response to a hover operation acting on the graphical user interface, determining input data corresponding to the hover operation from the target input data; responding to the type of the input data corresponding to the hovering operation as a preset type, and displaying a search control on a graphical user interface; in response to a search instruction acting on the search control, displaying a search window on the graphical user interface, wherein the search window includes at least: historical push data corresponding to input data corresponding to hover operation.
Optionally, the above computer readable storage medium is further configured to store program code for performing the steps of: responding to a test instruction acted on the test button, and determining the complexity of target input data; generating encouragement information based on the complexity of the target input data; the motivational information is displayed on a graphical user interface.
In the computer readable storage medium of this embodiment, listening for data input behavior of the target object on the graphical user interface; responding to the data input behavior meeting the specified condition, acquiring target input data corresponding to the data input behavior, wherein the target input data is used for writing a program code through natural language; acquiring target pushing data matched with target input data from a preset database based on target functions described by the target input data; pushing target push data to the graphical user interface so as to enable the data input behavior to continue, wherein it is noted that the target push data is used for describing a standard program writing method corresponding to the target function. By the method, when the input behavior of the target object is detected to meet the specified condition, related information is pushed on the current input interface of the target object, the aim of providing writing inspiration for the target object under the condition of not interrupting the target object is achieved, the technical effect of intuitively pushing data for the target object in the writing process of the target object is achieved, and the technical problems that the target object actively searches for prompt data when a card is in the writing process in the related art, and the operation is complex and the efficiency is low are solved.
The above description of the embodiments, those skilled in the art will readily appreciate that the example embodiments described herein may be implemented in software, or may be implemented in software in combination with the necessary hardware. Thus, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a computer readable storage medium (may be a CD-ROM, a U-disk, a mobile hard disk, etc.) or on a network, including several instructions to cause a computing device (may be a personal computer, a server, a terminal device, or a network device, etc.) to perform the method according to the embodiments of the present disclosure.
In an exemplary embodiment of the present application, a computer-readable storage medium stores thereon a program product capable of implementing the method described above in this embodiment. In some possible implementations, aspects of the disclosed embodiments may also be implemented in the form of a program product comprising program code for causing a terminal device to carry out the steps according to the various exemplary embodiments of the disclosure as described in the "exemplary methods" section of the disclosure, when the program product is run on the terminal device.
A program product for implementing the above-described method according to an embodiment of the present disclosure may employ a portable compact disc read-only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a personal computer. However, the program product of the embodiments of the present disclosure is not limited thereto, and in the embodiments of the present disclosure, the computer-readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
Any combination of one or more computer readable media may be employed by the program product described above. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: an electrical connection having one or more wires, a portable disk, a hard disk, random Access Memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
It should be noted that the program code embodied on the computer readable storage medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Embodiments of the present disclosure also provide an electronic device comprising a memory having stored therein a computer program and a processor arranged to run the computer program to perform the steps of any of the method embodiments described above.
Optionally, the electronic apparatus may further include a transmission device and an input/output device, where the transmission device is connected to the processor, and the input/output device is connected to the processor.
Alternatively, in the present embodiment, the above-described processor may be configured to execute the following steps by a computer program:
monitoring the data input behavior of a target object on a graphical user interface;
responding to the data input behavior meeting the specified condition, acquiring target input data corresponding to the data input behavior, wherein the target input data is used for writing a program code through natural language;
acquiring target pushing data matched with target input data from a preset database based on target functions described by the target input data;
Pushing target push data to a graphical user interface so as to enable data input behavior to continue, wherein the target push data is used for describing a standard program writing method corresponding to a target function.
Optionally, the above processor may be further configured to perform the following steps by a computer program: screening target behavior data of at least one input behavior parameter from the behavior data of the data input behavior; determining target probability corresponding to the data input behavior based on target behavior data of at least one input behavior parameter, wherein the target probability is used for representing the probability that the data input behavior meets a specified condition; and comparing the target probability with a preset probability, and determining whether the data input behavior meets the specified condition.
Optionally, the above processor may be further configured to perform the following steps by a computer program: acquiring a weight corresponding to at least one input behavior parameter; normalizing the target behavior data of at least one input behavior parameter to obtain a parameter value of the at least one input behavior parameter; and weighting and summing the parameter values of the at least one input behavior parameter based on the weight corresponding to the at least one input behavior parameter to obtain the target probability.
Optionally, the above processor may be further configured to perform the following steps by a computer program: outputting guide information on a graphical user interface, wherein the guide information is used for guiding a target object to write program codes through natural language; monitoring historical input behaviors of a target object on a graphical user interface, wherein the historical input behaviors are generated by the target object operating on the graphical user interface based on guide information; based on the historical behavior data of the historical input behavior, a preset probability is determined.
Optionally, the above processor may be further configured to perform the following steps by a computer program: determining a preset probability based on historical behavior data of the historical input behavior comprises: screening preset behavior data of at least one input behavior parameter from historical behavior data of historical input behaviors; the preset probability is determined based on preset behavior data of at least one input behavior parameter.
Optionally, the above processor may be further configured to perform the following steps by a computer program: acquiring an image of a target object; performing image recognition on the image of the target object to obtain the emotion state of the target object; based on the behavior data of the data input behavior and the emotional state of the target object, it is determined whether the data input behavior satisfies a specified condition.
Optionally, the above processor may be further configured to perform the following steps by a computer program: acquiring device parameters of input hardware for generating data input behaviors; and responding to the normal input hardware, and acquiring target input data corresponding to the data input behavior when the data input behavior meets the specified condition.
Optionally, the above processor may be further configured to perform the following steps by a computer program: displaying preset options on the graphical user interface in response to a first preset operation acting on the graphical user interface; in response to a first confirmation operation acting on the preset option, a resource manager window is displayed on the graphical user interface, wherein hardware information of input hardware is displayed in the resource manager window.
Optionally, the above processor may be further configured to perform the following steps by a computer program: acquiring a plurality of lines of input data corresponding to data input behaviors; sequencing the multiple rows of input data according to the sequence of the input time of the multiple rows of input data from near to far to obtain sequenced input data; and acquiring a preset number of input data with the front sequencing from the input data with the front sequencing to obtain target input data.
Optionally, the above processor may be further configured to perform the following steps by a computer program: displaying prompt information on a graphical user interface; and responding to a second confirmation operation acting on the prompt information, and displaying a first prompt window on the graphical user interface, wherein push data corresponding to the preset number of input data are sequentially displayed in the first prompt window.
Optionally, the above processor may be further configured to perform the following steps by a computer program: determining a first operation position of a second confirmation operation in the graphical user interface; sorting push data corresponding to the preset number of input data based on the input time of the preset number of input data, and generating a push data list; determining a display position of first push data in a push data list based on the first operation position; and displaying a push data list in the first prompt window based on the display position.
Optionally, the above processor may be further configured to perform the following steps by a computer program: responding to a checking operation acted on a first prompt window, and acquiring target description information of push data corresponding to the checking operation from a preset database; and displaying a second prompt window on the graphical user interface, wherein target description information is displayed in the second prompt window.
Optionally, the above processor may be further configured to perform the following steps by a computer program: in response to a hover operation acting on the graphical user interface, determining input data corresponding to the hover operation from the target input data; responding to the type of the input data corresponding to the hovering operation as a preset type, and displaying a search control on a graphical user interface; in response to a search instruction acting on the search control, displaying a search window on the graphical user interface, wherein the search window includes at least: historical push data corresponding to input data corresponding to hover operation.
Optionally, the above processor may be further configured to perform the following steps by a computer program: responding to a test instruction acted on the test button, and determining the complexity of target input data; generating encouragement information based on the complexity of the target input data; the motivational information is displayed on a graphical user interface.
In the electronic device of the embodiment, monitoring the data input behavior of the target object on the graphical user interface; responding to the data input behavior meeting the specified condition, acquiring target input data corresponding to the data input behavior, wherein the target input data is used for writing a program code through natural language; acquiring target pushing data matched with target input data from a preset database based on target functions described by the target input data; pushing target push data to the graphical user interface so as to enable the data input behavior to continue, wherein it is noted that the target push data is used for describing a standard program writing method corresponding to the target function. By the method, when the input behavior of the target object is detected to meet the specified condition, related information is pushed on the current input interface of the target object, the aim of providing writing inspiration for the target object under the condition of not interrupting the target object is achieved, the technical effect of intuitively pushing data for the target object in the writing process of the target object is achieved, and the technical problems that the target object actively searches for prompt data when a card is in the writing process in the related art, and the operation is complex and the efficiency is low are solved.
Fig. 8 is a schematic diagram of an electronic device according to an embodiment of the disclosure. As shown in fig. 8, the electronic device 800 is merely an example and should not be construed to limit the functionality and scope of use of the disclosed embodiments.
As shown in fig. 8, the electronic apparatus 800 is embodied in the form of a general purpose computing device. Components of the electronic device 800 may include, but are not limited to: the at least one processor 810, the at least one memory 820, a bus 830 connecting the various system components including the memory 820 and the processor 810, and a display 840.
Wherein the memory 820 stores program code that can be executed by the processor 810 such that the processor 810 performs steps according to various exemplary implementations of the present disclosure described in the above method section of the embodiments of the present application.
The memory 820 may include readable media in the form of volatile memory units, such as Random Access Memory (RAM) 8201 and/or cache memory 8202, and may further include Read Only Memory (ROM) 8203, and may also include nonvolatile memory, such as one or more magnetic storage devices, flash memory, or other nonvolatile solid state memory.
In some examples, memory 820 may also include a program/utility 8204 having a set (at least one) of program modules 8205, such program modules 8205 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment. The memory 820 may further include memory remotely located relative to the processor 810, which may be connected to the electronic device 800 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
Bus 830 may be one or more of several types of bus structures including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, processor 810, or a local bus using any of a variety of bus architectures.
Display 840 may be, for example, a touch screen type Liquid Crystal Display (LCD) that may enable a target object to interact with a user interface of electronic device 800.
Optionally, the electronic apparatus 800 may also communicate with one or more external devices 900 (e.g., keyboard, pointing device, bluetooth device, etc.), with one or more devices that enable a target object to interact with the electronic apparatus 800, and/or with any device (e.g., router, modem, etc.) that enables the electronic apparatus 800 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 850. Also, the electronic device 800 may communicate with one or more networks such as a Local Area Network (LAN), a Wide Area Network (WAN) and/or a public network, such as the Internet, through the network adapter 860. As shown in fig. 8, network adapter 860 communicates with other modules of electronic device 800 over bus 830. It should be appreciated that although not shown in fig. 8, other hardware and/or software modules may be used in connection with the electronic device 800, which may include, but are not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
The electronic device 800 may further include: a keyboard, a cursor control device (e.g., a mouse), an input/output interface (I/O interface), a network interface, a power supply, and/or a camera.
It will be appreciated by those of ordinary skill in the art that the configuration shown in fig. 8 is merely illustrative and is not intended to limit the configuration of the electronic device described above. For example, the electronic device 800 may also include more or fewer components than shown in fig. 8, or have a different configuration than shown in fig. 1. The memory 820 may be used to store a computer program and corresponding data, such as a computer program and corresponding data corresponding to a data pushing method in an embodiment of the present disclosure. The processor 810 executes a computer program stored in the memory 820 to perform various functional applications and data processing, i.e., to implement the data pushing method described above.
The foregoing embodiment numbers of the present disclosure are merely for description and do not represent advantages or disadvantages of the embodiments.
In the foregoing embodiments of the present disclosure, the descriptions of the various embodiments are emphasized, and for a portion of this disclosure that is not described in detail in this embodiment, reference is made to the related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed technology may be implemented in other manners. The above-described embodiments of the apparatus are merely exemplary, and the division of the units, for example, may be a logic function division, and may be implemented in another manner, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some interfaces, units or modules, or may be in electrical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present disclosure may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present disclosure may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a storage medium, including several instructions to cause a computer device (which may be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in the embodiments of the present disclosure. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely a preferred embodiment of the present disclosure, and it should be noted that modifications and adaptations to those skilled in the art may be made without departing from the principles of the present disclosure, which are intended to be comprehended within the scope of the present disclosure.

Claims (17)

1. The data pushing method is characterized by comprising the following steps of:
monitoring the data input behavior of the target object on the graphical user interface;
responding to the data input behavior meeting a specified condition, and acquiring target input data corresponding to the data input behavior, wherein the target input data is used for writing a program code through natural language;
acquiring target pushing data matched with the target input data from a preset database based on the target function described by the target input data;
pushing the target push data to the graphical user interface so as to enable the data input behavior to continue, wherein the target push data is used for describing a standard program writing method corresponding to the target function.
2. The method according to claim 1, wherein the method further comprises:
screening target behavior data of at least one input behavior parameter from the behavior data of the data input behavior;
Determining a target probability corresponding to the data input behavior based on target behavior data of the at least one input behavior parameter, wherein the target probability is used for representing the probability that the data input behavior meets the specified condition;
and comparing the target probability with a preset probability, and determining whether the data input behavior meets the specified condition.
3. The method of claim 2, wherein determining the target probability for the data input behavior based on target behavior data for the at least one input behavior parameter comprises:
acquiring a weight corresponding to the at least one input behavior parameter;
normalizing the target behavior data of the at least one input behavior parameter to obtain a parameter value of the at least one input behavior parameter;
and weighting and summing the parameter values of the at least one input behavior parameter based on the weight corresponding to the at least one input behavior parameter to obtain the target probability.
4. The method according to claim 2, wherein the method further comprises:
outputting guide information on the graphical user interface, wherein the guide information is used for guiding the target object to write program codes through natural language;
Monitoring historical input behaviors of the target object on the graphical user interface, wherein the historical input behaviors are generated by the target object operating on the graphical user interface based on the guiding information;
and determining the preset probability based on the historical behavior data of the historical input behavior.
5. The method of claim 4, wherein determining the preset probability based on the historical behavior data of the historical input behavior comprises:
screening preset behavior data of the at least one input behavior parameter from the historical behavior data of the historical input behaviors;
and determining the preset probability based on preset behavior data of the at least one input behavior parameter.
6. The method according to claim 1, wherein the method further comprises:
acquiring an image of the target object;
performing image recognition on the image of the target object to obtain the emotion state of the target object;
based on the behavior data of the data input behavior and the emotional state of the target object, it is determined whether the data input behavior satisfies the specified condition.
7. The method of claim 1, wherein responsive to the data input behavior satisfying the specified condition, obtaining the target input data corresponding to the data input behavior comprises:
Acquiring device parameters of input hardware for generating the data input behavior;
and responding to the normal state of the input hardware, and acquiring the target input data corresponding to the data input behavior when the data input behavior meets the specified condition.
8. The method of claim 7, wherein in response to the input hardware being abnormal, the method further comprises:
displaying preset options on the graphical user interface in response to a first preset operation acting on the graphical user interface;
and responding to a first confirmation operation acting on the preset options, displaying a resource manager window on the graphical user interface, wherein the hardware information of the input hardware is displayed in the resource manager window.
9. The method of claim 1, wherein obtaining target input data corresponding to the data input behavior comprises:
acquiring a plurality of lines of input data corresponding to the data input behaviors;
sequencing the multiple rows of input data according to the sequence of the input time of the multiple rows of input data from near to far to obtain sequenced input data;
and acquiring a preset number of input data with the front sequencing from the input data with the front sequencing to obtain the target input data.
10. The method of claim 9, wherein the target push data comprises: pushing the target pushing data to the graphical user interface according to pushing data corresponding to the preset number of input data, including:
displaying the prompt information on the graphical user interface;
and responding to a second confirmation operation acting on the prompt information, and displaying a first prompt window on the graphical user interface, wherein push data corresponding to the preset quantity of input data are sequentially displayed in the first prompt window.
11. The method of claim 10, wherein displaying the first prompt window on the graphical user interface comprises:
determining a first operational location of the second validation operation in the graphical user interface;
sorting push data corresponding to the preset number of input data based on the input time of the preset number of input data, and generating a push data list;
determining a display position of first push data in the push data list based on the first operation position;
and displaying the push data list in the first prompt window based on the display position.
12. The method of claim 10, wherein after displaying the first prompt window on the graphical user interface, the method further comprises:
responding to the checking operation acted on the first prompt window, and acquiring target description information of pushing data corresponding to the checking operation from the preset database;
and displaying a second prompt window on the graphical user interface, wherein the target description information is displayed in the second prompt window.
13. The method according to claim 9, wherein the method further comprises:
responding to a hovering operation acted on the graphical user interface, and determining input data corresponding to the hovering operation from the target input data;
responding to the type of the input data corresponding to the hovering operation as a preset type, and displaying a search control on the graphical user interface;
in response to a search instruction acting on the search control, displaying a search window on the graphical user interface, wherein the search window comprises at least: and historical push data corresponding to the input data corresponding to the hovering operation.
14. The method of claim 1, wherein the display of the graphical user interface includes a test button for testing input data of the target object on the graphical user interface, the method further comprising:
Determining the complexity of the target input data in response to a test instruction acting on the test button;
generating encouragement information based on the complexity of the target input data;
the motivational information is displayed on the graphical user interface.
15. A data pushing apparatus, comprising:
the behavior monitoring module is used for monitoring the data input behavior of the target object on the graphical user interface;
the behavior response module is used for responding to the data input behavior to meet the specified condition and obtaining target input data corresponding to the data input behavior, wherein the target input data is used for writing a program code through natural language;
the data acquisition module is used for acquiring target pushing data matched with the target input data from a preset database based on the target function described by the target input data;
and the data pushing module is used for pushing the target pushing data to the graphical user interface so as to enable the data input behavior to continue, wherein the target pushing data is used for describing a standard program writing method corresponding to the target function.
16. A computer readable storage medium, characterized in that the computer readable storage medium has stored therein a computer program, wherein the computer program is arranged to perform the method of any of claims 1 to 14 when being run by a processor.
17. An electronic device comprising a memory and a processor, wherein the memory has stored therein a computer program, the processor being arranged to run the computer program to perform the method of any of claims 1 to 14.
CN202311008605.0A 2023-08-10 2023-08-10 Data pushing method and device, computer readable storage medium and electronic device Pending CN117172242A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311008605.0A CN117172242A (en) 2023-08-10 2023-08-10 Data pushing method and device, computer readable storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311008605.0A CN117172242A (en) 2023-08-10 2023-08-10 Data pushing method and device, computer readable storage medium and electronic device

Publications (1)

Publication Number Publication Date
CN117172242A true CN117172242A (en) 2023-12-05

Family

ID=88945950

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311008605.0A Pending CN117172242A (en) 2023-08-10 2023-08-10 Data pushing method and device, computer readable storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN117172242A (en)

Similar Documents

Publication Publication Date Title
Gurari et al. Captioning images taken by people who are blind
US9971763B2 (en) Named entity recognition
Kołakowska A review of emotion recognition methods based on keystroke dynamics and mouse movements
CN101645065B (en) Determine the method for the auxiliary lexicon needing loading, device and input method system
CN108647205A (en) Fine granularity sentiment analysis model building method, equipment and readable storage medium storing program for executing
CN102112944A (en) User-defined gesture set for surface computing
US20180124437A1 (en) System and method for video data collection
US11205418B2 (en) Monotone speech detection
WO2020210008A1 (en) Targeted rewrites
US10691896B2 (en) Conversational system user behavior identification
CN111563158B (en) Text ranking method, ranking apparatus, server and computer-readable storage medium
CN109582798A (en) Automatic question-answering method, system and equipment
WO2016099983A1 (en) Modeling actions, consequences and goal achievement from social media and other digital traces
CN110941953A (en) Automatic identification method and system for network false comments considering interpretability
CN110288403A (en) It keeps and plays frame method of ejecting, system, equipment and storage medium
Liu et al. Generating descriptions for screenshots to assist crowdsourced testing
US10229212B2 (en) Identifying Abandonment Using Gesture Movement
Stanik et al. Which app features are being used? Learning app feature usages from interaction data
Alharbi et al. The effects of predictive features of mobile keyboards on text entry speed and errors
CN117172242A (en) Data pushing method and device, computer readable storage medium and electronic device
Shapiro et al. Visual deep learning recommender system for personal computer users
CN113138676B (en) Expression symbol display method and device
KR101781597B1 (en) Apparatus and method for creating information on electronic publication
Hoque et al. An interactive system for exploring community question answering forums
CN111126033A (en) Response prediction device and method for article

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