[go: up one dir, main page]

CN117076161A - How to obtain and write data by selecting content in a box - Google Patents

How to obtain and write data by selecting content in a box Download PDF

Info

Publication number
CN117076161A
CN117076161A CN202311335802.3A CN202311335802A CN117076161A CN 117076161 A CN117076161 A CN 117076161A CN 202311335802 A CN202311335802 A CN 202311335802A CN 117076161 A CN117076161 A CN 117076161A
Authority
CN
China
Prior art keywords
data
transmitted
source program
frame
coordinate
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.)
Granted
Application number
CN202311335802.3A
Other languages
Chinese (zh)
Other versions
CN117076161B (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.)
Hunan Yuyi Technology Co ltd
Original Assignee
Hunan Yuyi Technology 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 Hunan Yuyi Technology Co ltd filed Critical Hunan Yuyi Technology Co ltd
Priority to CN202311335802.3A priority Critical patent/CN117076161B/en
Publication of CN117076161A publication Critical patent/CN117076161A/en
Application granted granted Critical
Publication of CN117076161B publication Critical patent/CN117076161B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/543User-generated data transfer, e.g. clipboards, dynamic data exchange [DDE], object linking and embedding [OLE]
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/18File system types
    • G06F16/1805Append-only file systems, e.g. using logs or journals to store data
    • G06F16/1815Journaling file systems
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/44Program or device authentication
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本发明涉及数据传输技术领域,尤其涉及一种通过选取框选内容的方式获取和写入数据的方法。所述方法包括以下步骤:根据源程序权限进待传输信息采集,分别生成待传输数据以及待传输数据日志文件;根据待传输数据日志文件对待传输数据进行待传输数据优化,生成优化待传输数据;根据优化待传输数据进行存放优化待传输数据的数据框架设计,生成标准待传输数据框;对标准待传输数据框传输至源程序前端界面坐标中进行数据映射处理,生成映射堆叠数据框;对映射堆叠数据框进行传输数据选取处理,生成传输数据;根据目标程序权限对传输数据进行目标程序的数据写入处理,以生成目标程序存储数据。本发明大大降低了跨APP数据传输的开发成本。

The present invention relates to the technical field of data transmission, and in particular, to a method of obtaining and writing data by selecting content in a box. The method includes the following steps: collecting information to be transmitted according to source program permissions, and generating data to be transmitted and data log files to be transmitted respectively; optimizing the data to be transmitted according to the data log file to be transmitted, and generating optimized data to be transmitted; Design a data frame for storing optimized data to be transmitted based on the optimized data to be transmitted, and generate a standard data frame to be transmitted; transfer the standard data frame to be transmitted to the coordinates of the source program front-end interface for data mapping processing, and generate a mapping stacked data frame; map The stacked data frame performs transmission data selection processing to generate transmission data; the transmission data is written into the target program's data according to the target program's permissions to generate target program storage data. The invention greatly reduces the development cost of cross-APP data transmission.

Description

