CN111026485B - Data processing method and device - Google Patents

Data processing method and device Download PDF

Info

Publication number
CN111026485B
CN111026485B CN201911212476.0A CN201911212476A CN111026485B CN 111026485 B CN111026485 B CN 111026485B CN 201911212476 A CN201911212476 A CN 201911212476A CN 111026485 B CN111026485 B CN 111026485B
Authority
CN
China
Prior art keywords
interface
data
data display
source interface
source
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.)
Active
Application number
CN201911212476.0A
Other languages
Chinese (zh)
Other versions
CN111026485A (en
Inventor
雷彬
刘嘉鑫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Yayue Technology Co ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201911212476.0A priority Critical patent/CN111026485B/en
Publication of CN111026485A publication Critical patent/CN111026485A/en
Application granted granted Critical
Publication of CN111026485B publication Critical patent/CN111026485B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Abstract

The embodiment of the application provides a data processing method and a data processing device, wherein the data processing method comprises the steps of firstly obtaining user use data corresponding to a source interface; then displaying a data display interface; finally, displaying the user use data through a data display area of the data display interface; according to the method and the device, after the user use data of the source interface is obtained, the user use data are displayed by adopting the data display interface which uses the same frame as the source interface, for example, the user use data corresponding to the visual elements are displayed in the data display area corresponding to the visual elements on the data display interface which uses the same frame as the source interface and has the same layout as the first interface frame on the second interface frame, and the user use data corresponding to the visual elements can be displayed in the data display area corresponding to the visual elements when the user use data need to be viewed, so that the user use data corresponding to the visual elements can be viewed, the visual elements correspond to the user use data, and the problems of missing and wrong inspection can not occur when the user use data are viewed.

Description

Data processing method and device
Technical Field
The present application relates to the field of data processing, and in particular, to a data processing method and apparatus.
Background
In the current product design process, corresponding data are reported in order to obtain the service condition and the user behavior of the product, so that the product is optimized and improved. User use data reported by the current product is displayed in a mode shown in fig. 1, a summary list of the user use data is established on the left side of a page, and details corresponding to each user use data are displayed on the right side of the page.
Therefore, the current data display method used by users has the technical problem of easy omission and error check.
Disclosure of Invention
The application provides a data processing method and a data processing device, which are used for solving the technical problem that the current data display method used by a user is easy to miss and error check.
In one aspect, an embodiment of the present application provides a data processing method, which includes:
acquiring user use data corresponding to a source interface; the source interface comprises a visualization element and a first interface framework defining a layout of the visualization element, and the user usage data comprises data of the user usage of the visualization element;
displaying a data display interface; the data display interface comprises a data display area and a second interface frame defining the layout of the data display area, the second interface frame corresponds to the first interface frame, and the layout of the visual elements corresponds to the layout of the data display area;
and displaying the user use data through a data display area of the data display interface.
In one aspect, an embodiment of the present application provides a data processing apparatus, which includes:
the data acquisition module is used for acquiring user use data corresponding to the source interface; the source interface comprises a visualization element and a first interface framework defining a layout of the visualization element, and the user usage data comprises data of the user usage of the visualization element;
the display module is used for displaying a data display interface; the data display interface comprises a data display area and a second interface frame defining the layout of the data display area, the second interface frame corresponds to the first interface frame, and the layout of the visual elements corresponds to the layout of the data display area;
and the display module is used for displaying the user use data through a data display area of the data display interface.
In one embodiment, the data acquisition module is configured to send an interface identifier of a source interface to the server; and receiving the user use data returned by the server according to the interface identifier of the source interface.
In an embodiment, the data obtaining module is further configured to send the developer identifier to the server; and receiving the source interface returned by the server according to the developer identification and the interface identification of the source interface.
In one embodiment, the data acquisition module is configured to send the developer identifier to the server; receiving a first source interface list returned by the server according to the developer identification, wherein the first source interface list comprises a plurality of source interfaces and interface identifications of the source interfaces; according to user operation, selecting a source interface from the first source interface list, and determining the source interface needing to acquire user use data; and acquiring user use data corresponding to the source interface from the server according to the selected interface identifier of the source interface.
In one embodiment, the data acquisition module is configured to send the developer identifier to the server; receiving a second source interface list returned by the server according to the developer identification and a user use data list corresponding to the second source interface list; according to user operation, selecting a source interface from the second source interface list, and determining the source interface needing to acquire user use data; and obtaining user use data corresponding to the source interface from the user use data list according to the selected source interface.
In one embodiment, the display module is configured to send an interface identifier of the source interface to the server; receiving an interface identifier of a server based on a source interface and an obtained interface identifier of a data display interface corresponding to the source interface; acquiring display data corresponding to the data display interface according to the interface identifier of the data display interface, wherein the display data comprise a data display area and a second interface frame defining the data display area; and displaying the data display interface according to the data display area and a second interface frame defining the data display area.
In an embodiment, the display module is further configured to send a binding request to the server, where the binding request carries an interface identifier of the source interface and an interface identifier of the data presentation interface, and is used to trigger binding of the source interface and the data presentation interface; and receiving feedback of successful binding of the source interface and the data display interface returned by the server.
In one embodiment, the display module is configured to parse the source interface to obtain a first interface frame and a visualization element; obtaining a data display area corresponding to the visual element according to the visual element; obtaining a second interface frame corresponding to the first interface frame according to the first interface frame; and displaying the data display interface according to the data display area and the second interface frame.
In one embodiment, the display module is configured to determine a visualization element corresponding to the data display area; determining user use data corresponding to the visual elements from the user use data; and displaying the user usage data corresponding to the selected visual elements in the data display areas corresponding to the selected visual elements.
In one embodiment, the display module is used for detecting whether the data display area is triggered to display; if so, displaying the user use data in the data display area; if not, hiding the user use data in the data display area.
In one aspect, embodiments of the present application provide a terminal, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the method as described above.
In one aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, wherein the computer program, when executed by a processor, implements the steps in the above method.
The embodiment of the application provides a data processing method and a data processing device, wherein the data processing method comprises the steps of firstly acquiring user use data corresponding to a source interface; the source interface comprises a visualization element and a first interface framework defining a layout of the visualization element, and the user usage data comprises data of the user usage of the visualization element; then displaying a data display interface; the data display interface comprises a data display area and a second interface frame defining the layout of the data display area, the second interface frame corresponds to the first interface frame, and the layout of the visual elements corresponds to the layout of the data display area; finally, displaying the user use data through a data display area of the data display interface; according to the method and the device, after the user use data of the source interface is obtained, the user use data are displayed by adopting the data display interface which uses the same frame as the source interface, for example, the user use data corresponding to the visual elements are displayed in the data display area corresponding to the visual elements on the data display interface which uses the same frame as the source interface and has the same layout as the first interface frame on the second interface frame, and the user use data corresponding to the visual elements can be displayed in the data display area corresponding to the visual elements when the user use data need to be viewed, so that the user use data corresponding to the visual elements can be viewed, the visual elements correspond to the user use data, and the problems of missing and wrong inspection can not occur when the user use data are viewed.
Drawings
The technical solution and other advantages of the present application will become apparent from the detailed description of the embodiments of the present application with reference to the accompanying drawings.
Fig. 1 is a current product user usage data presentation diagram.
Fig. 2a is a schematic view of a scenario of a data processing system according to an embodiment of the present application.
Fig. 2b is a schematic networking diagram of the data processing system according to the embodiment of the present application.
Fig. 3 is a schematic flowchart of a first data processing method according to an embodiment of the present application.
Fig. 4 is a schematic flowchart of a second data processing method according to an embodiment of the present application.
Fig. 5 is a display diagram of a source interface and a data display interface provided in the embodiment of the present application.
Fig. 6 is a schematic flowchart of a third data processing method according to an embodiment of the present application.
Fig. 7 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present application.
Fig. 8 is a schematic structural diagram of a terminal according to an embodiment of the present application.
Fig. 9 is a schematic structural diagram of a source interface provided in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In the description of the present application, it is to be understood that the terms "center," "longitudinal," "lateral," "length," "width," "thickness," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," "clockwise," "counterclockwise," and the like are used in the orientations and positional relationships indicated in the drawings for convenience in describing the present application and for simplicity in description, and are not intended to indicate or imply that the referenced devices or elements must have a particular orientation, be constructed in a particular orientation, and be operated in a particular manner, and are not to be construed as limiting the present application. Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, features defined as "first", "second", may explicitly or implicitly include one or more of the described features. In the description of the present application, "a plurality" means two or more unless specifically limited otherwise.
In the description of the present application, it is to be noted that, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; may be mechanically connected, may be electrically connected or may be in communication with each other; either directly or indirectly through intervening media, either internally or in any other relationship. The specific meaning of the above terms in the present application can be understood by those of ordinary skill in the art as appropriate.
In this application, unless expressly stated or limited otherwise, the first feature "on" or "under" the second feature may comprise direct contact of the first and second features, or may comprise contact of the first and second features not directly but through another feature in between. Also, the first feature being "on," "above" and "over" the second feature includes the first feature being directly on and obliquely above the second feature, or merely indicating that the first feature is at a higher level than the second feature. A first feature being "under," "below," and "beneath" a second feature includes the first feature being directly under and obliquely below the second feature, or simply meaning that the first feature is at a lesser elevation than the second feature.
The following disclosure provides many different embodiments or examples for implementing different features of the application. In order to simplify the disclosure of the present application, specific example components and arrangements are described below. Of course, they are merely examples and are not intended to limit the present application. Moreover, the present application may repeat reference numerals and/or letters in the various examples, such repetition is for the purpose of simplicity and clarity and does not in itself dictate a relationship between the various embodiments and/or configurations discussed. In addition, examples of various specific processes and materials are provided herein, but one of ordinary skill in the art may recognize applications of other processes and/or use of other materials.
As shown in fig. 1, the user usage data presentation page 1 of the current product includes an upper page 13, a left page 11 and a right page 12, the upper page 13 displays contents including a current process 131 and display information 132 that can be acquired by the process 131, the "name" in the current process 131 indicates the name displayed thereon, the "first information", "second information" and "third information" in the display information 132 indicate that the 3 buttons respectively correspond to respective information of the user usage data, wherein the current process 131 indicates a process corresponding to the page, the display information 132 includes respective information of the user usage data, such as browsing information, click information and the like, and the "summary" in the report behavior list 111 in the left page 11 indicates that the left page displays a summary list of user usage data, and the "M" and "N" in the operation behavior 112 indicate summaries of the user usage data that are sequentially arranged, as can be seen from fig. 1, when the user usage data needs to be acquired at present, a summary list of the user usage data is displayed on the left side of the page, and details of the corresponding user usage data are displayed on the right side, but the reported list is longer due to a larger data volume, so that missing or even wrong checking is caused when the list is viewed, that is, the technical problem that the user usage data display method is easy to miss and wrong checking exists.
The embodiment of the application provides a data processing method and device, a terminal and a computer readable storage medium, wherein the data processing device can be integrated in the terminal.
In this embodiment of the application, the source interface includes a visualization element and a first interface framework defining the visualization element, the source interface refers to various interfaces on any operation interface, and the interface may be an interface on a terminal or an interface on a server, for example, the source interface is an interface of the terminal or the server on a webpage of each website, or an interface on each application program.
In the embodiment of the present application, the user usage data includes data of a user usage visualization element, where the user usage data refers to an operation performed by a user with respect to a source interface, and the operation includes browsing, clicking, hovering with a mouse, scrolling a page, and operating time of the source interface, for example, when the user views the source interface, the user clicks a refresh button of the source interface, and then the user usage data records that the refresh button is clicked once, that is, "the button is clicked once", that is, the user usage data, and meanwhile, whether the button is browsed or not may be recorded according to a requirement, and the browsing times and the browsing time are used as the user usage data.
In the embodiment of the application, the visual element refers to an element which can be viewed on a source interface, and the element comprises a picture and a button, wherein the element which can be viewed means that the element is always displayed on the source interface or is hidden under the source interface and can be displayed by clicking, scrolling or other operations; for example, if a certain channel can be selected in the application software, the viewable image of the channel, for example, the text image, and the button that can jump to the interface corresponding to the channel by clicking the button corresponding to the channel all belong to the visual elements, and the interface corresponding to the channel obtained after the jump belongs to another source interface.
In the embodiment of the application, the first interface frame refers to a frame for defining the layout of the visual elements, and the frame can define the positions of the visual elements, the size of the display area of the visual elements, separate different visual elements and the like, so that the visual elements of the source interface form a specific layout, that is, the size of the display area of the visual elements and the relative positions of the visual elements can be known; for example, if the first interface frame defines that one of the visualization elements is located one centimeter away from the boundary of the source interface and the display area of the element is two centimeters long and wide, the position of the element may be defined according to the first interface frame, so that the layout of the visualization elements of the entire source interface is fixed.
In the embodiment of the application, the data presentation interface is another interface different from the source interface, the data presentation interface and the source interface can be presented through two different terminals, or two different servers, or one terminal and one server, respectively, or can be presented through two pages of one terminal or one server, the source page corresponds to the data presentation interface, and one source page can correspond to a plurality of data presentation interfaces, and the data presentation interface is used for presenting user use data formed by operations performed on the source interface.
In this embodiment, the data display area refers to an area of the data display interface corresponding to the setting area of the visual element, for example, if a picture and a button are provided in the source interface, an area corresponding to the picture is provided in the data display interface, and an area corresponding to the button is provided in the data display interface, data can be edited in the data display area, and data can be displayed.
In this embodiment, the second interface frame refers to a frame that defines a layout of the data display area, and the frame may define a position of the data display area and a size of the data display area, so that the layout of the data display area corresponds to the layout of the visual elements, for example, a picture having a length and a width that are both two centimeters and a distance of one centimeter from a boundary of the source interface is provided on the source interface, and the size of the data display area may be defined by the second interface frame as an editable frame having a length and a width that are both two centimeters and a distance of one centimeter from a boundary of the data display interface, or when an area of the data display interface is twice an area of the source interface, the size of the data display area is correspondingly increased by two times, and a distance of the data display area from a boundary of the data display interface is increased by two times, so that the second interface frame defines the layout.
In this embodiment of the present application, the interface identifier of the source interface refers to an identifier set on the source interface, where the identifier may be set on the source interface, and the identifier may be obtained by directly viewing the identifier, or the identifier may be set in the source interface, and the interface identifier corresponding to the source interface may be obtained by querying, where the identifier may be used to call data corresponding to the source interface, and correspond to other interfaces using the identifier.
In the embodiment of the application, the interface identifier of the data display interface refers to an identifier set on the data display interface, the identifier can be set on the data display interface, and the identifier can be matched with the interface identifier of the source interface, so that the source interface is matched with the data display interface, and when the interface identifier of the source interface can be directly checked, the interface identifier of the data display interface can be hidden and obtained through query, otherwise, the interface identifier of the data display interface can be directly checked, namely when the interface identifier of the source interface needs to be queried.
In the embodiment of the present application, the developer identification refers to an identification which is owned by the developer and can call data, and the identification may be a name of the developer or a code or number owned by the developer, for example, the developer identification adds a specific code to the name of the developer.
In the embodiment of the present application, the source interface list refers to a list formed by a plurality of source interfaces, and the list may be arranged in a specific order or randomly, for example, the list is arranged from large to small according to the number of times clicked.
In the embodiment of the present application, an HTML (Hyper Text Markup Language) interface refers to an interface formed by using a hypertext Markup Language, "hypertext" in the hypertext Markup Language refers to that a page may include non-character elements such as pictures, links, music, and programs, the HTML interface includes an HTML5 interface, that is, an H5 interface, and H5 refers to a fifth modified hypertext Markup Language.
In this embodiment of the application, a DOM (Document Object Model) may represent and process a Document or text in an interface in any programming language, and may modify the content and structure of the Document, where a DOM element refers to an element of an interface formed by using a DOM.
In the embodiment of the present application, a Transmission Control Protocol (TCP) is a transport layer communication Protocol based on a byte stream, and a data packet is formed by dividing a received data stream into message segments with appropriate lengths and is provided with a sequence number, so that it is ensured that the data packet is received, and data Transmission is reliable.
In the embodiment of the present application, the websocket refers to a full-duplex communication Protocol based on a TCP (Transmission Control Protocol), so that a server can actively send data to a client, where the client includes a client on a terminal.
In the embodiment of the present application, an SDK (Software Development Kit) includes a set of related documents, paradigms and tools for assisting in developing a certain type of Software, and a plug-in may be implemented by the SDK, and the plug-in may obtain information of a visualization element and user usage data.
In this embodiment, the DID (Device ID, Device identity, interface identity) refers to a name or a specific identity or code of each Device, and a specific code or name or identifier of each interface, for example, an identity of the user terminal, an interface identifier of the source interface.
For example, referring to fig. 2a, taking the example that the data processing apparatus is integrated in a terminal, the terminal may obtain user usage data corresponding to a source interface; the source interface comprises a visualization element and a first interface framework defining a layout of the visualization element, and the user usage data comprises data of the user usage of the visualization element; displaying a data display interface; the data display interface comprises a data display area and a second interface frame defining the layout of the data display area, the second interface frame corresponds to the first interface frame, and the layout of the visual elements corresponds to the layout of the data display area; and displaying the user use data through a data display area of the data display interface.
Referring to fig. 2b, fig. 2b is a schematic view of a scenario of a data processing system according to an embodiment of the present application, where the system may include a terminal and a server, and the terminal, the server, and the terminal and the server are connected through the internet formed by various gateways, and the like, and are not described again, where the terminal includes a user terminal 11 and the like, and the server includes a data server 12, a communication server 13 and the like; wherein:
the user terminal 11 includes, but is not limited to, a tablet Computer, a notebook Computer, a Personal Computer (PC), a micro processing box, or other devices; mainly providing a data acquisition function, a data display function and the like;
the server includes a local server and/or a remote server, etc. The data server 12 and the communication server 13 may be deployed on a local server, or may be partially or entirely deployed on a remote server.
It should be noted that the system scenario diagram shown in fig. 2b is only an example, the server and the scenario described in the embodiment of the present application are for example to more clearly illustrate the technical solution of the embodiment of the present application, and do not form a limitation on the technical solution provided in the embodiment of the present application, and as a person having ordinary skill in the art knows, with the evolution of the system and the occurrence of a new service scenario, the technical solution provided in the embodiment of the present application is also applicable to similar technical problems. The following are detailed below. It should be noted that the following description of the embodiments is not intended to limit the preferred order of the embodiments.
Fig. 3 is a first flowchart of a data processing method according to an embodiment of the present application, please refer to fig. 3, in which the data processing method includes the following steps:
301: and acquiring user use data corresponding to the source interface.
In particular, the source interface includes a visualization element and a first interface framework defining a layout of the visualization element, and the user usage data includes data of the user usage of the visualization element.
In an embodiment, the source interface may be any interface on the terminal or any interface in an application on the terminal, and the source interface may be an interface on the mobile terminal or a personal computer, for example, an operation page in the application on the mobile terminal.
In one embodiment, the source interface includes an interface that can be clicked or scrolled on the interface, and also includes a browsing-only interface, for example, the source interface is a text display of a book in a book reading application, and in one case, the screen cannot be clicked and can only be read; in one case, the screen may be edited, copied, clicked, etc., and the text display screen may be used as the source interface.
In one embodiment, the source interface has states of being unread, clicked, edited, and the like, and the source interface also has user usage data, for example, when reading of the reading data is required, the "number of times of being read" of the source interface is recorded as zero, and the corresponding number of times of being clicked, the number of times of being edited, and the like can be recorded as zero.
In one embodiment, the visual element may be various elements of the source interface that can be viewed, for example, when the source interface is a display screen of an application, the visual element may be various elements of the display screen, for example, text, pictures, buttons, and the like appearing in the corresponding display screen.
In one embodiment, the first interface frame may be a set of boundaries defining a layout of the visual elements, for example, when the visual elements include buttons and pictures, the first interface frame defines a size of a click region of the buttons while defining a size of a display area of the pictures, for example, when the picture viewing application includes a picture and a button for editing the picture, the first interface frame may be a set of boundaries defining an area size of the picture, defining a button for editing the picture.
In an embodiment, the user usage data refers to data of a user usage visual element, for example, a source interface is editable, after the user edits the source interface, the number of times of editing by the user is recorded, after the user edits once, the area is recorded to be edited as user usage data, when a source page is browsed, the whole interface is browsed once, of course, when a certain area of the interface needs to be accurately determined is browsed, a device for recording the watching area of eyes of the user can be adopted, so that the number of times of browsing the certain area of the source interface can be obtained, and the user usage data can be accurately recorded.
In an embodiment, in order to obtain the user usage data of the source interface, a specific identifier is used to obtain the user usage data, so that the obtained user usage data is ensured to correspond to the source interface, and an error that the source interface does not correspond to the user usage data is avoided, at this time, the step of obtaining the user usage data corresponding to the source interface includes: sending the interface identifier of the source interface to the server; and receiving the user use data returned by the server according to the interface identifier of the source interface. The method comprises the steps of identifying a source interface, storing user use data in a database, enabling the user use data returned according to the interface identification of the source interface to be received after the specific interface identification of the source interface is sent to a server, enabling the user use data to correspond to the source interface, and therefore guaranteeing accuracy of the user use data.
In one embodiment, when the interface identifier of the source interface is not known, the interface identifier of the source interface can be obtained by using the developer identifier, and then the user usage data of the source interface is obtained through the interface identifier of the source interface, which includes the steps of: sending the developer identification to a server; and receiving the source interface returned by the server according to the developer identification and the interface identification of the source interface. When the interface identifier of the source interface is unknown, the developer identifier may be used to obtain the authority, for example, login is performed by using the developer account, so that the authority to call the source interface is obtained, and then the interface identifiers of the source interface and the source interface are obtained.
In one embodiment, when the interface identifier of the source interface is unknown and the user usage data of the source interface cannot be directly obtained according to the interface identifier of the source interface, a first source interface list is obtained through the developer identifier, and the source interface and the interface representation of the source interface are obtained from the first source interface list, so that the user usage data corresponding to the source interface is obtained according to the interface identifier of the source interface, which includes: sending the developer identification to a server; receiving a first source interface list returned by the server according to the developer identification, wherein the first source interface list comprises a plurality of source interfaces and interface identifications of the source interfaces; receiving a first source interface list returned by the server according to the developer identification, wherein the first source interface list comprises a plurality of source interfaces and interface identifications of the source interfaces; and acquiring user use data corresponding to the source interface from the server according to the selected interface identifier of the source interface.
In an embodiment, when the user identifier of the source interface is unknown and the second source interface list is set corresponding to the user usage data list, the source interface and the user usage data list corresponding to the source interface can be directly obtained according to the second source interface list and the user data list, that is, the second source interface list and the user usage data list corresponding to the second source interface list can be obtained through the developer identifier, so that the source interface is correspondingly selected to obtain the user usage data corresponding to the source interface, which includes: sending the developer identification to a server; receiving a second source interface list returned by the server according to the developer identification and a user use data list corresponding to the second source interface list; according to user operation, selecting a source interface from the second source interface list, and determining the source interface needing to acquire user use data; and obtaining user use data corresponding to the source interface from the user use data list according to the selected source interface.
302: and displaying a data display interface.
Specifically, the data display interface comprises a data display area and a second interface frame defining the layout of the data display area, the second interface frame corresponds to the first interface frame, and the layout of the visual elements corresponds to the layout of the data display area.
In one embodiment, the data display interface refers to an interface for displaying user usage data, for example, the source interface is an interface on a mobile terminal, the data display interface is an interface on a personal computer, and the data display interface is provided with user usage data, for example, the number of times the source interface is browsed, the number of times the source interface is clicked, and the like.
In one embodiment, the data display area refers to an area corresponding to the visual elements, and the layout of the data display area corresponds to the layout of the visual elements, so that user use data corresponding to the visual elements corresponding to the area are displayed in the data display area.
In one embodiment, the lengths of the source interface and the data display interface are the same, the visual elements include a frame located in the middle region of the source interface and click buttons located in the upper region and the lower region of the source interface, the data display area includes a display frame located in the middle region of the data display interface and display frames located in the upper region and the lower region of the data display interface, the position of the display frame located in the middle region is the same as the length and width of the frame in the middle region of the source interface, the distance between the display frame in the middle region and the four boundaries of the data display interface is equal to the distance between the display frame in the middle region and the distance between the display frame in the upper region and the four boundaries of the data display interface are the same as the length and width of the click button located in the upper region of the source interface, and the distance between the display frame in the upper region and the four boundaries of the, The distances from the click button positioned in the upper side region to the four boundaries of the source interface are equal; the length and width of the display frame positioned in the lower side area are the same as the length and width of the click button positioned in the lower side area of the source interface, and the distance between the display frame positioned in the lower side area and the four boundaries of the data display interface is equal to the distance between the display frame positioned in the lower side area and the four boundaries of the source interface; the visual elements on the source interface correspond to the data display areas one by one, so that the user use data corresponding to the visual elements can be visually checked, and missing and wrong checking can be avoided.
In one embodiment, the second interface frame comprises a set of boundaries defining a data display area, e.g., the data display area comprises a plurality of display frames, then the second interface frame comprises a frame separating the plurality of display frames, and the second interface frame corresponds to the first interface frame, e.g., such that the second interface frame is the same as the first interface frame, such that the layout of the visualization elements is the same as the layout of the data display area, and the length and width of the data display area corresponding to each visualization element is the same as the length and width of the region of the visualization element.
In one embodiment, in order to display data used by a user of a source interface on a data display interface, a data display interface corresponding to the source interface needs to be acquired, so as to display the data display interface, an interface identifier of the data display interface is first obtained and then the data display interface is obtained according to a relationship between the interface identifier of the source interface and the interface identifier of the data interface, where the step includes: sending the interface identifier of the source interface to the server; receiving an interface identifier of a server based on a source interface and an obtained interface identifier of a data display interface corresponding to the source interface; acquiring display data corresponding to the data display interface according to the interface identifier of the data display interface, wherein the display data comprise a data display area and a second interface frame defining the data display area; and displaying the data display interface according to the data display area and a second interface frame defining the data display area.
In an embodiment, the interface identifier of the data display interface is the same as the interface identifier of the source interface, and the data display interface and the source interface are stored at different positions, so that when the interface identifier of the source interface is obtained, the interface identifier of the data display interface can be obtained according to the interface identifier of the source interface, and thus the data display interface corresponding to the source interface is obtained; or the interface identifier of the data display interface is related to but different from the interface identifier of the source interface, and the interface identifier of the data display interface can be obtained according to the interface identifier of the source interface, so that the data display interface is obtained according to the interface identifier of the data display interface.
In one embodiment, after the data presentation interface is obtained, the source interface is connected to the data presentation interface, so that the data used by the user of the source interface can be presented on the data presentation interface in real time, and the method includes the following steps: sending a binding request to a server, wherein the binding request carries an interface identifier of a source interface and an interface identifier of a data display interface and is used for triggering the binding of the source interface and the data display interface; and receiving feedback of successful binding of the source interface and the data display interface returned by the server.
In one embodiment, to obtain the data presentation interface, the data presentation area and the second interface frame of the data presentation interface may be obtained first, that is, the content of the data presentation interface is determined first, and the data presentation interface is determined according to the content of the data presentation interface, where the step includes: analyzing a source interface to obtain a first interface frame and a visual element; obtaining a data display area corresponding to the visual element according to the visual element; obtaining a second interface frame corresponding to the first interface frame according to the first interface frame; and displaying the data display interface according to the data display area and the second interface frame.
303: and displaying the user use data through a data display area of the data display interface.
In one embodiment, the step of determining a data presentation area for display based on the visual elements and then presenting the visual elements within the data presentation area comprises: determining a visual element corresponding to the data display area; determining user use data corresponding to the visual elements from the user use data; and displaying the user usage data corresponding to the selected visual elements in the data display areas corresponding to the selected visual elements.
In one embodiment, when the data display area is not triggered, the user usage data in the data display area can be hidden to prevent more data from affecting viewing, and when the data display area is triggered, the user usage data is displayed, which includes the following steps: detecting whether the data display area is triggered to display or not; if so, displaying the user use data in the data display area; if not, hiding the user use data in the data display area.
In an embodiment, after the data display interface is displayed, the data display area of the data display interface displays the user use data, all the user use data can be displayed firstly, then the user use data is hidden, after the data display area is triggered, the user use data is displayed again, after the data display area is known to be provided with the user use data, the situation that the user use data is dense and the watching is influenced is avoided, and therefore after the data display area is hidden, the user use data of each data display area is watched by triggering each data display area, the step includes: displaying the user use data by using a data display interface; after the preset time, hiding the user use data; and after the data display area is triggered, displaying the user use data by using the data display area.
In an embodiment, the preset time may be set according to a requirement, for example, the preset time is 10 seconds, but the embodiment of the present invention is not limited thereto.
In one embodiment, triggering the data presentation area includes clicking on the data presentation area, such as by clicking on the data presentation area with a mouse pointer, or by hovering a mouse pointer over the data presentation area, where the data presentation area again presents the user usage data.
In one embodiment, the data display area of the data display interface continuously displays the user use data, that is, after the user use data is obtained, the user use data is always displayed in the data display area of the data display interface without hiding the user use data.
In an embodiment, before obtaining user usage data of a source interface, a check is performed on the source interface to enable the user usage data of the source interface to be obtained, for example, before the source interface is used, data embedding is performed on the source interface, then it is checked whether both a visual element of the source interface and a first interface frame are embedded, a red contour is displayed on a visual element without an embedded point and the first interface frame, and a green contour is displayed on a visual element without an embedded point and the first interface frame to ensure that the source interface is embedded with data, and when the user uses the source interface, the user usage data of the source interface can be obtained.
The embodiment of the application provides a data processing method, the method provides a source interface to display a user operation interface or a user viewing interface, and then user use data corresponding to the source interface is displayed through the data display interface, the source interface corresponds to the data display interface, a visual element of the source interface and a first interface frame can correspond to each other on the data display interface to obtain a data display area and a second interface frame, so that the user use data of the visual element of the source interface can be displayed in the corresponding data display area, the visual element can correspond to the data display area one to one, the problems of missing and even wrong checking when the user use data corresponding to the visual element is viewed are solved, and the displayed user use data is more visual.
Fig. 4 is a second flowchart of a data processing method according to an embodiment of the present application; in this embodiment, how to perform interaction among the user terminal, the communication server, and the data server is described in detail with reference to fig. 4, the data processing method includes:
401: the first user terminal sends a source interface acquisition request to the communication server.
Before processing the user data, the first user terminal is used to send a source interface acquisition request to the communication server so as to obtain a source interface, and the source interface is operated to obtain the user data.
402: the communication server obtains the source interface from the data server.
After the communication server receives a source interface acquisition request sent by the first user terminal, the communication server sends an instruction to the data server so as to acquire a source interface returned by the data server.
403: the communication server transmits a source interface to the first user terminal.
And when the communication server receives the source interface sent by the data server, the communication server feeds back the first user terminal and sends the source interface to the first user terminal.
404: the first user terminal displays a source interface.
And after the first user terminal acquires the source interface, displaying the source interface on the first user terminal.
405: and the first user terminal operates the source interface to obtain user use data.
After the first user terminal displays the source interface, the user operates the source interface, for example, browsing the source interface and clicking the source interface, so as to obtain the user usage data.
406: the first user terminal sends a source interface and a corresponding user usage data storage request to the communication server.
After the source interface and the user use data corresponding to the source interface are obtained, the source interface and the user use data corresponding to the source interface are stored in a data server, and a request is sent to a communication server.
407: and the data server receives the source interface and the corresponding user use data sent by the communication server.
After the data server receives the request, the first user terminal transmits the source interface and the user use data corresponding to the source interface to the communication server, then the communication server transmits the source interface and the user use data corresponding to the source interface to the data server, and the data server receives the source interface and the user use data corresponding to the source interface.
408: the data server stores the source interface and corresponding user usage data.
After the data server receives the source interface and the use data corresponding to the source interface, the data server stores the source interface and the use data corresponding to the source interface.
409: the second user terminal sends a corresponding user usage data request for the source interface to the communication server.
And when the second user terminal needs to check the user use data corresponding to the source interface, the second user terminal sends a request to the communication server.
410: and the communication server acquires the user use data which is sent to the source interface by the data server.
And after the second user terminal sends a request to the communication server, the communication server sends an instruction to the data server and receives user use data corresponding to the source interface returned by the data server according to the instruction.
411: and the communication server transmits the user use data corresponding to the source interface to the second user terminal.
And the communication server receives the user use data corresponding to the source interface, and feeds back the user use data to the second user terminal and sends the user use data corresponding to the source interface to the second user terminal.
412: and the second user terminal sends a data display interface acquisition request to the communication server.
In order to display the user use data, the second user terminal needs to adopt a data display interface for displaying, and sends a data display interface request to the communication server, so that a data display interface is obtained.
413: and the communication server acquires the data display interface from the data server.
And the communication server sends a data display interface acquisition instruction to the data server, and the data server sends a data display interface corresponding to the source interface to the communication server according to the instruction.
414: and the communication server sends a data display interface to the second user terminal.
And the communication server receives the data display interface sent by the data server, feeds back the second user terminal and sends the data display interface corresponding to the source interface to the second user terminal.
415: and the second user terminal displays the data display interface.
And after the second user terminal obtains the data display interface, the second user terminal displays the data display interface, so that the user use data is displayed in the data display interface.
416: and the second user terminal displays the user use data through the data display area of the data display interface.
And after the second user terminal acquires the user use data corresponding to the source interface and the data display interface corresponding to the source interface, displaying the user use data through the data display area of the data display interface.
Fig. 6 is a third flowchart of a data processing method according to an embodiment of the present application; in this embodiment, how to display the user usage data on the data display interface is described in detail, referring to fig. 6, the data processing method includes the steps of:
601: and acquiring the source interface and the user use data corresponding to the source interface.
When the user use data of the source interface needs to be checked, the source interface is acquired according to the interface identification of the source interface, so that, for example, the server formed by the websocket stores the source interface and the user use data corresponding to the source interface.
Specifically, the server can be accessed through a kind of identity through a specific DID of the source interface, so as to obtain the corresponding source interface.
Specifically, the source interface comprises an interface formed by HTML and an interface formed by other languages, and the source interface comprises a webpage at a PC end and an H5 interface on a mobile terminal.
Before obtaining the source interface and the user usage data of the source interface, it is checked whether the user usage data can be obtained from the source interface, as shown in fig. 9, in fig. 9, "screen" represents a screen displayed at this point, the source interface 91 includes a first type visual element 911 and a second type visual element 912, and after the visual elements of the source interface are dotted, examining the visual elements, a first type of visual element 911 which is not subjected to point burying and a second type of visual element 912 which is subjected to point burying are found, for example, the first type of visual elements display red outlines indicating that no point burying is performed, and the second type of visual elements display green outlines indicating that point burying is performed, so that the visual elements which are not subjected to point burying are acquired, and re-embedding the points of the visual elements which are not subjected to point embedding, so that the user use data of each visual element can be acquired.
602: analyzing a source interface to obtain a first interface frame and a visual element;
after the source interface is obtained, a first interface frame and visualization elements are obtained by parsing the source interface, for example, a plug-in is formed by an SDK, and the plug-in may parse the source interface to obtain the visualization elements of the source interface and information of the first interface frame, and a distance between each visualization element of the source interface and a boundary of the source interface and a size of the visualization element may be obtained by the plug-in, for example, in fig. 5, the source interface 51 includes a first visualization element 512, a distance between a left boundary of the first visualization element 512 and a left boundary of the source interface 51 may be obtained by the plug-in, and a distance between a right boundary of the first visualization element 512 and a left boundary of the source interface 51 may be obtained according to the two distance values; meanwhile, the plug-in may obtain a distance between an upper boundary of the first visualization element 512 and an upper boundary of the source interface 51, a distance between a lower boundary of the first visualization element 512 and the upper boundary of the source interface 51, so that according to the two distance values, a distance between the first visualization element and the upper boundary of the source interface, and a length of the first visualization element may be obtained, and according to a distance between the first visualization element and a left boundary of the source interface, a distance between the first visualization element and the upper boundary of the source interface, and a length and a width of the first visualization element, a size of the first visualization element 512, a position of the first visualization element 512 in the source interface 51, and accordingly, other visualization elements in fig. 5, and parts in the other visualization elements may all obtain a size and a position in the source interface, so that information, a position, and a distance between the upper boundary of the first visualization element 512 and the left boundary of the source interface are obtained, And information of the first interface frame.
In particular, the visualization elements may be formed using DOM.
603: and obtaining a second interface frame and a data display area according to the first interface frame and the visual elements.
After the first interface frame and the visualization element are obtained, the second interface frame and the data display area may be obtained according to the first interface frame and the visualization element, for example, in fig. 5, after the information of the visualization element of the source interface 51 and the first interface frame 511 is obtained, that is, the layout of the visualization element, the position information of each visualization element, the size information of each visualization element, and the like are obtained, and according to the obtained visualization element and the first interface frame, the second interface frame 521 and the data display area of the data display interface 52 may be obtained.
Specifically, as shown in fig. 5, after the information of the first visualization element 512 is obtained, position information, size information, and the like of the first data display area 522 corresponding to the first visualization element may be obtained according to the information of the first visualization element 512, so as to obtain the first data display area 522, and correspondingly, in fig. 5, the corresponding second data display area 523 may be obtained according to the second visualization element 513, the corresponding third data display area 523 may be obtained according to the third visualization element 514, the corresponding fourth data display area 524 may be obtained according to the fourth visualization element 515, and correspondingly, a part of the data display area may be obtained according to the part of the visualization element, so as to obtain the data display area and the second interface frame of the data display interface.
604: and obtaining a data display interface according to the second interface frame and the data display area.
And after the second interface frame and the data display area are obtained, the data display interface can be obtained according to the data display area and the second interface frame.
Specifically, after the second interface frame and the data display area are obtained, the second interface frame and the data display area are identified to obtain the data display interface, for example, size information and position information of the data display area are obtained, and the data display interface with the information is searched according to the information, that is, the data display interface corresponding to the source interface is obtained; however, the embodiment of the present application is not limited to this, for example, the data presentation interface is obtained by accessing the server using the interface identifier that is the same as the interface identifier of the source interface.
605: and displaying the user use data by using the data display interface.
After the user use data corresponding to the source interface and the data display interface corresponding to the source interface are obtained, the user use data can be displayed by using the data display interface, and therefore the user use data of the source interface are read.
Specifically, as shown in fig. 5, the source interface 51 includes a first interface frame 511, a first visual element 512, a second visual element 513, a third visual element 514, and a fourth visual element 515, the first visual element 512 includes a first screen display portion 5122 and a first button portion 5121, the second visual element 513 includes a second screen display portion 5131 and a second button portion 5132, the third visual element 514 includes a third screen display portion 5141 and a third button portion 5142, and the fourth visual element 515 includes a slidable area 5151 and a slide key 5152.
Specifically, in the first screen display section 5122, each screen corresponding to the second button section 5121 is displayed according to different states, for example, the "game screen" in the first screen display section 5122 in fig. 5 indicates that a game screen can be displayed there, for example, a screen corresponding to the button "1" in fig. 5 is displayed, wherein "1", "2", "3", "4" and "5" indicate different screens corresponding to different numbers, in a visual element such as an actual application or a web page, "1" to "5" may be characters or even pictures, videos and the like, a "<" in "< 1/5 >" in the first button section 5121 indicates that a previous screen can be viewed by clicking the button, ">" indicates that a next screen can be viewed by clicking the button, "5" in 1/5 "indicates that the total screen number is 5," 1 "indicates that the currently displayed screen is 1, in the first button portion 5121, the transition pictures can be switched from "1" to "5", or the "<" and ">" transition pictures can be clicked, and the first display picture portion 5122 can be correspondingly displayed; user use data of the first visual element can be obtained by clicking and browsing, such as clicking times, browsing times and the like;
accordingly, in the data presentation interface 52 corresponding to the source interface 51, in the first data presentation area 522 corresponding to the first visual element 512, the user usage data corresponding to the first visual element 5122 is displayed, specifically, for example, the browsing times are displayed in the first browsing area 5222 corresponding to the first screen display section 5122 in the first data presentation area 522, and "browse: 1 time represents that the first screen display part 5122 is browsed once, but the embodiment of the present application is not limited thereto, for example, user usage data may be specifically displayed for all screens, for example, the number of times that the screens corresponding to "1" to "5" are browsed, the total number of times that all screens are browsed, and since the first screen display part 5122 cannot be clicked, the clicked number may also be recorded, so as to obtain the usage habit of the user, and perform corresponding improvement; and in the first hit area 5221 corresponding to the first button portion 5121, the areas corresponding to "1" to "5" may display the number of times clicked (not shown in fig. 5), and the "click: 1 "represents that the spot is clicked once, but the embodiment of the application is not limited to this, and the number of times of clicking" < "and" > "and the total number of times of clicking both may be recorded in detail; and browsing times can be recorded according to requirements.
Specifically, the second visual element 513 includes a second screen display portion 5131 and a second button portion 5132, where a "picture" in the second screen display portion 5131 indicates a screen displayed at that place, and a "click" of the second button portion 5132 indicates that the place is clickable, for example, in a game, a game gift is obtained by clicking the place, and user usage data of the second visual element, such as the number of clicks and the number of browsing, can be obtained by clicking and browsing;
accordingly, in the second data presentation area 523 corresponding to the second visual element 513, the user usage data of the second visual element 513 is displayed, corresponding to "browse: "1 time" indicates that the second screen display section 5131 is browsed once on the source interface, and "B: a 1 "indicates that this is clicked once, thereby presenting the user usage data corresponding to the second visualization element 513 in the second data presentation area 523.
Specifically, the third visual element 514 includes a third screen display portion 5141 and a third button portion 5142, where a "picture" in the third screen display portion 5141 indicates a screen displayed there, and a "click" of the third button portion 5142 indicates that there is a clickable there, and user usage data of the second visual element, such as the number of clicks and the number of browsing times, can be obtained by clicking and browsing;
the third data presentation area 524 corresponding to the third visual element 514 is separated from the second data presentation area 523 by a small area of the third visual element 514 of the source interface 51, and may record the number of times that the third data presentation area 524 is clicked and browsed by using other symbols, for example, "a: 1 "indicates that the third screen display section 5141 is viewed once, and the" B: 1 "indicates that this is clicked once.
Specifically, the fourth visual element 515 includes a slidable area 5151 and a sliding key 5152, where the slidable area 5151 is used to define a sliding area of the sliding key 5152, and user usage data of the fourth visual element 515 can be obtained by recording the number of times of sliding the sliding key 5152;
accordingly, within the data presentation area 525 corresponding to the fourth visual element 515, there will be a fourth browsing area 5251 corresponding to the slidable area 5151, and a "C: a 1 "indicates that the sliding key 5152 is slid once, but of course, the fourth viewing area 5251 may also record the distance of each slide, thereby displaying the user usage data of the fourth visual element.
It should be noted that, when the user usage data is displayed in the usage data display area, the user usage data may be represented by using a symbol in consideration of a large amount of user usage data.
It should be noted that, the data in the data display area of the data display interface in fig. 5 is only described by taking the browsing times and the clicking times as examples, and in the actual display process, other user use data may also be displayed.
The embodiment is also applicable to other data processing tasks.
Correspondingly, fig. 7 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present application; referring to fig. 7, the data processing apparatus includes the following modules:
a data obtaining module 701, configured to obtain user usage data corresponding to a source interface; the source interface comprises a visualization element and a first interface framework defining a layout of the visualization element, and the user usage data comprises data of the user usage of the visualization element;
a display module 702, configured to display a data display interface; the data display interface comprises a data display area and a second interface frame defining the layout of the data display area, the second interface frame corresponds to the first interface frame, and the layout of the visual elements corresponds to the layout of the data display area;
the display module 703 is configured to display the user usage data through a data display area of the data display interface.
In an embodiment, the data obtaining module 701 is configured to send an interface identifier of a source interface to a server; and receiving the user use data returned by the server according to the interface identifier of the source interface.
In an embodiment, the data obtaining module 701 is further configured to send the developer identifier to a server; and receiving the source interface returned by the server according to the developer identification and the interface identification of the source interface.
In an embodiment, the data obtaining module 701 is configured to send the developer identifier to a server; receiving a first source interface list returned by the server according to the developer identification, wherein the first source interface list comprises a plurality of source interfaces and interface identifications of the source interfaces; according to user operation, selecting a source interface from the first source interface list, and determining the source interface needing to acquire user use data; and acquiring user use data corresponding to the source interface from the server according to the selected interface identifier of the source interface.
In an embodiment, the data obtaining module 701 is configured to send the developer identifier to a server; receiving a second source interface list returned by the server according to the developer identification and a user use data list corresponding to the second source interface list; according to user operation, selecting a source interface from the second source interface list, and determining the source interface needing to acquire user use data; and obtaining user use data corresponding to the source interface from the user use data list according to the selected source interface.
In an embodiment, the display module 702 is configured to send an interface identifier of the source interface to the server; receiving an interface identifier of a server based on a source interface and an obtained interface identifier of a data display interface corresponding to the source interface; acquiring display data corresponding to the data display interface according to the interface identifier of the data display interface, wherein the display data comprise a data display area and a second interface frame defining the data display area; and displaying the data display interface according to the data display area and a second interface frame defining the data display area.
In an embodiment, the display module 702 is further configured to send a binding request to the server, where the binding request carries an interface identifier of the source interface and an interface identifier of the data display interface, and is used to trigger binding between the source interface and the data display interface; and receiving feedback of successful binding of the source interface and the data display interface returned by the server.
In an embodiment, the display module 702 is configured to parse the source interface to obtain a first interface frame and a visualization element; obtaining a data display area corresponding to the visual element according to the visual element; obtaining a second interface frame corresponding to the first interface frame according to the first interface frame; and displaying the data display interface according to the data display area and the second interface frame.
In an embodiment, the presentation module 703 is configured to determine a visualization element corresponding to the data presentation area; determining user use data corresponding to the visual elements from the user use data; and displaying the user usage data corresponding to the selected visual elements in the data display areas corresponding to the selected visual elements.
In an embodiment, the presentation module 703 is configured to detect whether the data presentation area is triggered to be displayed; if so, displaying the user use data in the data display area; if not, hiding the user use data in the data display area.
Accordingly, the present embodiment also provides a terminal, as shown in fig. 8, which shows a schematic structural diagram of the terminal according to the present embodiment, specifically:
the terminal may include components such as a processor 801 of one or more processing cores, memory 802 of one or more computer-readable storage media, a power supply 803, and an input unit 804. Those skilled in the art will appreciate that the terminal structure shown in fig. 8 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. Wherein:
the processor 801 is a control center of the terminal, connects various parts of the entire terminal using various interfaces and lines, and performs various functions of the terminal and processes data by operating or executing software programs and/or modules stored in the memory 802 and calling data stored in the memory 802, thereby performing overall monitoring of the terminal. Alternatively, processor 801 may include one or more processing cores; preferably, the processor 801 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 801.
The memory 802 may be used to store software programs and modules, and the processor 801 executes various functional applications and data processing by operating the software programs and modules stored in the memory 802. The memory 802 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data created according to the use of the terminal, and the like. Further, the memory 802 may include high speed random access memory and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 802 may also include a memory controller to provide the processor 801 access to the memory 802.
The terminal further includes a power supply 803 for supplying power to the various components, and preferably, the power supply 803 is logically connected to the processor 801 via a power management system, so that functions of managing charging, discharging, and power consumption are performed via the power management system. The power supply 803 may also include one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and any like components.
The terminal may further include an input unit 804, and the input unit 804 may be used to receive input numeric or character information and generate a keyboard, mouse, joystick, optical or trackball signal input in relation to user settings and function control.
Although not shown, the terminal may further include a display unit and the like, which will not be described in detail herein. Specifically, in this embodiment, the processor 801 in the terminal loads an executable file corresponding to a process of one or more application programs into the memory 802 according to the following instructions, and the processor 801 runs the application programs stored in the memory 802, thereby implementing various functions as follows:
acquiring user use data corresponding to a source interface; the source interface comprises a visualization element and a first interface framework defining a layout of the visualization element, and the user usage data comprises data of the user usage of the visualization element;
displaying a data display interface; the data display interface comprises a data display area and a second interface frame defining the layout of the data display area, the second interface frame corresponds to the first interface frame, and the layout of the visual elements corresponds to the layout of the data display area;
and displaying the user use data through a data display area of the data display interface.
In one embodiment, the functions are implemented:
sending the interface identifier of the source interface to the server;
and receiving the user use data returned by the server according to the interface identifier of the source interface.
In one embodiment, the functions are implemented:
sending the developer identification to a server;
and receiving the source interface returned by the server according to the developer identification and the interface identification of the source interface.
In one embodiment, the functions are implemented:
sending the developer identification to a server;
receiving a first source interface list returned by the server according to the developer identification, wherein the first source interface list comprises a plurality of source interfaces and interface identifications of the source interfaces;
according to user operation, selecting a source interface from the first source interface list, and determining the source interface needing to acquire user use data;
and acquiring user use data corresponding to the source interface from the server according to the selected interface identifier of the source interface.
In one embodiment, the functions are implemented:
sending the developer identification to a server;
receiving a second source interface list returned by the server according to the developer identification and a user use data list corresponding to the second source interface list;
according to user operation, selecting a source interface from the second source interface list, and determining the source interface needing to acquire user use data;
and obtaining user use data corresponding to the source interface from the user use data list according to the selected source interface.
In one embodiment, the functions are implemented:
sending the interface identifier of the source interface to the server;
receiving an interface identifier of a server based on a source interface and an obtained interface identifier of a data display interface corresponding to the source interface;
acquiring display data corresponding to the data display interface according to the interface identifier of the data display interface, wherein the display data comprise a data display area and a second interface frame defining the data display area;
and displaying the data display interface according to the data display area and a second interface frame defining the data display area.
In one embodiment, the functions are implemented:
sending a binding request to a server, wherein the binding request carries an interface identifier of a source interface and an interface identifier of a data display interface and is used for triggering the binding of the source interface and the data display interface;
and receiving feedback of successful binding of the source interface and the data display interface returned by the server.
In one embodiment, the functions are implemented:
analyzing a source interface to obtain a first interface frame and a visual element;
obtaining a data display area corresponding to the visual element according to the visual element;
obtaining a second interface frame corresponding to the first interface frame according to the first interface frame;
and displaying the data display interface according to the data display area and the second interface frame.
In one embodiment, the functions are implemented:
determining a visual element corresponding to the data display area;
determining user use data corresponding to the visual elements from the user use data;
and displaying the user usage data corresponding to the selected visual elements in the data display areas corresponding to the selected visual elements.
In one embodiment, the functions are implemented:
detecting whether the data display area is triggered to display or not;
if so, displaying the user use data in the data display area;
if not, hiding the user use data in the data display area.
In the above embodiments, the descriptions of the embodiments have respective emphasis, and parts that are not described in detail in a certain embodiment may refer to the above detailed description of the data processing method, and are not described herein again.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions or by associated hardware controlled by the instructions, which may be stored in a computer readable storage medium and loaded and executed by a processor.
To this end, embodiments of the present application provide a computer-readable storage medium having stored therein a plurality of instructions, which can be loaded by a processor to perform the steps of any of the methods provided by the embodiments of the present application. For example, the instructions may perform the steps of:
acquiring user use data corresponding to a source interface; the source interface comprises a visualization element and a first interface framework defining a layout of the visualization element, and the user usage data comprises data of the user usage of the visualization element;
displaying a data display interface; the data display interface comprises a data display area and a second interface frame defining the layout of the data display area, the second interface frame corresponds to the first interface frame, and the layout of the visual elements corresponds to the layout of the data display area;
and displaying the user use data through a data display area of the data display interface.
In one embodiment, the functions are implemented:
sending the interface identifier of the source interface to the server;
and receiving the user use data returned by the server according to the interface identifier of the source interface.
In one embodiment, the functions are implemented:
sending the developer identification to a server;
and receiving the source interface returned by the server according to the developer identification and the interface identification of the source interface.
In one embodiment, the functions are implemented:
sending the developer identification to a server;
receiving a first source interface list returned by the server according to the developer identification, wherein the first source interface list comprises a plurality of source interfaces and interface identifications of the source interfaces;
according to user operation, selecting a source interface from the first source interface list, and determining the source interface needing to acquire user use data;
and acquiring user use data corresponding to the source interface from the server according to the selected interface identifier of the source interface.
In one embodiment, the functions are implemented:
sending the developer identification to a server;
receiving a second source interface list returned by the server according to the developer identification and a user use data list corresponding to the second source interface list;
according to user operation, selecting a source interface from the second source interface list, and determining the source interface needing to acquire user use data;
and obtaining user use data corresponding to the source interface from the user use data list according to the selected source interface.
In one embodiment, the functions are implemented:
sending the interface identifier of the source interface to the server;
receiving an interface identifier of a server based on a source interface and an obtained interface identifier of a data display interface corresponding to the source interface;
acquiring display data corresponding to the data display interface according to the interface identifier of the data display interface, wherein the display data comprise a data display area and a second interface frame defining the data display area;
and displaying the data display interface according to the data display area and a second interface frame defining the data display area.
In one embodiment, the functions are implemented:
sending a binding request to a server, wherein the binding request carries an interface identifier of a source interface and an interface identifier of a data display interface and is used for triggering the binding of the source interface and the data display interface;
and receiving feedback of successful binding of the source interface and the data display interface returned by the server.
In one embodiment, the functions are implemented:
analyzing a source interface to obtain a first interface frame and a visual element;
obtaining a data display area corresponding to the visual element according to the visual element;
obtaining a second interface frame corresponding to the first interface frame according to the first interface frame;
and displaying the data display interface according to the data display area and the second interface frame.
In one embodiment, the functions are implemented:
determining a visual element corresponding to the data display area;
determining user use data corresponding to the visual elements from the user use data;
and displaying the user usage data corresponding to the selected visual elements in the data display areas corresponding to the selected visual elements.
In one embodiment, the functions are implemented:
detecting whether the data display area is triggered to display or not;
if so, displaying the user use data in the data display area;
if not, hiding the user use data in the data display area.
Wherein the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
Since the instructions stored in the storage medium can execute the steps in any method provided in the embodiments of the present application, the beneficial effects that can be achieved by any method provided in the embodiments of the present application can be achieved, for details, see the foregoing embodiments, and are not described herein again.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
The data processing method and apparatus, the terminal, and the computer storage medium provided in the embodiments of the present application are introduced in detail above, and a specific example is applied in the present application to explain the principle and the implementation of the present application, and the description of the above embodiments is only used to help understand the technical solution and the core idea of the present application; those of ordinary skill in the art will understand that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications or substitutions do not depart from the spirit and scope of the present disclosure as defined by the appended claims.

Claims (12)

1. A data processing method, comprising:
acquiring user use data corresponding to a source interface; the source interface includes a visualization element and a first interface framework defining a layout of the visualization element, the user usage data including data of user usage of the visualization element;
displaying a data display interface; the data display interface comprises a data display area and a second interface frame defining the layout of the data display area, the second interface frame is obtained according to the first interface frame after the first interface frame is obtained by analyzing the source interface, the second interface frame corresponds to the first interface frame, and the layout of the visual elements corresponds to the layout of the data display area;
and displaying the user use data through a data display area of the data display interface so as to display the user use data corresponding to the target visual element in the data display area corresponding to the target visual element.
2. The data processing method of claim 1, wherein the step of obtaining user usage data corresponding to the source interface comprises:
sending the interface identification of the source interface to a server;
and receiving user use data returned by the server according to the interface identifier of the source interface.
3. The data processing method of claim 1, wherein the step of obtaining user usage data corresponding to the source interface comprises:
sending the developer identification to a server;
receiving a first source interface list returned by the server according to the developer identification, wherein the first source interface list comprises a plurality of source interfaces and interface identifications of the source interfaces;
according to user operation, selecting a source interface from the first source interface list, and determining the source interface needing to acquire user use data;
and acquiring user use data corresponding to the source interface from the server according to the selected interface identifier of the source interface.
4. The data processing method of claim 1, wherein the step of obtaining user usage data corresponding to the source interface comprises:
sending the developer identification to a server;
receiving a second source interface list returned by the server according to the developer identification and a user use data list corresponding to the second source interface list;
according to user operation, selecting a source interface from the second source interface list, and determining the source interface needing to acquire user use data;
and according to the selected source interface, obtaining user use data corresponding to the source interface from the user use data list.
5. The data processing method of claim 1, wherein the step of displaying a data presentation interface comprises:
sending the interface identifier of the source interface to the server;
receiving an interface identifier of a data display interface corresponding to the source interface, which is obtained by the server based on the interface identifier of the source interface;
acquiring display data corresponding to the data display interface according to the interface identifier of the data display interface, wherein the display data comprise a data display area and a second interface frame defining the data display area;
and displaying a data display interface according to the data display area and a second interface frame defining the data display area.
6. The data processing method of claim 5, further comprising:
sending a binding request to the server, wherein the binding request carries the interface identifier of the source interface and the interface identifier of the data display interface and is used for triggering the binding of the source interface and the data display interface;
and receiving feedback of successful binding of the source interface and the data display interface returned by the server.
7. The data processing method of claim 1, wherein the step of displaying a data presentation interface comprises:
analyzing the source interface to obtain a first interface frame and a visual element;
obtaining a data display area corresponding to the visual element according to the visual element;
obtaining a second interface frame corresponding to the first interface frame according to the first interface frame;
and displaying a data display interface according to the data display area and the second interface frame.
8. The data processing method of any of claims 1 to 7, wherein the step of presenting the user usage data through a data presentation area of the data presentation interface comprises:
determining a visualization element corresponding to the data display area;
determining user usage data corresponding to the visualization elements from the user usage data;
and displaying the user usage data corresponding to the selected visual element in the data display area corresponding to the selected visual element.
9. The data processing method of claim 8, further comprising:
detecting whether the data display area is triggered to display or not;
if so, displaying the user use data in the data display area;
if not, hiding the user use data in the data display area.
10. A data processing apparatus, comprising:
the data acquisition module is used for acquiring user use data corresponding to the source interface; the source interface includes a visualization element and a first interface framework defining a layout of the visualization element, the user usage data including data of user usage of the visualization element;
the display module is used for displaying a data display interface; the data display interface comprises a data display area and a second interface frame defining the layout of the data display area, the second interface frame is obtained according to the first interface frame after the first interface frame is obtained by analyzing the source interface, the second interface frame corresponds to the first interface frame, and the layout of the visual elements corresponds to the layout of the data display area;
and the display module is used for displaying the user use data through the data display area of the data display interface so as to display the user use data corresponding to the target visual element in the data display area corresponding to the target visual element.
11. A terminal comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor when executing the program performs the steps in the method of any one of claims 1 to 9.
12. A computer-readable storage medium, on which a computer program is stored, which computer program, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 9.
CN201911212476.0A 2019-12-02 2019-12-02 Data processing method and device Active CN111026485B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911212476.0A CN111026485B (en) 2019-12-02 2019-12-02 Data processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911212476.0A CN111026485B (en) 2019-12-02 2019-12-02 Data processing method and device

Publications (2)

Publication Number Publication Date
CN111026485A CN111026485A (en) 2020-04-17
CN111026485B true CN111026485B (en) 2021-05-07

Family

ID=70207663

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911212476.0A Active CN111026485B (en) 2019-12-02 2019-12-02 Data processing method and device

Country Status (1)

Country Link
CN (1) CN111026485B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111580716B (en) * 2020-04-29 2023-03-28 深圳平安医疗健康科技服务有限公司 Interface authority distribution method and device based on multiple terminals and computer equipment
CN111767107A (en) * 2020-06-23 2020-10-13 杭州萤石软件有限公司 Visual display method and system for information
CN115051967B (en) * 2022-04-28 2023-10-03 杭州脸脸会网络技术有限公司 Data display method and device, electronic device and storage medium
CN116737515B (en) * 2023-05-10 2024-02-23 珠海妙存科技有限公司 Flash memory parameter visualization method, system and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103814371A (en) * 2011-09-26 2014-05-21 英特尔公司 Simulation of Web applications and secondary devices in a Web browser, Web application development tools, and methods using the same
CN104657451A (en) * 2015-02-05 2015-05-27 百度在线网络技术(北京)有限公司 Processing method and processing device for page
CN106020643A (en) * 2016-05-13 2016-10-12 深圳市豹风网络股份有限公司 Method and system for dynamically displaying user interface of mobile terminal network game
CN108897538A (en) * 2018-06-08 2018-11-27 泰康保险集团股份有限公司 Page view display methods and device, storage medium and electric terminal
CN109218522A (en) * 2018-08-24 2019-01-15 北京金山安全软件有限公司 Function area processing method and device in application, electronic equipment and storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5892746B2 (en) * 2010-09-29 2016-03-23 インターナショナル・ビジネス・マシーンズ・コーポレーションInternational Business Machines Corporation Method, system, and program for personalized content layout (system and method for personalized content layout)
CA2937564A1 (en) * 2015-07-29 2017-01-29 Stressco Inc. Systems, methods and devices for extraction, aggregation, analysis and reporting of financial data

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103814371A (en) * 2011-09-26 2014-05-21 英特尔公司 Simulation of Web applications and secondary devices in a Web browser, Web application development tools, and methods using the same
CN104657451A (en) * 2015-02-05 2015-05-27 百度在线网络技术(北京)有限公司 Processing method and processing device for page
CN106020643A (en) * 2016-05-13 2016-10-12 深圳市豹风网络股份有限公司 Method and system for dynamically displaying user interface of mobile terminal network game
CN108897538A (en) * 2018-06-08 2018-11-27 泰康保险集团股份有限公司 Page view display methods and device, storage medium and electric terminal
CN109218522A (en) * 2018-08-24 2019-01-15 北京金山安全软件有限公司 Function area processing method and device in application, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN111026485A (en) 2020-04-17

Similar Documents

Publication Publication Date Title
CN111026485B (en) Data processing method and device
CN106933722B (en) Webpage application monitoring method, server and system
US20190146616A1 (en) Systems And Methods For Remote Tracking And Replay Of User Interaction With A Webpage
US20200104041A1 (en) System for capturing and replaying screen gestures
US20130042171A1 (en) Method and system for generating and managing annotation in electronic book
US20090019386A1 (en) Extraction and reapplication of design information to existing websites
RU2662632C2 (en) Presenting fixed format documents in reflowed format
US20210149842A1 (en) System and method for display of document comparisons on a remote device
EP3776193B1 (en) Capturing and processing interactions with a user interface of a native application
US8671389B1 (en) Web application resource manager on the web and localizable components
CN105791352B (en) Message pushing method and system for application
US9275398B1 (en) Obtaining metrics for client-side display of content
WO2014201901A1 (en) Method and system for web page commenting, browser and storage medium
CN105955593B (en) Method and device for presenting discussion information
CN113031948B (en) Popup window display method and device, computer equipment and storage medium
CN113868126A (en) Application debugging method, device and storage medium of equipment
CN112329403A (en) Live broadcast document processing method and device
CN111371953A (en) Tag data processing method, device and storage medium
US20120089899A1 (en) Method and system for redisplaying a web page
WO2001039024A2 (en) Dynamic internet advertising
CN112817817B (en) Buried point information query method, buried point information query device, computer equipment and storage medium
US20170147159A1 (en) Capturing and storing dynamic page state data
US8452814B1 (en) Gathering context in action to support in-context localization
CN103970773B (en) A kind of method for updating pages and device of webpage
CN114730341A (en) Protecting user privacy in user interface data collection for native applications

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
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40022477

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20221122

Address after: 1402, Floor 14, Block A, Haina Baichuan Headquarters Building, No. 6, Baoxing Road, Haibin Community, Xin'an Street, Bao'an District, Shenzhen, Guangdong 518,101

Patentee after: Shenzhen Yayue Technology Co.,Ltd.

Address before: 518057 Tencent Building, No. 1 High-tech Zone, Nanshan District, Shenzhen City, Guangdong Province, 35 floors

Patentee before: TENCENT TECHNOLOGY (SHENZHEN) Co.,Ltd.

TR01 Transfer of patent right