Method for acquiring and writing data by selecting frame selection content
Technical Field
The invention relates to the technical field of data transmission, in particular to a method for acquiring and writing data by selecting frame content.
Background
The method of framing content to acquire and write data allows a user to selectively extract and edit specific data in a large amount of information, thereby improving efficiency and accuracy of data management, and by selectively framing content, data of interest to them can be precisely specified without processing the entire data set, which is particularly critical for large data sets and complex documents, and can prevent erroneous operation and reduce errors because only carefully selected data is processed, thereby improving reliability and accuracy of data processing. However, the development of data cross-APP transmission by the traditional method of acquiring and writing data through selecting frame content requires a large cost, and a large and complex code amount is required for design, so that the data utilization efficiency cannot be effectively improved, and the use cost of an application data scene is high.
Disclosure of Invention
Based on this, the present invention provides a method for acquiring and writing data by selecting frame content, so as to solve at least one of the above technical problems.
To achieve the above object, a method for acquiring and writing data by selecting contents of a frame includes the steps of:
Step S1: acquiring a source program authority; performing source program authorization processing of the communication equipment according to the source program authority to generate a source program authorization instruction; acquiring information to be transmitted of a source program according to a source program authorization instruction, and respectively generating data to be transmitted and a data log file to be transmitted;
step S2: extracting an abnormal log file of data to be transmitted from the data log file to be transmitted to generate the abnormal log file; optimizing the data to be transmitted according to the abnormal log file to generate optimized data to be transmitted;
step S3: storing the data frame design of the optimized data to be transmitted according to the optimized data to be transmitted, and generating a data frame of the optimized data to be transmitted; transmitting the optimized data to be transmitted to a data frame of the optimized data to be transmitted, and filling the data to generate an initial data frame to be transmitted; performing color dynamic rendering of the data frame on the initial data frame to be transmitted, thereby generating a standard data frame to be transmitted;
step S4: acquiring front end interface coordinates of a source program; carrying out stacking and placing processing on the standard data frames to be transmitted to generate stacked data frames; transmitting the stacked data frame to a source program front end interface coordinate to perform data mapping processing by taking the source program front end interface coordinate as a central node, and generating a mapped stacked data frame; carrying out transmission data selection processing on the mapping stacked data frames to generate transmission data;
Step S5: acquiring a target program authority; performing target program authorization processing of the communication equipment according to the target program authority to generate a target program authorization instruction; and performing data writing processing of the target program on the transmission data according to the target program authorization instruction so as to generate target program storage data.
The invention ensures that the necessary rights of the source program are obtained for subsequent data transmission and processing. By obtaining the rights of the source program, legal data access and communication are ensured, and the source program authorization instruction is generated to define the communication rule and rights limitation between the source program and the communication equipment, so that the safety and the integrity of the data are ensured. The method comprises the steps of collecting information to be transmitted according to an authorization instruction, extracting necessary data from a source program, generating the data to be transmitted and a log file of the data to be transmitted, ensuring the legality and traceability of data transmission, enabling subsequent steps to further process and optimize based on the data, and enabling the generated log file to provide recording and auditing functions of data operation, thereby being beneficial to tracking and troubleshooting potential problems. When the data log file to be transmitted is processed, any possible data abnormality or error can be identified and recorded by extracting the abnormality log file, so that the potential problem in the data transmission process can be monitored in real time, and the reliability of the data transmission is improved. Then, according to the information in the abnormal log file, optimizing the data to be transmitted, which may include operations such as data cleaning, redundant information removal or data format standardization, so as to generate optimized data to be transmitted. The method has the advantages that the quality and consistency of data are improved, potential data transmission errors are reduced, the accuracy and reliability of the data are ensured, a higher-quality data base is provided for the subsequent steps, the generation of the abnormal log file is also helpful for identifying and solving the problem of data abnormality, and the fault tolerance and maintainability are improved. According to optimizing data to be transmitted, a proper data frame is designed, the frame is helpful for effectively organizing and storing the data, and the structure and the frame of the data are provided, so that the subsequent processing is more convenient. The data frame is filled with optimized data to be transmitted, and an initial data frame to be transmitted is generated, so that the data is organized according to the designed frame, and integration and management of the data are facilitated. The standard data frame to be transmitted is generated through the color dynamic rendering of the data frame, the step increases the visual effect of the data, improves the understandability and user experience of the data, improves the integrality, the visuality and the manageability of the data, ensures that the data is easier to understand and operate, is beneficial to a user to better understand and utilize the data, and carries out subsequent processing and analysis more efficiently. Coordinate information of the source program front-end interface is acquired in order to ensure that the data is correctly located on the interface. And processing the standard data frames to be transmitted so that the standard data frames can be stacked and put together to generate a stacked data frame, thereby being beneficial to effectively organizing and displaying data. And transmitting the stacked data frames to specific coordinate positions of a front-end interface of the source program so as to ensure that data are distributed on the interface in a mode of taking the front-end interface coordinates of the source program as a central node, and performing data mapping processing to generate mapped stacked data frames. And carrying out transmission data selection processing on the mapping stacked data frames to generate data to be finally transmitted, and presenting the optimized data in a visual and source program interface-adaptive mode, so that the usability and user experience of the data are improved, the data can be more intuitively interacted with a source program, and meanwhile, the accuracy and the integrity of data transmission are ensured. By acquiring the rights of the target program, legal data storage and communication rights are ensured, the target program authorization processing of the communication equipment is carried out according to the rights of the target program, and a target program authorization instruction is generated, wherein the instruction prescribes rules and rights limitation for communication with the target program so as to ensure the safety and the integrity of data. And carrying out data writing processing of the target program on the transmission data according to the target program authorization instruction, effectively storing the data into the target program, generating storage data required by the target program, ensuring the validity of data transmission and the safety of data storage, ensuring the usability of the data in the target program, meeting the related regulation and permission requirements, providing a legal compliance basis for the subsequent processing and utilization of the data, and helping to ensure the privacy and safety of the data and reliable data interaction between the source program and the target program. Therefore, the development of data cross-APP transmission by the method for acquiring and writing data in the mode of selecting the frame content does not need larger cost, the development cost is reduced by designing the data cross-APP transmission with smaller and simple code quantity, the data utilization efficiency can be effectively improved, and the use cost of an application data scene is reduced.
Preferably, step S1 comprises the steps of:
step S11: acquiring a source program authority and a source program database;
step S12: performing source program authorization processing of the communication equipment according to the source program authority to generate a source program authorization instruction;
step S13: performing real-time monitoring processing on source program data on a source program database according to a source program authorization instruction to generate source program monitoring data;
step S14: and acquiring information to be transmitted of the source program monitoring data source program according to the pre-selected data content range to be transmitted, and respectively generating data to be transmitted and a data log file to be transmitted.
The invention acquires the authority of the source program to ensure legal data access and communication. The database access authority of the source program is obtained, so that the system can directly access the data storage of the source program, the complexity and delay of data extraction are reduced, the real-time performance and accuracy of the data are ensured, and legal data access is ensured, thereby improving the efficiency and quality of data transmission. By generating the source program authorization instruction, the communication rule and the authority limit between the source program and the communication equipment are defined, the legality and the safety of data transmission are ensured, meanwhile, the system is allowed to communicate with the source program according to the designated rule, the legality and the controllability of the data transmission are improved, and the safe transmission of the data is ensured. By monitoring the source program database in real time, the change can be captured in time when the data of the source program changes, the source program monitoring data is generated, the real-time property of the data is ensured, and the latest data in the source program can be acquired in time, so that the accurate tracking and updating of the data are provided. According to the pre-selected data content range to be transmitted, the data to be transmitted is extracted from the source program monitoring data, and meanwhile, a data log file to be transmitted is generated to record the transmission process and detailed information of the data, so that the targeted selection and collection of the data are realized, unnecessary data transmission is reduced, the transmission efficiency is improved, the recording and auditing functions of data operation are provided, and the monitoring and the potential problem investigation are facilitated.
Preferably, step S1 comprises the steps of:
step S21: extracting an abnormal log file of data to be transmitted from the data log file to be transmitted to generate the abnormal log file;
step S22: performing repair processing on the data to be transmitted according to the abnormal log file, and generating repair data to be transmitted;
step S23: and integrating the repair data to be transmitted and the data to be transmitted to generate optimized data to be transmitted.
According to the method and the device, the data log file to be transmitted is analyzed and processed, the possible data abnormality or error is detected and extracted, the abnormal log file is generated, the potential data transmission problem can be timely identified and recorded, accurate abnormal data information is provided for subsequent data repair, and the reliability and maintainability of data transmission are improved. By analyzing the information in the abnormal log file, specific data abnormal conditions can be identified, the source program monitoring data is subjected to repair processing, the data to be transmitted is generated to be repaired, potential data problems are corrected, the integrity and the accuracy of the data are ensured, and the quality and the reliability of data transmission are improved. The method has the advantages that the data to be transmitted is repaired and integrated with the original data to be transmitted, the optimized data to be transmitted which is repaired and optimized is generated, the repaired data is organically combined with the original data, and more perfect and more accurate data to be transmitted is provided, so that the usability and quality of the data are enhanced, and a stronger foundation is provided for subsequent data transmission and processing.
Preferably, step S22 comprises the steps of:
and extracting data from the source program monitoring data corresponding to the abnormal log file to generate abnormal monitoring data, comparing the abnormal monitoring data with the data to be transmitted, and repairing the data of the abnormal monitoring data when the abnormal monitoring data does not have the same data with the data to be transmitted, so as to generate repaired data to be transmitted.
According to the method and the system, potential data anomalies are identified through the anomaly log file, and then the corresponding source program monitoring data are extracted to generate the anomaly monitoring data, so that the system can accurately locate and acquire the anomaly data, and the method and the system are beneficial to timely processing of data problems. By comparing the anomaly monitoring data with the original data to be transmitted, the anomaly monitoring data can be rapidly identified, so that the data to be repaired can be determined, the accuracy of data repair can be improved, and unnecessary data processing can be avoided. When the anomaly monitoring data is not matched with the original data to be transmitted, data acquisition is carried out, the data to be repaired is extracted from the anomaly monitoring data, the data to be transmitted is generated, only the data to be repaired actually is repaired, the redundant work of data repair is reduced, and the efficiency and the accuracy of data repair are improved.
Preferably, step S3 comprises the steps of:
step S31: storing the data frame design of the optimized data to be transmitted according to the optimized data to be transmitted, and generating a data frame of the optimized data to be transmitted;
step S32: transmitting the optimized data to be transmitted to a data frame of the optimized data to be transmitted for data filling, and generating an initial data frame to be transmitted;
step S33: extracting the time sequence of the optimized data to be transmitted to generate a time sequence of the optimized data to be transmitted;
step S34: and carrying out color dynamic rendering on the data frame to be transmitted initially according to the front-back sequence of the time sequence, thereby generating a standard data frame to be transmitted.
The invention designs a proper data frame according to the characteristics and requirements of the optimized data to be transmitted, the frame is favorable for effectively organizing and storing the data, the structure and consistency of the data are ensured, and the generation of the data frame for optimizing the data to be transmitted is favorable for providing a clear data structure, thereby providing a solid foundation for the subsequent data operation and presentation. The optimized data to be transmitted is filled into the designed data frame, so that an initial data frame to be transmitted is generated, the data is organized according to a preset structure, the data has usability and manageability, and the initial data frame to be transmitted provides a consistent data source for subsequent data processing and transmission. And extracting the time sequence of the optimized data to be transmitted, and sorting and organizing the data according to the time sequence to generate time sequence data, so that the data has the characteristic of time dimension, and is beneficial to time-related operation in subsequent analysis and visualization. The data frames to be transmitted are subjected to color dynamic rendering according to the front-back sequence of the time sequence, so that the standard data frames to be transmitted are generated, the visual effect of the data is improved, the data is more vivid and easy to understand during transmission and display, the standard data frames to be transmitted are helpful for improving user experience and data understandability, for example, the data frames in front of the time sequence are subjected to depth color rendering, a user is reminded of data selection, data cross APP transmission is conducted, when new data is generated, the data sequence is sent to change, and the color frames are also dynamically changed.
Preferably, step S34 includes the steps of:
performing color rendering of the data frames to be transmitted initially according to the sequence of the time series, performing depth color rendering of the data frames to be transmitted initially when the sequence of the time series corresponding to the data frames to be transmitted initially is forward, and performing shallow color rendering of the data frames to be transmitted initially when the sequence of the time series corresponding to the data frames to be transmitted initially is backward, so as to generate the data frames to be transmitted;
and carrying out real-time updating processing on the time sequence to generate a real-time sequence, and carrying out color rendering dynamic updating on the data frame to be transmitted according to the real-time sequence to generate a standard data frame to be transmitted.
According to the invention, the data frames to be transmitted are generated by carrying out color rendering to different degrees on the initial data frames to be transmitted according to the front-back sequence of the time sequence, when the time sequence corresponding to the initial data frames to be transmitted is close to the front, depth color rendering is adopted, and when the time sequence is close to the back, shallow color rendering is adopted, the time relation of the data is reflected through color rendering, so that the visual expressive power of the data is improved, and the data is easier to understand. By updating the time sequence in real time, a real-time sequence is generated, the accuracy and the instantaneity of the time relationship of the data are ensured, the latest time information is reflected by the data, and the user is facilitated to acquire the real-time data and know the dynamic change of the data. And carrying out dynamic color rendering updating on the data frame to be transmitted based on the real-time sequence, generating a standard data frame to be transmitted, ensuring timeliness and visual effect of the data, enabling the data to reflect changes in real time, and improving the availability and user experience of the data.
Preferably, step S4 comprises the steps of:
step S41: acquiring front end interface coordinates of a source program;
step S42: carrying out stacking and placing processing of the data frames on the standard data frames to be transmitted according to the time sequence corresponding to the standard data frames to be transmitted, and generating stacked data frames;
step S43: transmitting the stacked data frame to a source program front end interface coordinate to perform data mapping processing by taking the source program front end interface coordinate as a central node, and generating a mapped stacked data frame;
step S44: acquiring a front-end interface coordinate selection instruction of a user;
step S45: calculating the selection matching degree of the front-end interface coordinate selection instruction and the front-end interface coordinate of the source program by using a selection matching degree calculation formula of the front-end coordinate, and generating selection matching degree data; when the selected matching degree data is larger than a preset selected matching degree threshold value, transmission data selection processing is carried out on the mapping stacked data frame, and transmission data are generated.
The invention acquires the coordinate information of the front-end interface of the source program, and ensures that the data can be accurately positioned and presented on the interface, so that the data can be accurately displayed and interacted on the front-end interface. By carrying out stacking and placing processing on the data frames according to the time sequence information corresponding to the standard data frames to be transmitted, the stacked data frames are generated, so that the data are orderly arranged on the interface, and the visual effect and the user experience of the data are improved. The stacked data frame is transmitted to the appointed coordinate position of the front end interface of the source program, and the coordinates of the front end interface of the source program are used as a central node for data mapping processing, so that the mapped stacked data frame is generated, accurate matching of data and the interface is ensured, the data can be interacted and presented with the front end interface, and user experience is improved. The instruction of selecting the front-end interface coordinates by the user is acquired, the user is allowed to select the data to be transmitted independently, and the flexibility of the user in participation and control of data transmission is improved. The matching degree between the front-end interface coordinate selecting instruction and the front-end interface coordinate of the source program is calculated, the data of the selected matching degree is generated, when the data of the matching degree meets the preset threshold value, data selection processing is carried out, data to be transmitted are extracted from the mapping stacked data frame, transmission data are generated, accurate data transmission is realized according to the selection and the matching degree of a user, unnecessary data transmission is reduced, and the efficiency and the accuracy of data transmission are improved.
Preferably, the formula for calculating the matching degree of the front end coordinates in step S45 is as follows:
in the method, in the process of the invention,expressed as a selected matching degree score, ">Represented as before the source programNumber of coordinate points of the end interface coordinates, +.>Denoted as +.>Weight of each coordinate point->Denoted as +.>The nearest distance between each coordinate point and the selected coordinate generated by the coordinate instruction of the front-end interface is>Expressed as standard deviation of the source program front interface coordinates, +.>Denoted as +.>Coordinate data of individual coordinate points, +.>Center coordinate data expressed as front interface coordinates of the source program,/->Expressed as the horizontal angle of the nearest distance of the coordinate point to the selected coordinate, < >>And represents an outlier that selects a matching degree score.
The invention utilizes a calculation formula of the selection matching degree of the front end coordinates, and the calculation formula fully considers the number of coordinate points of the front end interface coordinates of the source programFirst->Weight of each coordinate point->First->Nearest distance +.f. between each coordinate point and selected coordinate generated by selecting front end interface coordinate instruction>Standard deviation of source procedure front interface coordinates +.>First->Coordinate data of individual coordinate points->Center coordinate data of source program front interface coordinates +.>Horizontal included angle of coordinate point and nearest distance of selected coordinate +. >And interactions between functions to form a functional relationship:
that is to say,the function relation is calculated by selecting the selected coordinates generated by the front-end interface coordinate instruction and the front-end interface coordinates of the source program, whether the user clicks the communication equipment, such as an android mobile phone, or not is judged, if the selected matching degree score is high, the user clicks the front-end interface where the source program is located, the next operation is performed, and otherwise, the user needs to wait for a response. The number of coordinate points of the coordinates of the front-end interface of the source program represents the complexity of the front-end interface of the source program and the number of coordinate points contained in the front-end interface of the source program, and the different communication equipment screens have different sizes, so that the coordinates are obtainedThe number of points may also vary. First->The weight of each coordinate point reflects that each coordinate point has a weight for representing the importance of the coordinate point to the matching degree, and the higher weight means that the coordinate point has a larger contribution to the matching degree, and the weight can be adjusted according to specific requirements so as to emphasize the importance of certain coordinate points, such as the weight of a coordinate center point close to the front end of a source program is relatively higher; first->The nearest distance between each coordinate point and the selected coordinate generated by the coordinate instruction of the front-end interface is used for reflecting that the closer the coordinate point to be selected is to the coordinate point of the front-end interface of the source program, the smaller the distance is, and the higher the matching degree score is; the standard deviation of the source program front end interface coordinates is used for describing the distribution condition of the source program front end interface coordinates, wherein a larger standard deviation indicates that coordinate points are more scattered, a smaller standard deviation indicates that the coordinate points are more concentrated, and the standard deviation is used for adjusting the sensitivity of the matching degree score so as to cope with the coordinate points with different distribution shapes; first- >The coordinate data of the coordinate points represent the position of each coordinate point in the front end interface of the source program, and the functional relation uses the coordinate data to calculate the parameters of the distance and probability distribution function; the center coordinate data of the front-end interface coordinates of the source program can be regarded as the average position of the coordinate points and is used for calculating the average value in the probability distribution function; the coordinate point and the horizontal direction included angle of the closest distance between the selected coordinates, and the smaller included angle indicates that the coordinate point and the direction of the selected coordinates are closer to each other and are close to the same horizontal position, so that the improvement of the matching degree score is facilitated. The functional relation provides a numerical evaluation that converts the degree of matching of the selected coordinates to the coordinates of the front-end interface of the source program into a score, which allows different coordinate selection strategies to be compared and optimized, rather than just subjective determinations. Abnormality adjustment value +.>The functional relation is adjusted and corrected, and the error influence caused by abnormal data or error items is reduced, so that the selected matching degree score +_is generated more accurately>The accuracy and the reliability of selecting and matching degree calculation of the front-end interface coordinate selecting instruction and the front-end interface coordinate of the source program are improved. Meanwhile, the adjustment value in the formula can be adjusted according to actual conditions and is applied to different selected coordinates generated by selecting front-end interface coordinate instructions, so that the flexibility and applicability of the algorithm are improved.
Preferably, the transmission content selection process for the mapping stack data frame in step S45 includes the following steps:
when the standard data frames to be transmitted in the mapping stack data frames are single, the standard data frames to be transmitted are utilized to carry out high brightness adjustment selection on the data frames, and high brightness data frames to be transmitted are generated;
when the number of standard data frames to be transmitted in the mapping stack data frames is multiple, acquiring a data frame selection instruction of a user, performing high brightness adjustment selection of the data frames on the pre-selected standard data frames to be transmitted, and generating a highlight data frame to be transmitted;
and carrying out transmission data extraction processing by using the highlighted data frame to be transmitted to generate transmission data.
When only one standard data frame to be transmitted exists in the mapping stack data frame, the data frame is highlighted and selected, so that the user is ensured to clearly identify and select the data to be transmitted, and the user experience and the operation accuracy are improved. When the mapping stack data frame contains a plurality of standard data frames to be transmitted, the user is allowed to provide a data frame selection instruction to highlight and select the data frame required by the user, the selection and control rights of the user on the plurality of data frames are provided, and the flexibility of user-defined data transmission is enhanced. The data frame to be transmitted is highlighted and is subjected to transmission data extraction processing, so that final transmission data is generated, the data selected by a user can be accurately and efficiently extracted and transmitted, and redundancy and errors of data transmission are reduced.
Preferably, step S5 comprises the steps of:
step S51: acquiring a target program authority and a target program database;
step S52: performing target program authorization processing of the communication equipment according to the target program authority to generate a target program authorization instruction;
step S53: and transmitting the transmission data to a target program database according to the target program authorization instruction to carry out data writing processing of the target program so as to generate target program storage data.
The invention acquires the access right of the target program and the target program database, ensures that the system has the necessary right and resources for accessing and writing the target program, and is beneficial to ensuring that the data can be successfully written into the target program. And carrying out authorization processing according to the target program authority, generating a target program authorization instruction, ensuring that the system has the right to access and operate the target program, and ensuring the legality and the safety of data writing. The transmission data is transmitted to the target program database by following the target program authorization instruction, and the data writing processing is carried out, so that the target program storage data is generated, the data is ensured to be effectively written into the target program, the transmission and storage of the data are realized, and the whole data transmission flow is completed.
The method has the advantages that the rights of the source program and the rights of accessing the source program database are obtained, legal data access is ensured, the generation of the source program authorization instruction ensures the safety and the legality of data transmission, the real-time monitoring processing enables the source program to track data change, the source program monitoring data is generated, the accuracy and the real-time performance of the data are further enhanced, the source program executes data acquisition operation aiming at the data content to be transmitted preselected by a user, the data to be transmitted and the data log file to be transmitted are respectively generated, the integrity and the real-time performance of the data of the source program are ensured, the preparation is made for the subsequent data transmission, a firm foundation is provided for the data transmission of the source program, and the quality and the integrity of the data in the transmission process are ensured, so that the requirements of the user are effectively met. The log files of the data to be transmitted are analyzed and processed, and the abnormal logs are extracted from the log files, so that the identification of any potential data problems is facilitated. Then, the data with abnormal characteristics is collected in the source program monitoring data, the repairing operation is performed, and the repairing data to be transmitted is generated, so that the quality and the usability of the data are further improved, the repairing data to be transmitted and the original data to be transmitted are integrated, the optimized data to be transmitted are generated, the integrity and the reliability of the data are ensured, and the smoothness of the data transmission is ensured, so that the requirements of users are met, the high-quality data transmission experience is provided, the reliability and the integrity of the data in the transmission process are facilitated, and a credible data base is provided for the subsequent steps. A data frame is designed according to the optimized data to be transmitted, the frame is favorable for better organizing and managing the data, the structuring degree of the data is improved, the optimized data to be transmitted is filled into the data frame, an initial data frame to be transmitted is generated, the integrity and usability of the data are ensured, time sequence information is extracted from the optimized data to be transmitted, the data can be managed and presented in time sequence, the standard data frame to be transmitted is generated by analyzing and rendering the time sequence in sequence, the visualization effect and expressive force of the data are improved, the structure of the data is optimized, the data is easier to process and understand, the high quality and consistency of the data in the transmission and presentation process are ensured, the readability and usability of the data are improved, and a better data base is provided for the subsequent steps. The method comprises the steps of obtaining coordinate information of a front-end interface of a source program, accurately positioning a transmission target of data, carrying out time sequence related stacking and placement processing on a standard data frame to be transmitted, generating a stacked data frame, enabling the data to be easier to process and display, transmitting the stacked data frame to the coordinate position of the front-end interface of the source program, carrying out data mapping processing, generating a mapped stacked data frame, guaranteeing correct transmission and display positions of the data, obtaining a front-end interface coordinate instruction of a user, determining which data the user wants to set as the transmission data, carrying out matching degree calculation on the coordinate instruction selected by the user and the front-end interface coordinate of the source program by using a matching degree selection calculation formula, generating matching degree selection data, carrying out transmission data selection processing on the mapped stacked data frame when the matching degree selection data meets a preset matching degree threshold, generating final transmission data, guaranteeing that the acquired data is the source program of the front-end interface position selected by the user, providing high data positioning and accuracy, meeting requirements of the user, providing good data transmission experience, and being beneficial to optimizing the accuracy and visual effect of the data in the transmission and display process. The authority of the target program and the right of accessing the database of the target program are obtained, legal writing of data is ensured, a target program authorization instruction is generated according to the authority of the target program, the instruction comprises information such as description and storage position of the data, the transmission data is transmitted to the database of the target program according to the generated authorization instruction, data writing operation is performed, finally the storage data of the target program is generated, the data is safely written into the target program, the integrity, availability and safety of the data are ensured, reliable storage of the data in the target program is facilitated, the requirements of users are met, and confidentiality and privacy of the data are ensured.
Drawings
FIG. 1 is a flow chart showing the steps of a method for acquiring and writing data by selecting frame contents according to the present invention;
FIG. 2 is a flowchart illustrating the detailed implementation of step S2 in FIG. 1;
FIG. 3 is a flowchart illustrating the detailed implementation of step S3 in FIG. 1;
FIG. 4 is a flowchart illustrating the detailed implementation of step S4 in FIG. 1;
the achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
The following is a clear and complete description of the technical method of the present patent in conjunction with the accompanying drawings, and it is evident that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, are intended to fall within the scope of the present invention.
Furthermore, the drawings are merely schematic illustrations of the present invention and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus a repetitive description thereof will be omitted. Some of the block diagrams shown in the figures are functional entities and do not necessarily correspond to physically or logically separate entities. The functional entities may be implemented in software or in one or more hardware modules or integrated circuits or in different networks and/or processor methods and/or microcontroller methods.
It will be understood that, although the terms "first," "second," etc. may be used herein to describe various elements, these elements should not be limited by these terms. These terms are only used to distinguish one element from another element. For example, a first element could be termed a second element, and, similarly, a second element could be termed a first element, without departing from the scope of example embodiments. The term "and/or" as used herein includes any and all combinations of one or more of the associated listed items.
In order to achieve the above objective, referring to fig. 1 to 4, the present invention provides a method for acquiring and writing data by selecting frame content, comprising the following steps:
step S1: acquiring a source program authority; performing source program authorization processing of the communication equipment according to the source program authority to generate a source program authorization instruction; acquiring information to be transmitted of a source program according to a source program authorization instruction, and respectively generating data to be transmitted and a data log file to be transmitted;
step S2: extracting an abnormal log file of data to be transmitted from the data log file to be transmitted to generate the abnormal log file; optimizing the data to be transmitted according to the abnormal log file to generate optimized data to be transmitted;
Step S3: storing the data frame design of the optimized data to be transmitted according to the optimized data to be transmitted, and generating a data frame of the optimized data to be transmitted; transmitting the optimized data to be transmitted to a data frame of the optimized data to be transmitted, and filling the data to generate an initial data frame to be transmitted; performing color dynamic rendering of the data frame on the initial data frame to be transmitted, thereby generating a standard data frame to be transmitted;
step S4: acquiring front end interface coordinates of a source program; carrying out stacking and placing processing on the standard data frames to be transmitted to generate stacked data frames; transmitting the stacked data frame to a source program front end interface coordinate to perform data mapping processing by taking the source program front end interface coordinate as a central node, and generating a mapped stacked data frame; carrying out transmission data selection processing on the mapping stacked data frames to generate transmission data;
step S5: acquiring a target program authority; performing target program authorization processing of the communication equipment according to the target program authority to generate a target program authorization instruction; and performing data writing processing of the target program on the transmission data according to the target program authorization instruction so as to generate target program storage data.
The invention ensures that the necessary rights of the source program are obtained for subsequent data transmission and processing. By obtaining the rights of the source program, legal data access and communication are ensured, and the source program authorization instruction is generated to define the communication rule and rights limitation between the source program and the communication equipment, so that the safety and the integrity of the data are ensured. The method comprises the steps of collecting information to be transmitted according to an authorization instruction, extracting necessary data from a source program, generating the data to be transmitted and a log file of the data to be transmitted, ensuring the legality and traceability of data transmission, enabling subsequent steps to further process and optimize based on the data, and enabling the generated log file to provide recording and auditing functions of data operation, thereby being beneficial to tracking and troubleshooting potential problems. When the data log file to be transmitted is processed, any possible data abnormality or error can be identified and recorded by extracting the abnormality log file, so that the potential problem in the data transmission process can be monitored in real time, and the reliability of the data transmission is improved. Then, according to the information in the abnormal log file, optimizing the data to be transmitted, which may include operations such as data cleaning, redundant information removal or data format standardization, so as to generate optimized data to be transmitted. The method has the advantages that the quality and consistency of data are improved, potential data transmission errors are reduced, the accuracy and reliability of the data are ensured, a higher-quality data base is provided for the subsequent steps, the generation of the abnormal log file is also helpful for identifying and solving the problem of data abnormality, and the fault tolerance and maintainability are improved. According to optimizing data to be transmitted, a proper data frame is designed, the frame is helpful for effectively organizing and storing the data, and the structure and the frame of the data are provided, so that the subsequent processing is more convenient. The data frame is filled with optimized data to be transmitted, and an initial data frame to be transmitted is generated, so that the data is organized according to the designed frame, and integration and management of the data are facilitated. The standard data frame to be transmitted is generated through the color dynamic rendering of the data frame, the step increases the visual effect of the data, improves the understandability and user experience of the data, improves the integrality, the visuality and the manageability of the data, ensures that the data is easier to understand and operate, is beneficial to a user to better understand and utilize the data, and carries out subsequent processing and analysis more efficiently. Coordinate information of the source program front-end interface is acquired in order to ensure that the data is correctly located on the interface. And processing the standard data frames to be transmitted so that the standard data frames can be stacked and put together to generate a stacked data frame, thereby being beneficial to effectively organizing and displaying data. And transmitting the stacked data frames to specific coordinate positions of a front-end interface of the source program so as to ensure that data are distributed on the interface in a mode of taking the front-end interface coordinates of the source program as a central node, and performing data mapping processing to generate mapped stacked data frames. And carrying out transmission data selection processing on the mapping stacked data frames to generate data to be finally transmitted, and presenting the optimized data in a visual and source program interface-adaptive mode, so that the usability and user experience of the data are improved, the data can be more intuitively interacted with a source program, and meanwhile, the accuracy and the integrity of data transmission are ensured. By acquiring the rights of the target program, legal data storage and communication rights are ensured, the target program authorization processing of the communication equipment is carried out according to the rights of the target program, and a target program authorization instruction is generated, wherein the instruction prescribes rules and rights limitation for communication with the target program so as to ensure the safety and the integrity of data. And carrying out data writing processing of the target program on the transmission data according to the target program authorization instruction, effectively storing the data into the target program, generating storage data required by the target program, ensuring the validity of data transmission and the safety of data storage, ensuring the usability of the data in the target program, meeting the related regulation and permission requirements, providing a legal compliance basis for the subsequent processing and utilization of the data, and helping to ensure the privacy and safety of the data and reliable data interaction between the source program and the target program. Therefore, the development of data cross-APP transmission by the method for acquiring and writing data in the mode of selecting the frame content does not need larger cost, the development cost is reduced by designing the data cross-APP transmission with smaller and simple code quantity, the data utilization efficiency can be effectively improved, and the use cost of an application data scene is reduced.
In the embodiment of the present invention, as described with reference to fig. 1, a flow chart of steps of a method for acquiring and writing data by selecting frame contents according to the present invention is shown, and in the embodiment, the method for acquiring and writing data by selecting frame contents includes the following steps:
step S1: acquiring a source program authority; performing source program authorization processing of the communication equipment according to the source program authority to generate a source program authorization instruction; acquiring information to be transmitted of a source program according to a source program authorization instruction, and respectively generating data to be transmitted and a data log file to be transmitted;
in the embodiment of the invention, a user opens a source program and grants the authority required by the application in the application setting, including reading storage authority, network authority and the like, so as to ensure that the application can access the data of the user, and the system receives the authority to acquire the authority of the source program. The source program authorization processing of the communication device is performed according to the source program authority, and a source program authorization instruction is generated, wherein the instruction comprises information such as an application identifier, required authority, an authorization token and the like, for example, when the application requests to access data information of a user, such as a name, an email address and a friend list, the access can be authorized, so that the system can acquire corresponding data. The method comprises the steps of starting to collect information to be transmitted by using an authorization instruction, accessing personal data of a user, collecting required data and storing the data as the data to be transmitted, wherein the data comprise names, email addresses and social connections associated with the user, storing the collected data as the data to be transmitted, and simultaneously generating a log file of the data to be transmitted, wherein the collected data information, a time stamp and any possible abnormality or error are recorded.
Step S2: extracting an abnormal log file of data to be transmitted from the data log file to be transmitted to generate the abnormal log file; optimizing the data to be transmitted according to the abnormal log file to generate optimized data to be transmitted;
in the embodiment of the invention, a source program scans a log file of data to be transmitted, detects abnormal data in the log file, such as information of failure in acquisition of the data to be transmitted in the log file, marks the information to obtain an abnormal log file, including detailed description and position information of failure in acquisition of the data, and records a data item with incomplete content of the data to be transmitted. According to the abnormal log file, optimizing the data to be transmitted, performing secondary acquisition on the data to be transmitted, which is failed to acquire, in the log file, and performing iterative optimization on acquisition in a reciprocating manner, so that the data to be transmitted can be acquired completely, and optimized data to be transmitted is generated.
Step S3: storing the data frame design of the optimized data to be transmitted according to the optimized data to be transmitted, and generating a data frame of the optimized data to be transmitted; transmitting the optimized data to be transmitted to a data frame of the optimized data to be transmitted, and filling the data to generate an initial data frame to be transmitted; performing color dynamic rendering of the data frame on the initial data frame to be transmitted, thereby generating a standard data frame to be transmitted;
In the embodiment of the invention, a data frame is created for storing the optimized data to be transmitted, the layout frame can be manually set by using canvas, or the frame is created by using HTML and CSS, the design of the data frame may include defining the position, size, layout and style of the data, filling the optimized data to be transmitted into the data frame, and ensuring that the data is matched with the layout and style of the frame. Color dynamic rendering is performed on the initial data frame to be transmitted so that the data frame looks more attractive or matches with the interface of the target program, and according to the rendered data frame, a standard data frame to be transmitted is generated, and is used for being actually transmitted to the target program, wherein the HTML and CSS create data frame codes for storing data as follows:
“<!DOCTYPE html>
<html>
<head>
<style>
//
.data-frame {border: 2px solid #3498db;padding: 10px;width: 300px;height: 150px;}
//
.data-frame:hover {background-color: #f2f2f2;}
</style>
</head>
<body>
< | -data filling-)
<div class="data-frame">
<p>This is the optimized data to be transferred.</p>
</div>
</body>
</html>”。
Step S4: acquiring front end interface coordinates of a source program; carrying out stacking and placing processing on the standard data frames to be transmitted to generate stacked data frames; transmitting the stacked data frame to a source program front end interface coordinate to perform data mapping processing by taking the source program front end interface coordinate as a central node, and generating a mapped stacked data frame; carrying out transmission data selection processing on the mapping stacked data frames to generate transmission data;
In the embodiment of the invention, the coordinate information on the front end interface of the source program is acquired through the system, such as the position of the front end interface of the mobile phone where the source program is located. And stacking and placing the standard data frames to be transmitted so as to ensure that the standard data frames to be transmitted are arranged on an interface correctly, displaying the stacked data when clicking data, and stacking the data frames in front according to the standard data frames to be transmitted with the front time sequence when clicking data for shrinkage, wherein the method comprises the steps of determining the positions, the levels and the sizes of the data frames. Transmitting the stacked data frames to the designated coordinate position of the front end interface of the source program, generally taking the front end interface coordinate of the source program as a central node, performing data mapping processing according to the position of the data frames in the front end interface coordinate of the source program, ensuring that the data are accurately placed at the required position, receiving the data of the standard data frames to be transmitted selected in a clicking or dragging mode by a user, performing highlighting selection on the corresponding data frames, performing data acquisition on the highlighted books, and generating transmission data.
Step S5: acquiring a target program authority; performing target program authorization processing of the communication equipment according to the target program authority to generate a target program authorization instruction; and performing data writing processing of the target program on the transmission data according to the target program authorization instruction so as to generate target program storage data.
In the embodiment of the invention, a user opens a target program and grants the permission required by the application in the application setting, such as writing data, accessing storage and the like, so as to ensure that the application can access the data of the user, and the system receives the target program permission to acquire the target program permission. Once the rights are granted, the target program will generate authorization instructions for communicating with the communication device, which may be an encrypted token or an API key, ensuring that the data transfer is legal and secure. The method comprises the steps of using an authorization instruction of a target program to acquire and write data of transmission data, storing the data in a designated position in the target program, analyzing and inserting the data into a database, writing a file or interacting with an API of the target program, finally, successfully writing the transmission data into the target program, generating storage data of the target program, and accessing and using the storage data of the target program in the target program.
Preferably, step S1 comprises the steps of:
step S11: acquiring a source program authority and a source program database;
step S12: performing source program authorization processing of the communication equipment according to the source program authority to generate a source program authorization instruction;
Step S13: performing real-time monitoring processing on source program data on a source program database according to a source program authorization instruction to generate source program monitoring data;
step S14: and acquiring information to be transmitted of the source program monitoring data source program according to the pre-selected data content range to be transmitted, and respectively generating data to be transmitted and a data log file to be transmitted.
The invention acquires the authority of the source program to ensure legal data access and communication. The database access authority of the source program is obtained, so that the system can directly access the data storage of the source program, the complexity and delay of data extraction are reduced, the real-time performance and accuracy of the data are ensured, and legal data access is ensured, thereby improving the efficiency and quality of data transmission. By generating the source program authorization instruction, the communication rule and the authority limit between the source program and the communication equipment are defined, the legality and the safety of data transmission are ensured, meanwhile, the system is allowed to communicate with the source program according to the designated rule, the legality and the controllability of the data transmission are improved, and the safe transmission of the data is ensured. By monitoring the source program database in real time, the change can be captured in time when the data of the source program changes, the source program monitoring data is generated, the real-time property of the data is ensured, and the latest data in the source program can be acquired in time, so that the accurate tracking and updating of the data are provided. According to the pre-selected data content range to be transmitted, the data to be transmitted is extracted from the source program monitoring data, and meanwhile, a data log file to be transmitted is generated to record the transmission process and detailed information of the data, so that the targeted selection and collection of the data are realized, unnecessary data transmission is reduced, the transmission efficiency is improved, the recording and auditing functions of data operation are provided, and the monitoring and the potential problem investigation are facilitated.
In the embodiment of the invention, the source program is opened through the mobile phone equipment, and the authority required by the application is granted in the application setting, including reading the storage authority, the network authority and the like, so as to ensure that the application can access the data of the user, the system receives the authority to acquire the authority of the source program, and the mobile phone equipment accesses the source program data background to acquire the source program database. The source program authorization process of the communication device is performed according to the source program rights, and once the rights are granted, the source program generates authorization instructions for communicating with the communication device, which may be an encrypted token or an API key, ensuring that the data transfer is legal and secure. And establishing connection with a source program database by using an authorization instruction, monitoring the change of the database in real time, and generating source program monitoring data by using a database management tool or a database connection database of a programming language. According to the pre-selected data content range to be transmitted, information to be transmitted, which can be specific tables, documents, notes, pictures, audio, video or other data, is extracted from the source program monitoring data, and meanwhile, the information of the data to be transmitted is recorded and a data log file to be transmitted is generated so as to track and examine the data transmission process, such as whether the feedback acquisition of the data to be transmitted fails or not.
Preferably, step S1 comprises the steps of:
step S21: extracting an abnormal log file of data to be transmitted from the data log file to be transmitted to generate the abnormal log file;
step S22: performing repair processing on the data to be transmitted according to the abnormal log file, and generating repair data to be transmitted;
step S23: and integrating the repair data to be transmitted and the data to be transmitted to generate optimized data to be transmitted.
According to the method and the device, the data log file to be transmitted is analyzed and processed, the possible data abnormality or error is detected and extracted, the abnormal log file is generated, the potential data transmission problem can be timely identified and recorded, accurate abnormal data information is provided for subsequent data repair, and the reliability and maintainability of data transmission are improved. By analyzing the information in the abnormal log file, specific data abnormal conditions can be identified, the source program monitoring data is subjected to repair processing, the data to be transmitted is generated to be repaired, potential data problems are corrected, the integrity and the accuracy of the data are ensured, and the quality and the reliability of data transmission are improved. The method has the advantages that the data to be transmitted is repaired and integrated with the original data to be transmitted, the optimized data to be transmitted which is repaired and optimized is generated, the repaired data is organically combined with the original data, and more perfect and more accurate data to be transmitted is provided, so that the usability and quality of the data are enhanced, and a stronger foundation is provided for subsequent data transmission and processing.
As an example of the present invention, referring to fig. 2, a detailed implementation step flow diagram of step S2 in fig. 1 is shown, where step S2 includes:
step S21: extracting an abnormal log file of data to be transmitted from the data log file to be transmitted to generate the abnormal log file;
in the embodiment of the invention, the abnormal log information is extracted from the data log file to be transmitted, including error, lost data or inconsistency record in the transmission process, a new abnormal log file is created, and the extracted abnormal information is written into the new abnormal log file for further analysis and processing.
Step S22: performing repair processing on the data to be transmitted according to the abnormal log file, and generating repair data to be transmitted;
in the embodiment of the invention, according to the error information in the abnormal log file, the abnormal condition in the data monitored by the source program is analyzed, the abnormal data to be transmitted is subjected to data secondary acquisition processing, which possibly involves data re-acquisition or other correction operations, and the re-acquired data is subjected to iterative repair in step S21 and step S22, so that complete data to be transmitted is obtained, repair data to be transmitted is generated, and the integrity and consistency of the data are ensured.
Step S23: and integrating the repair data to be transmitted and the data to be transmitted to generate optimized data to be transmitted.
In the embodiment of the invention, the repaired data to be transmitted is integrated with the original data to be transmitted to generate the optimized data to be transmitted, and the optimized data to be transmitted is ordered according to the time sequence of the original data acquisition in the log file, so that the integrated data still meets the pre-selected transmission content range and requirement.
Preferably, step S22 comprises the steps of:
and extracting data from the source program monitoring data corresponding to the abnormal log file to generate abnormal monitoring data, comparing the abnormal monitoring data with the data to be transmitted, and repairing the data of the abnormal monitoring data when the abnormal monitoring data does not have the same data with the data to be transmitted, so as to generate repaired data to be transmitted.
According to the method and the system, potential data anomalies are identified through the anomaly log file, and then the corresponding source program monitoring data are extracted to generate the anomaly monitoring data, so that the system can accurately locate and acquire the anomaly data, and the method and the system are beneficial to timely processing of data problems. By comparing the anomaly monitoring data with the original data to be transmitted, the anomaly monitoring data can be rapidly identified, so that the data to be repaired can be determined, the accuracy of data repair can be improved, and unnecessary data processing can be avoided. When the anomaly monitoring data is not matched with the original data to be transmitted, data acquisition is carried out, the data to be repaired is extracted from the anomaly monitoring data, the data to be transmitted is generated, only the data to be repaired actually is repaired, the redundant work of data repair is reduced, and the efficiency and the accuracy of data repair are improved.
In the embodiment of the invention, the exception log information is extracted from the exception log file, including errors, lost data or inconsistent records in the transmission process, the exception log information is used for positioning the part related to the exception in the source program monitoring data, and the source program monitoring data related to the exception is extracted, and the data are called as the exception monitoring data. Comparing the abnormal monitoring data with the data to be transmitted to determine which data are lost or damaged under the abnormal condition, recording the comparison result, and marking which data need to be further subjected to data re-acquisition or repair. And for abnormal monitoring data which does not have corresponding data in the data to be transmitted, performing data re-acquisition operation, wherein the re-acquisition of the data may comprise the steps of re-acquiring missing information from a source program, repairing damaged data and the like to acquire the data, integrating the re-acquired data into the data to be transmitted, generating repairing data to be transmitted, and ensuring the integrity and consistency of the data.
Preferably, step S3 comprises the steps of:
step S31: storing the data frame design of the optimized data to be transmitted according to the optimized data to be transmitted, and generating a data frame of the optimized data to be transmitted;
Step S32: transmitting the optimized data to be transmitted to a data frame of the optimized data to be transmitted for data filling, and generating an initial data frame to be transmitted;
step S33: extracting the time sequence of the optimized data to be transmitted to generate a time sequence of the optimized data to be transmitted;
step S34: and carrying out color dynamic rendering on the data frame to be transmitted initially according to the front-back sequence of the time sequence, thereby generating a standard data frame to be transmitted.
The invention designs a proper data frame according to the characteristics and requirements of the optimized data to be transmitted, the frame is favorable for effectively organizing and storing the data, the structure and consistency of the data are ensured, and the generation of the data frame for optimizing the data to be transmitted is favorable for providing a clear data structure, thereby providing a solid foundation for the subsequent data operation and presentation. The optimized data to be transmitted is filled into the designed data frame, so that an initial data frame to be transmitted is generated, the data is organized according to a preset structure, the data has usability and manageability, and the initial data frame to be transmitted provides a consistent data source for subsequent data processing and transmission. And extracting the time sequence of the optimized data to be transmitted, and sorting and organizing the data according to the time sequence to generate time sequence data, so that the data has the characteristic of time dimension, and is beneficial to time-related operation in subsequent analysis and visualization. The data frames to be transmitted are subjected to color dynamic rendering according to the front-back sequence of the time sequence, so that the standard data frames to be transmitted are generated, the visual effect of the data is improved, the data is more vivid and easy to understand during transmission and display, the standard data frames to be transmitted are helpful for improving user experience and data understandability, for example, the data frames in front of the time sequence are subjected to depth color rendering, a user is reminded of data selection, data cross APP transmission is conducted, when new data is generated, the data sequence is sent to change, and the color frames are also dynamically changed.
As an example of the present invention, referring to fig. 3, a detailed implementation step flow diagram of step S3 in fig. 1 is shown, where step S3 includes:
step S31: storing the data frame design of the optimized data to be transmitted according to the optimized data to be transmitted, and generating a data frame of the optimized data to be transmitted;
in the embodiment of the invention, according to the type and the layout requirement of the optimized data to be transmitted, a data frame is drawn on the canvas, the frame is used for storing the optimized data to be transmitted, the drawing of the data frame possibly comprises defining information such as the position, the size, the layout, the style, the background and the like of the data, and the data frame is a visual frame and is used for storing and displaying the optimized data to be transmitted.
Step S32: transmitting the optimized data to be transmitted to a data frame of the optimized data to be transmitted for data filling, and generating an initial data frame to be transmitted;
in the embodiment of the invention, the optimized data to be transmitted is filled into a pre-designed data frame to ensure that the data is matched with the layout and the style of the frame, and text, images or other types of data are placed in the data frame to ensure that the text, the images or other types of data are matched with the layout and the style of the frame so as to generate an initial data frame to be transmitted.
Step S33: extracting the time sequence of the optimized data to be transmitted to generate a time sequence of the optimized data to be transmitted;
in the embodiment of the invention, the optimized data to be transmitted is extracted in time sequence, namely, the front-back sequence or the time stamp of the data is determined, which is helpful to ensure that the data can be presented or used in the correct sequence after being transmitted, thereby generating the time sequence of the optimized data to be transmitted.
Step S34: and carrying out color dynamic rendering on the data frame to be transmitted initially according to the front-back sequence of the time sequence, thereby generating a standard data frame to be transmitted.
In the embodiment of the invention, the initial data frame to be transmitted is dynamically rendered according to the front-back sequence of the time sequence, so that the data frame looks more attractive or data is displayed according to the time line, rendering comprises changing the color of the text frame according to the time sequence of the data, for example, the color of the data text frame with the back time sequence is lighter, otherwise, the color of the data text frame with the front time sequence is darker, when new data is acquired, a new text frame is generated, the time sequence of the original data correspondingly changes backwards, and the corresponding text frame color also becomes lighter.
Preferably, step S34 includes the steps of:
Performing color rendering of the data frames to be transmitted initially according to the sequence of the time series, performing depth color rendering of the data frames to be transmitted initially when the sequence of the time series corresponding to the data frames to be transmitted initially is forward, and performing shallow color rendering of the data frames to be transmitted initially when the sequence of the time series corresponding to the data frames to be transmitted initially is backward, so as to generate the data frames to be transmitted;
and carrying out real-time updating processing on the time sequence to generate a real-time sequence, and carrying out color rendering dynamic updating on the data frame to be transmitted according to the real-time sequence to generate a standard data frame to be transmitted.
According to the invention, the data frames to be transmitted are generated by carrying out color rendering to different degrees on the initial data frames to be transmitted according to the front-back sequence of the time sequence, when the time sequence corresponding to the initial data frames to be transmitted is close to the front, depth color rendering is adopted, and when the time sequence is close to the back, shallow color rendering is adopted, the time relation of the data is reflected through color rendering, so that the visual expressive power of the data is improved, and the data is easier to understand. By updating the time sequence in real time, a real-time sequence is generated, the accuracy and the instantaneity of the time relationship of the data are ensured, the latest time information is reflected by the data, and the user is facilitated to acquire the real-time data and know the dynamic change of the data. And carrying out dynamic color rendering updating on the data frame to be transmitted based on the real-time sequence, generating a standard data frame to be transmitted, ensuring timeliness and visual effect of the data, enabling the data to reflect changes in real time, and improving the availability and user experience of the data.
In an embodiment of the present invention, the color and appearance of the data box is defined using CSS or other patterns according to the order of the time series. When the order of the time series corresponding to the data frames to be initially transmitted is earlier (i.e., newer data), dark color rendering is applied to highlight, such as dark blue, to draw the attention of the user. When the order of the time series corresponding to the data frames to be initially transmitted is later (i.e., earlier data), light color rendering is applied for distinction, such as light blue, for distinction. Monitoring the time series for changes in real time to ensure that the time series of the data is up to date, updating the time series when new data arrives, and identifying the time stamp of the new data. Based on the sequence of the real-time sequence, dynamically updating the color and appearance of the data frame, when new data to be transmitted is acquired, establishing the corresponding data frame again, and applying deep color rendering, so that a standard data frame to be transmitted is generated, the data to be transmitted and a text frame for storing the data are contained, and a user is reminded of selecting the data to transmit through the change.
Preferably, step S4 comprises the steps of:
step S41: acquiring front end interface coordinates of a source program;
Step S42: carrying out stacking and placing processing of the data frames on the standard data frames to be transmitted according to the time sequence corresponding to the standard data frames to be transmitted, and generating stacked data frames;
step S43: transmitting the stacked data frame to a source program front end interface coordinate to perform data mapping processing by taking the source program front end interface coordinate as a central node, and generating a mapped stacked data frame;
step S44: acquiring a front-end interface coordinate selection instruction of a user;
step S45: calculating the selection matching degree of the front-end interface coordinate selection instruction and the front-end interface coordinate of the source program by using a selection matching degree calculation formula of the front-end coordinate, and generating selection matching degree data; when the selected matching degree data is larger than a preset selected matching degree threshold value, transmission data selection processing is carried out on the mapping stacked data frame, and transmission data are generated.
The invention acquires the coordinate information of the front-end interface of the source program, and ensures that the data can be accurately positioned and presented on the interface, so that the data can be accurately displayed and interacted on the front-end interface. By carrying out stacking and placing processing on the data frames according to the time sequence information corresponding to the standard data frames to be transmitted, the stacked data frames are generated, so that the data are orderly arranged on the interface, and the visual effect and the user experience of the data are improved. The stacked data frame is transmitted to the appointed coordinate position of the front end interface of the source program, and the coordinates of the front end interface of the source program are used as a central node for data mapping processing, so that the mapped stacked data frame is generated, accurate matching of data and the interface is ensured, the data can be interacted and presented with the front end interface, and user experience is improved. The instruction of selecting the front-end interface coordinates by the user is acquired, the user is allowed to select the data to be transmitted independently, and the flexibility of the user in participation and control of data transmission is improved. The matching degree between the front-end interface coordinate selecting instruction and the front-end interface coordinate of the source program is calculated, the data of the selected matching degree is generated, when the data of the matching degree meets the preset threshold value, data selection processing is carried out, data to be transmitted are extracted from the mapping stacked data frame, transmission data are generated, accurate data transmission is realized according to the selection and the matching degree of a user, unnecessary data transmission is reduced, and the efficiency and the accuracy of data transmission are improved.
As an example of the present invention, referring to fig. 4, a detailed implementation step flow diagram of step S4 in fig. 1 is shown, where step S4 includes:
step S41: acquiring front end interface coordinates of a source program;
in the embodiment of the invention, the coordinate information of the front end interface of the source program is acquired through the API of the source program or the interface monitoring tool, wherein the coordinate information comprises the specific position coordinates (x, y) on the screen, and the interface coordinates are acquired by using Android accessibilitiyService.
Step S42: carrying out stacking and placing processing of the data frames on the standard data frames to be transmitted according to the time sequence corresponding to the standard data frames to be transmitted, and generating stacked data frames;
in the embodiment of the invention, the standard data frames to be transmitted are stacked and laid out according to the time sequence order, so that the data can be properly stacked, for example, if the standard data to be transmitted is a group of layers, the standard data to be transmitted are stacked together according to the time sequence according to the time stamps of the standard data to be transmitted.
Step S43: transmitting the stacked data frame to a source program front end interface coordinate to perform data mapping processing by taking the source program front end interface coordinate as a central node, and generating a mapped stacked data frame;
In the embodiment of the invention, the stacked data frames are transmitted to the appointed coordinate position of the front-end interface of the source program through the interface communication protocol, so that the stacked data frames are ensured to be positioned at the correct position for carrying out data mapping processing, the data can be ensured to correspond to the specific part of the front-end interface of the source program, the interface is better adapted, for example, in Android, an accessibilitiyService of Android can be used for adding the data layer to the interface coordinate of the source program.
Step S44: acquiring a front-end interface coordinate selection instruction of a user;
in the embodiment of the invention, waiting for a user instruction, for example, clicking or dragging on the front end interface of the source program by the user to select the target position, the system captures the selection instruction through user interface interaction or user input, so as to obtain the coordinate instruction of the front end interface selected by the user.
Step S45: calculating the selection matching degree of the front-end interface coordinate selection instruction and the front-end interface coordinate of the source program by using a selection matching degree calculation formula of the front-end coordinate, and generating selection matching degree data; when the selected matching degree data is larger than a preset selected matching degree threshold value, transmission data selection processing is carried out on the mapping stacked data frame, and transmission data are generated.
In the embodiment of the invention, the coordinate selected by the user is compared with the coordinate of the front end interface of the source program by using a selected matching degree calculation formula to determine the matching degree of the coordinate selected by the user and the coordinate on the interface, and selected matching degree data is generated, wherein the data reflects the matching degree between the coordinate selected by the user and the coordinate on the interface, and for example, the distance or the similarity between the two coordinates can be calculated as an index of the matching degree. And comparing the selected matching degree data with a preset matching degree threshold value, if the matching degree is high enough, indicating that the selection of the user is effective, selecting corresponding data from the mapping stack data frame according to the coordinates selected by the user, generating transmission data, for example, if the user selects a certain layer, only transmitting the data of the layer.
Preferably, the formula for calculating the matching degree of the front end coordinates in step S45 is as follows:
in the method, in the process of the invention,expressed as a selected matching degree score, ">Number of coordinate points expressed as coordinates of front-end interface of source program,/->Denoted as +.>Weight of each coordinate point->Denoted as +.>The nearest distance between each coordinate point and the selected coordinate generated by the coordinate instruction of the front-end interface is>Expressed as standard deviation of the source program front interface coordinates, +. >Denoted as +.>Coordinate data of individual coordinate points, +.>Center coordinate data expressed as front interface coordinates of the source program,/->Expressed as the horizontal angle of the nearest distance of the coordinate point to the selected coordinate, < >>And represents an outlier that selects a matching degree score.
The invention utilizes a calculation formula of the selection matching degree of the front end coordinates, and the calculation formula fully considers the number of coordinate points of the front end interface coordinates of the source programFirst->Weight of each coordinate point->First->Nearest distance +.f. between each coordinate point and selected coordinate generated by selecting front end interface coordinate instruction>Standard deviation of source procedure front interface coordinates +.>First->Coordinate data of individual coordinate points->Center coordinate data of source program front interface coordinates +.>Horizontal included angle of coordinate point and nearest distance of selected coordinate +.>And interactions between functions to form a functional relationship:
that is to say,the function relation is calculated by selecting the selected coordinates generated by the front-end interface coordinate instruction and the front-end interface coordinates of the source program, whether the user clicks the communication equipment, such as an android mobile phone, or not is judged, if the selected matching degree score is high, the user clicks the front-end interface where the source program is located, the next operation is performed, and otherwise, the user needs to wait for a response. The number of coordinate points of the coordinates of the front-end interface of the source program represents the complexity of the front-end interface of the source program and the number of coordinate points contained in the front-end interface of the source program, and the different communication equipment screens have different sizes, so that the number of coordinate points may also have different values. First- >The weight of each coordinate point reflects that each coordinate point has a weight for representing the importance of the coordinate point to the matching degree, and the higher weight means that the coordinate point has a larger contribution to the matching degree, and the weight can be adjusted according to specific requirements so as to emphasize the importance of certain coordinate points, such as the weight of a coordinate center point close to the front end of a source program is relatively higher; first->The nearest distance between each coordinate point and the selected coordinate generated by the coordinate instruction of the front-end interface reflects the coordinate which is expected to be selectedThe closer the point is to the coordinate point of the front end interface of the source program, the smaller the distance is, and the higher the matching degree score is; the standard deviation of the source program front end interface coordinates is used for describing the distribution condition of the source program front end interface coordinates, wherein a larger standard deviation indicates that coordinate points are more scattered, a smaller standard deviation indicates that the coordinate points are more concentrated, and the standard deviation is used for adjusting the sensitivity of the matching degree score so as to cope with the coordinate points with different distribution shapes; first->The coordinate data of the coordinate points represent the position of each coordinate point in the front end interface of the source program, and the functional relation uses the coordinate data to calculate the parameters of the distance and probability distribution function; the center coordinate data of the front-end interface coordinates of the source program can be regarded as the average position of the coordinate points and is used for calculating the average value in the probability distribution function; the coordinate point and the horizontal direction included angle of the closest distance between the selected coordinates, and the smaller included angle indicates that the coordinate point and the direction of the selected coordinates are closer to each other and are close to the same horizontal position, so that the improvement of the matching degree score is facilitated. The functional relation provides a numerical evaluation that converts the degree of matching of the selected coordinates to the coordinates of the front-end interface of the source program into a score, which allows different coordinate selection strategies to be compared and optimized, rather than just subjective determinations. Abnormality adjustment value +. >The functional relation is adjusted and corrected, and the error influence caused by abnormal data or error items is reduced, so that the selected matching degree score +_is generated more accurately>The accuracy and the reliability of selecting and matching degree calculation of the front-end interface coordinate selecting instruction and the front-end interface coordinate of the source program are improved. Meanwhile, the adjustment value in the formula can be adjusted according to actual conditions and is applied to different selected coordinates generated by selecting front-end interface coordinate instructions, so that the flexibility and applicability of the algorithm are improved.
Preferably, the transmission content selection process for the mapping stack data frame in step S45 includes the following steps:
when the standard data frames to be transmitted in the mapping stack data frames are single, the standard data frames to be transmitted are utilized to carry out high brightness adjustment selection on the data frames, and high brightness data frames to be transmitted are generated;
when the number of standard data frames to be transmitted in the mapping stack data frames is multiple, acquiring a data frame selection instruction of a user, performing high brightness adjustment selection of the data frames on the pre-selected standard data frames to be transmitted, and generating a highlight data frame to be transmitted;
and carrying out transmission data extraction processing by using the highlighted data frame to be transmitted to generate transmission data.
When only one standard data frame to be transmitted exists in the mapping stack data frame, the data frame is highlighted and selected, so that the user is ensured to clearly identify and select the data to be transmitted, and the user experience and the operation accuracy are improved. When the mapping stack data frame contains a plurality of standard data frames to be transmitted, the user is allowed to provide a data frame selection instruction to highlight and select the data frame required by the user, the selection and control rights of the user on the plurality of data frames are provided, and the flexibility of user-defined data transmission is enhanced. The data frame to be transmitted is highlighted and is subjected to transmission data extraction processing, so that final transmission data is generated, the data selected by a user can be accurately and efficiently extracted and transmitted, and redundancy and errors of data transmission are reduced.
In the embodiment of the invention, if only one standard data frame to be transmitted is mapped in the stacked data frames, which indicates that a user wants to transmit single data, the standard data frame to be transmitted is subjected to highlight adjustment, for example, the color of the frame of the standard data frame to be transmitted is changed to be a wakeup color, and the color of the frame of the standard data frame to be transmitted is changed to be a wakeup color, such as red, so as to highlight the selection of the user, and a highlight data frame to be transmitted is generated, and the data frame is ready for transmission. If there are multiple standard data frames to be transmitted in the mapping stack data frame, it indicates that the user needs to select to transmit from multiple data, wait for the user to select an instruction, such as clicking or dragging, to select one or more data frames, make highlight adjustment on the standard data frame selected by the user, for example, change its border color to a wakeup color, change the border color of the standard data frame to be transmitted to a wakeup color, such as red, to reflect the user's selection, and these data frames are ready to transmit, including the data selected by the user, so as to generate a highlight data frame to be transmitted. For highlighting a data frame to be transmitted, extracting data content contained in the data frame, generating transmission data, which can be text, images, files, videos and the like, according to the selection of a user, and preparing to be transmitted to a target program.
Preferably, step S5 comprises the steps of:
step S51: acquiring a target program authority and a target program database;
step S52: performing target program authorization processing of the communication equipment according to the target program authority to generate a target program authorization instruction;
step S53: and transmitting the transmission data to a target program database according to the target program authorization instruction to carry out data writing processing of the target program so as to generate target program storage data.
The invention acquires the access right of the target program and the target program database, ensures that the system has the necessary right and resources for accessing and writing the target program, and is beneficial to ensuring that the data can be successfully written into the target program. And carrying out authorization processing according to the target program authority, generating a target program authorization instruction, ensuring that the system has the right to access and operate the target program, and ensuring the legality and the safety of data writing. The transmission data is transmitted to the target program database by following the target program authorization instruction, and the data writing processing is carried out, so that the target program storage data is generated, the data is ensured to be effectively written into the target program, the transmission and storage of the data are realized, and the whole data transmission flow is completed.
In the embodiment of the invention, the user logs in the target program to enable the system to obtain the authority of the login target program, and the service credentials of the target program are configured, wherein the credentials comprise an access token and an API terminal point of the target program service. Using the obtained rights information, authorization instructions for the target program are generated to ensure that the data is securely written to the target program, which may involve encryption, authentication, or other security measures to protect the integrity and privacy of the data, e.g., the target program is a cloud storage program, user-configured cloud storage service credentials are used to generate an authorization instruction that includes the user's access token and API endpoint information for the target program, the authorization instruction also includes descriptions of the data, e.g., file name, format, and storage path, and the drawing application ensures that the generated instructions are encrypted to protect the user's credentials and privacy of the data. Transmitting the transmission data to a database of the target program by using the generated target program authorization instruction, performing data writing operation, ensuring that the data is correctly written into the database of the target program, generating target program storage data to indicate that the data is successfully stored in the target program, for example, uploading an image drawn by a user to a cloud storage service by using the generated authorization instruction, encoding and transmitting the image data to an API terminal point of the cloud storage service, and attaching the authorization instruction, after receiving a request, verifying a user token in the authorization instruction by the cloud storage service, ensuring that the transmission data comes from a legal source program, once the verification is successful, writing the image data into a cloud storage space of the user by the cloud storage service, generating target program storage data, and returning a successful response by the cloud storage service, and informing that the source program data is successfully stored in the cloud storage space of the user.
The method has the advantages that the rights of the source program and the rights of accessing the source program database are obtained, legal data access is ensured, the generation of the source program authorization instruction ensures the safety and the legality of data transmission, the real-time monitoring processing enables the source program to track data change, the source program monitoring data is generated, the accuracy and the real-time performance of the data are further enhanced, the source program executes data acquisition operation aiming at the data content to be transmitted preselected by a user, the data to be transmitted and the data log file to be transmitted are respectively generated, the integrity and the real-time performance of the data of the source program are ensured, the preparation is made for the subsequent data transmission, a firm foundation is provided for the data transmission of the source program, and the quality and the integrity of the data in the transmission process are ensured, so that the requirements of the user are effectively met. The log files of the data to be transmitted are analyzed and processed, and the abnormal logs are extracted from the log files, so that the identification of any potential data problems is facilitated. Then, the data with abnormal characteristics is collected in the source program monitoring data, the repairing operation is performed, and the repairing data to be transmitted is generated, so that the quality and the usability of the data are further improved, the repairing data to be transmitted and the original data to be transmitted are integrated, the optimized data to be transmitted are generated, the integrity and the reliability of the data are ensured, and the smoothness of the data transmission is ensured, so that the requirements of users are met, the high-quality data transmission experience is provided, the reliability and the integrity of the data in the transmission process are facilitated, and a credible data base is provided for the subsequent steps. A data frame is designed according to the optimized data to be transmitted, the frame is favorable for better organizing and managing the data, the structuring degree of the data is improved, the optimized data to be transmitted is filled into the data frame, an initial data frame to be transmitted is generated, the integrity and usability of the data are ensured, time sequence information is extracted from the optimized data to be transmitted, the data can be managed and presented in time sequence, the standard data frame to be transmitted is generated by analyzing and rendering the time sequence in sequence, the visualization effect and expressive force of the data are improved, the structure of the data is optimized, the data is easier to process and understand, the high quality and consistency of the data in the transmission and presentation process are ensured, the readability and usability of the data are improved, and a better data base is provided for the subsequent steps. The method comprises the steps of obtaining coordinate information of a front-end interface of a source program, accurately positioning a transmission target of data, carrying out time sequence related stacking and placement processing on a standard data frame to be transmitted, generating a stacked data frame, enabling the data to be easier to process and display, transmitting the stacked data frame to the coordinate position of the front-end interface of the source program, carrying out data mapping processing, generating a mapped stacked data frame, guaranteeing correct transmission and display positions of the data, obtaining a front-end interface coordinate instruction of a user, determining which data the user wants to set as the transmission data, carrying out matching degree calculation on the coordinate instruction selected by the user and the front-end interface coordinate of the source program by using a matching degree selection calculation formula, generating matching degree selection data, carrying out transmission data selection processing on the mapped stacked data frame when the matching degree selection data meets a preset matching degree threshold, generating final transmission data, guaranteeing that the acquired data is the source program of the front-end interface position selected by the user, providing high data positioning and accuracy, meeting requirements of the user, providing good data transmission experience, and being beneficial to optimizing the accuracy and visual effect of the data in the transmission and display process. The authority of the target program and the right of accessing the database of the target program are obtained, legal writing of data is ensured, a target program authorization instruction is generated according to the authority of the target program, the instruction comprises information such as description and storage position of the data, the transmission data is transmitted to the database of the target program according to the generated authorization instruction, data writing operation is performed, finally the storage data of the target program is generated, the data is safely written into the target program, the integrity, availability and safety of the data are ensured, reliable storage of the data in the target program is facilitated, the requirements of users are met, and confidentiality and privacy of the data are ensured.
The present embodiments are, therefore, to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein.
The foregoing is only a specific embodiment of the invention to enable those skilled in the art to understand or practice the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A method for obtaining and writing data by selecting frame content, comprising the steps of:
step S1: acquiring a source program authority; performing source program authorization processing of the communication equipment according to the source program authority to generate a source program authorization instruction; acquiring information to be transmitted of a source program according to a source program authorization instruction, and respectively generating data to be transmitted and a data log file to be transmitted;
Step S2: extracting an abnormal log file of data to be transmitted from the data log file to be transmitted to generate the abnormal log file; optimizing the data to be transmitted according to the abnormal log file to generate optimized data to be transmitted;
step S3: storing the data frame design of the optimized data to be transmitted according to the optimized data to be transmitted, and generating a data frame of the optimized data to be transmitted; transmitting the optimized data to be transmitted to a data frame of the optimized data to be transmitted, and filling the data to generate an initial data frame to be transmitted; performing color dynamic rendering of the data frame on the initial data frame to be transmitted, thereby generating a standard data frame to be transmitted;
step S4: acquiring front end interface coordinates of a source program; carrying out stacking and placing processing on the standard data frames to be transmitted to generate stacked data frames; transmitting the stacked data frame to a source program front end interface coordinate to perform data mapping processing by taking the source program front end interface coordinate as a central node, and generating a mapped stacked data frame; carrying out transmission data selection processing on the mapping stacked data frames to generate transmission data;
step S5: acquiring a target program authority; performing target program authorization processing of the communication equipment according to the target program authority to generate a target program authorization instruction; and performing data writing processing of the target program on the transmission data according to the target program authorization instruction so as to generate target program storage data.
2. The method of claim 1, wherein step S1 comprises the steps of:
step S11: acquiring a source program authority and a source program database;
step S12: performing source program authorization processing of the communication equipment according to the source program authority to generate a source program authorization instruction;
step S13: performing real-time monitoring processing on source program data on a source program database according to a source program authorization instruction to generate source program monitoring data;
step S14: and acquiring information to be transmitted of the source program monitoring data source program according to the pre-selected data content range to be transmitted, and respectively generating data to be transmitted and a data log file to be transmitted.
3. The method of obtaining and writing data by selecting a frame content according to claim 2, wherein step S2 comprises the steps of:
step S21: extracting an abnormal log file of data to be transmitted from the data log file to be transmitted to generate the abnormal log file;
step S22: performing repair processing on the data to be transmitted according to the abnormal log file, and generating repair data to be transmitted;
step S23: and integrating the repair data to be transmitted and the data to be transmitted to generate optimized data to be transmitted.
4. A method of obtaining and writing data by selecting a frame content as claimed in claim 3, wherein step S22 comprises the steps of:
and extracting data from the source program monitoring data corresponding to the abnormal log file to generate abnormal monitoring data, comparing the abnormal monitoring data with the data to be transmitted, and repairing the data of the abnormal monitoring data when the abnormal monitoring data does not have the same data with the data to be transmitted, so as to generate repaired data to be transmitted.
5. The method of claim 1, wherein step S3 comprises the steps of:
step S31: storing the data frame design of the optimized data to be transmitted according to the optimized data to be transmitted, and generating a data frame of the optimized data to be transmitted;
step S32: transmitting the optimized data to be transmitted to a data frame of the optimized data to be transmitted for data filling, and generating an initial data frame to be transmitted;
step S33: extracting the time sequence of the optimized data to be transmitted to generate a time sequence of the optimized data to be transmitted;
step S34: and carrying out color dynamic rendering on the data frame to be transmitted initially according to the front-back sequence of the time sequence, thereby generating a standard data frame to be transmitted.
6. The method of claim 5, wherein step S34 includes the steps of:
performing color rendering of the data frames to be transmitted initially according to the sequence of the time series, performing depth color rendering of the data frames to be transmitted initially when the sequence of the time series corresponding to the data frames to be transmitted initially is forward, and performing shallow color rendering of the data frames to be transmitted initially when the sequence of the time series corresponding to the data frames to be transmitted initially is backward, so as to generate the data frames to be transmitted;
and carrying out real-time updating processing on the time sequence to generate a real-time sequence, and carrying out color rendering dynamic updating on the data frame to be transmitted according to the real-time sequence to generate a standard data frame to be transmitted.
7. The method of claim 5, wherein step S4 comprises the steps of:
step S41: acquiring front end interface coordinates of a source program;
step S42: carrying out stacking and placing processing of the data frames on the standard data frames to be transmitted according to the time sequence corresponding to the standard data frames to be transmitted, and generating stacked data frames;
Step S43: transmitting the stacked data frame to a source program front end interface coordinate to perform data mapping processing by taking the source program front end interface coordinate as a central node, and generating a mapped stacked data frame;
step S44: acquiring a front-end interface coordinate selection instruction of a user;
step S45: calculating the selection matching degree of the front-end interface coordinate selection instruction and the front-end interface coordinate of the source program by using a selection matching degree calculation formula of the front-end coordinate, and generating selection matching degree data; when the selected matching degree data is larger than a preset selected matching degree threshold value, transmission data selection processing is carried out on the mapping stacked data frame, and transmission data are generated.
8. The method for acquiring and writing data by selecting contents according to claim 7, wherein the selection matching degree calculation formula of the front end coordinates in step S45 is as follows:
in the method, in the process of the invention,expressed as a selected matching degree score, ">Number of coordinate points expressed as coordinates of front-end interface of source program,/->Denoted as +.>Weight of each coordinate point->Denoted as +.>The nearest distance between each coordinate point and the selected coordinate generated by the coordinate instruction of the front-end interface is>Expressed as standard deviation of the source program front interface coordinates, +. >Denoted as +.>Coordinate data of individual coordinate points, +.>Center coordinate data expressed as front interface coordinates of the source program,/->Expressed as the horizontal angle of the nearest distance of the coordinate point to the selected coordinate, < >>And represents an outlier that selects a matching degree score.
9. The method for obtaining and writing data by selecting frame contents according to claim 7, wherein said performing transmission content selection processing on the mapped stacked data frame in step S45 comprises the steps of:
when the standard data frames to be transmitted in the mapping stack data frames are single, the standard data frames to be transmitted are utilized to carry out high brightness adjustment selection on the data frames, and high brightness data frames to be transmitted are generated;
when the number of standard data frames to be transmitted in the mapping stack data frames is multiple, acquiring a data frame selection instruction of a user, performing high brightness adjustment selection of the data frames on the pre-selected standard data frames to be transmitted, and generating a highlight data frame to be transmitted;
and carrying out transmission data extraction processing by using the highlighted data frame to be transmitted to generate transmission data.
10. The method of claim 1, wherein step S5 comprises the steps of:
Step S51: acquiring a target program authority and a target program database;
step S52: performing target program authorization processing of the communication equipment according to the target program authority to generate a target program authorization instruction;
step S53: and transmitting the transmission data to a target program database according to the target program authorization instruction to carry out data writing processing of the target program so as to generate target program storage data.
CN202311335802.3A 2023-10-16 2023-10-16 How to obtain and write data by selecting content in a box Active CN117076161B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311335802.3A CN117076161B (en) 2023-10-16 2023-10-16 How to obtain and write data by selecting content in a box

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311335802.3A CN117076161B (en) 2023-10-16 2023-10-16 How to obtain and write data by selecting content in a box

Publications (2)

Publication Number Publication Date
CN117076161A true CN117076161A (en) 2023-11-17
CN117076161B CN117076161B (en) 2023-12-29

Family

ID=88718016

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311335802.3A Active CN117076161B (en) 2023-10-16 2023-10-16 How to obtain and write data by selecting content in a box

Country Status (1)

Country Link
CN (1) CN117076161B (en)

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5819094A (en) * 1996-03-26 1998-10-06 Fujitsu Ltd. Apparatus for log data collection and analysis
EP1184789A2 (en) * 2000-08-31 2002-03-06 Hewlett-Packard Company Method for accessing data and processing metrics data using encoded inbound anchors and automatically generated markup language files
US20170053008A1 (en) * 2015-08-18 2017-02-23 Google Inc. Time series explorer
CN107347062A (en) * 2017-06-19 2017-11-14 北京开数科技有限公司 A kind of method, electronic equipment and the readable storage medium storing program for executing of daily record data processing
CN109885537A (en) * 2019-02-22 2019-06-14 成都信息工程大学 A log display method, system and computer-readable storage medium
CN110427411A (en) * 2019-08-02 2019-11-08 河南开合软件技术有限公司 Associated data is carried out visualization method by figure layer by one kind
US10528454B1 (en) * 2018-10-23 2020-01-07 Fmr Llc Intelligent automation of computer software testing log aggregation, analysis, and error remediation
US10657099B1 (en) * 2015-11-02 2020-05-19 Quest Software Inc. Systems and methods for transformation and analysis of logfile data
US10853380B1 (en) * 2016-07-31 2020-12-01 Splunk Inc. Framework for displaying interactive visualizations of event data
WO2021189953A1 (en) * 2020-10-12 2021-09-30 平安科技(深圳)有限公司 Log data processing method and apparatus, computer device, and storage medium
CN114185795A (en) * 2021-12-14 2022-03-15 深圳壹账通创配科技有限公司 Embedded point configuration method and device, electronic equipment and storage medium
CN115729547A (en) * 2022-11-23 2023-03-03 中国工商银行股份有限公司 Method, system and device for processing buried point data, storage medium and electronic equipment
US20230290095A1 (en) * 2022-03-10 2023-09-14 Beijing Zitiao Network Technology Co., Ltd. User-interface-framework based processing method, apparatus, device, and medium

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5819094A (en) * 1996-03-26 1998-10-06 Fujitsu Ltd. Apparatus for log data collection and analysis
EP1184789A2 (en) * 2000-08-31 2002-03-06 Hewlett-Packard Company Method for accessing data and processing metrics data using encoded inbound anchors and automatically generated markup language files
US20170053008A1 (en) * 2015-08-18 2017-02-23 Google Inc. Time series explorer
US10657099B1 (en) * 2015-11-02 2020-05-19 Quest Software Inc. Systems and methods for transformation and analysis of logfile data
US10853380B1 (en) * 2016-07-31 2020-12-01 Splunk Inc. Framework for displaying interactive visualizations of event data
CN107347062A (en) * 2017-06-19 2017-11-14 北京开数科技有限公司 A kind of method, electronic equipment and the readable storage medium storing program for executing of daily record data processing
US10528454B1 (en) * 2018-10-23 2020-01-07 Fmr Llc Intelligent automation of computer software testing log aggregation, analysis, and error remediation
CN109885537A (en) * 2019-02-22 2019-06-14 成都信息工程大学 A log display method, system and computer-readable storage medium
CN110427411A (en) * 2019-08-02 2019-11-08 河南开合软件技术有限公司 Associated data is carried out visualization method by figure layer by one kind
WO2021189953A1 (en) * 2020-10-12 2021-09-30 平安科技(深圳)有限公司 Log data processing method and apparatus, computer device, and storage medium
CN114185795A (en) * 2021-12-14 2022-03-15 深圳壹账通创配科技有限公司 Embedded point configuration method and device, electronic equipment and storage medium
US20230290095A1 (en) * 2022-03-10 2023-09-14 Beijing Zitiao Network Technology Co., Ltd. User-interface-framework based processing method, apparatus, device, and medium
CN115729547A (en) * 2022-11-23 2023-03-03 中国工商银行股份有限公司 Method, system and device for processing buried point data, storage medium and electronic equipment

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
李玥等: "面向SWF日志事件流数据的可视分析系统", 数据与计算发展前沿, vol. 3, no. 4, pages 3 - 17 *
王劲松;黄静耘;张洪玮;南慧荣;: "多视图合作的网络运行日志可视分析", 信息网络安全, no. 10 *
裴华;刘炜;唐冬林;: "大数据下统一审计技术框架研究", 通信技术, no. 09 *
饶晨: "基于安全日志数据可视分析系统的设计和实现", 中国优秀硕士学位论文全文数据库 *

Also Published As

Publication number Publication date
CN117076161B (en) 2023-12-29

Similar Documents

Publication Publication Date Title
US20240169457A1 (en) Systems and methods for executing and delivering electronic documents
US11709823B2 (en) Real time visual validation of digital content using a distributed ledger
CA2901815C (en) Presentation of image of source of tax data through tax preparation application
JP2021515427A (en) Blockchain-based data validation methods and equipment, as well as electronic devices
WO2021042747A1 (en) Invoice picture recognition and verification method and system, device, and readable storage medium
US20090165026A1 (en) Method and apparatus for electronic data discovery
US20190294762A1 (en) Computer implemented method and a system for tracking of certified documents lifecycle and computer programs thereof
CN108334484B (en) Data entry method and device
CN110502558A (en) Data export method, device, computer equipment and storage medium
CN115150150A (en) Information recording method based on block chain technology
DE112021004008T5 (en) VALIDATION OF TRACKED PORTIONS OF RECEIVED SENSOR DATA USING CRYPTOGRAPHIC COMPUTER PROCESSING
CN109189849A (en) A kind of standardization, the data entry method of procedure and system
CN117076161B (en) How to obtain and write data by selecting content in a box
CN120803596A (en) Method, device, equipment and medium for generating dynamic function menu
CN111078569B (en) Method and device for testing optical character recognition application and storage medium
CN116032952A (en) Blockchain-based copyright deposit certificate system and deposit certificate method
CN115408265A (en) Automatic safety evaluation system of foundation layer based on block chain of alliance
WO2017000877A1 (en) Method and apparatus for implementing network planning
CN117591487B (en) Financial document sharing method and related device
CN116485336B (en) Management method, management system and electronic equipment for one-page display work whole process
CN115525609B (en) Data exchange platform and method based on electronic file and electronic archive
CN118643817A (en) A digital contract management system
CN121434058A (en) Tourism distributor interface test and information verification system and method
CA3058205C (en) Systems and methods for executing and delivering electronic documents
KR20250142481A (en) Metadata-Based 8K Shooting File Storage and Authentication System

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
GR01 Patent grant
GR01 Patent grant