CN111475488A - Data processing method and device, terminal equipment and readable storage medium - Google Patents

Data processing method and device, terminal equipment and readable storage medium Download PDF

Info

Publication number
CN111475488A
CN111475488A CN202010290857.7A CN202010290857A CN111475488A CN 111475488 A CN111475488 A CN 111475488A CN 202010290857 A CN202010290857 A CN 202010290857A CN 111475488 A CN111475488 A CN 111475488A
Authority
CN
China
Prior art keywords
data
data processing
bridge piece
bridge
detected
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
CN202010290857.7A
Other languages
Chinese (zh)
Other versions
CN111475488B (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.)
China Great Wall Technology Group Co ltd
Original Assignee
China Great Wall Technology Group 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 China Great Wall Technology Group Co ltd filed Critical China Great Wall Technology Group Co ltd
Priority to CN202010290857.7A priority Critical patent/CN111475488B/en
Publication of CN111475488A publication Critical patent/CN111475488A/en
Application granted granted Critical
Publication of CN111475488B publication Critical patent/CN111475488B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/21Design, administration or maintenance of databases
    • G06F16/217Database tuning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5011Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
    • G06F9/5016Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals the resource being the memory
    • 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)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Debugging And Monitoring (AREA)
  • Computer And Data Communications (AREA)

Abstract

The application is applicable to the technical field of data processing, and provides a data processing method, which comprises the following steps: and when the data volume is detected to be larger than or equal to the preset data volume threshold value, calling a bridge piece data processing program, controlling the bridge piece to process the data according to the bridge piece data processing program, acquiring management protocol data returned by the bridge piece, processing the management protocol data, and acquiring a data processing result. According to the data processing method and device, when the data volume exceeds the preset data volume threshold value, the bridge piece data processing program is called in time, the bridge piece is controlled to process data, the memory occupied in the data processing process is reduced, the data processing efficiency is improved, and therefore the performance of the server is improved.

Description

Data processing method and device, terminal equipment and readable storage medium
Technical Field
The present application belongs to the technical field of data processing, and in particular, to a data processing method, an apparatus, a terminal device, and a readable storage medium.
Background
In the process of server operation, data processing amount, data processing speed and memory utilization rate are important indexes for judging the quality of the server.
However, in the big data era, the server needs to perform specific processing on a large amount of data, and the processing process of the excessive data seriously occupies the memory of the server, which affects the processing efficiency of the server, thereby reducing the performance of the server.
Disclosure of Invention
The embodiment of the application provides a data processing method, a data processing device, a terminal device and a readable storage medium, and can solve the problems that the processing efficiency of a server is influenced and the performance of the server is reduced because a large amount of memory of the server is occupied in the processing process of excessive data.
In a first aspect, an embodiment of the present application provides a data processing method, including:
when the data volume is detected to be larger than or equal to a preset data volume threshold value, calling a bridge piece data processing program;
controlling the bridge piece to process the data according to the bridge piece data processing program;
acquiring management protocol data returned by the bridge chip;
and processing the management protocol data to obtain a data processing result.
In a second aspect, an embodiment of the present application provides a data processing apparatus, including:
the calling module is used for calling the bridge piece data processing program when the data volume is detected to be larger than or equal to the preset data volume threshold value;
the control module is used for controlling the bridge piece to process data according to the bridge piece data processing program;
the acquisition module is used for acquiring the management protocol data returned by the bridge chip;
and the data processing module is used for processing the management protocol data to obtain a data processing result.
In a third aspect, an embodiment of the present application provides a terminal device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the data processing method according to any one of the above first aspects is implemented.
In a fourth aspect, the present application provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the computer program implements the data processing method according to any one of the first aspect.
In a fifth aspect, an embodiment of the present application provides a computer program product, which, when run on a terminal device, causes the terminal device to execute the data processing method described in any one of the above first aspects.
It is understood that the beneficial effects of the second aspect to the fifth aspect can be referred to the related description of the first aspect, and are not described herein again.
According to the embodiment of the application, when the data volume is detected to exceed the preset data volume threshold value, the bridge piece data processing program is called in time, the bridge piece is controlled to process data, the memory occupied in the data processing process is reduced, the data processing efficiency is improved, and therefore the performance of the server is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic flow chart of a data processing method according to an embodiment of the present application;
fig. 2 is a schematic view of an application scenario of a data processing method according to an embodiment of the present application;
FIG. 3 is a schematic flow chart diagram illustrating a data processing method according to an embodiment of the present application;
FIG. 4 is a schematic flow chart diagram illustrating a data processing method according to an embodiment of the present application;
FIG. 5 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a terminal device according to an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to" determining "or" in response to detecting ". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
Furthermore, in the description of the present application and the appended claims, the terms "first," "second," "third," and the like are used for distinguishing between descriptions and not necessarily for describing or implying relative importance.
Reference throughout this specification to "one embodiment" or "some embodiments," or the like, means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," or the like, in various places throughout this specification are not necessarily all referring to the same embodiment, but rather "one or more but not all embodiments" unless specifically stated otherwise. The terms "comprising," "including," "having," and variations thereof mean "including, but not limited to," unless expressly specified otherwise.
The data processing method provided by the embodiment of the application can be applied to a server, a Mobile phone, a tablet Personal Computer, a wearable device, a vehicle-mounted device, an Augmented Reality (AR)/Virtual Reality (VR) device, a notebook Computer, a super-Mobile Personal Computer (UMPC), a netbook, a Personal Digital Assistant (PDA) and other terminal devices, and the embodiment of the application does not limit the specific type of the terminal device.
For example, the terminal device may be a Station (ST) in a W L AN, and may be a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless local loop (Wireless L cal L oop, W LL) station, a Personal Digital Assistant (PDA) device, a handheld device with Wireless communication function, a computing device or other processing device connected to a Wireless modem, a vehicle-mounted device, a vehicle-mounted networking terminal, a computer, a laptop computer, a handheld communication device, a handheld computing device, a satellite Wireless device, a Wireless modem card, a Set Top Box (STB), a Customer Premises Equipment (CPE), and/or other devices for communication on a Wireless system and a next-generation communication system, such as a Mobile terminal in a 5G Network or a Mobile terminal L in a future Public land Mobile Network (MN) L and MN.
Fig. 1 shows a schematic flow chart of a data processing method provided by the present application, which can be applied to the above-mentioned server by way of example and not limitation.
And S101, calling a bridge piece data processing program when the data volume is detected to be larger than or equal to the preset data volume threshold value.
In specific application, detecting the data volume to be processed in real time, and calling a pre-generated bridge piece data processing program when the detected data volume to be processed is larger than or equal to a preset data volume threshold value; the bridge piece data processing program is a program for realizing data processing through the bridge piece.
In this embodiment, the bridge chip is connected to the server through a PCIE bus interface, and the bridge chip may specifically be a PCIE interface expansion bridge chip.
The preset data volume threshold value can be specifically set according to actual conditions and is used for limiting the size of the processed data volume; for example, if the preset data amount threshold is set to be 1Gb/s, when it is detected that the data amount to be processed is 1Gb/s, it is determined that the data amount to be processed is too large, and the above-mentioned bridge slice data processing program is called.
In one embodiment, the data processing method is particularly applicable to a domestic Feiteng platform server.
And S102, controlling the bridge piece to process the data according to the bridge piece data processing program.
In specific application, the preset bridge data processing program controls the bridge to transmit and process all data. Wherein the data includes, but is not limited to, at least one of management protocol data, an outbound upstream data stream, and an outbound downstream data stream.
And S103, acquiring the management protocol data returned by the bridge chip.
In the specific application, the preset bridge piece data processing program is used for controlling the bridge piece to perform data processing, and the management protocol data returned by the bridge piece is obtained. The management protocol data returned by the bridge chip comprises the result of forwarding and processing the external data stream by the bridge chip.
And S104, processing the management protocol data to obtain a data processing result.
In specific application, the returned management protocol data is analyzed and processed to obtain a data processing result.
Fig. 2 is a schematic diagram illustrating an application scenario of a data processing method.
In the existing data processing process, all data need to be forwarded and processed through the server, however, in fig. 2, the server (cpu) controls the bridge chip to process the data through the management protocol data and the bridge chip data processing program, and obtains a data processing result by analyzing the management protocol data returned by the bridge chip. In the figure, the arrow indicates the direction of data flow.
The data is specifically processed by controlling the bridge chip, so that the data volume actually required to be processed by the server is reduced, and the memory occupied by data processing is reduced.
As shown in fig. 3, in one embodiment, the step S101 includes:
s1011, when the data volume is detected to be larger than or equal to the preset data volume threshold value, starting timing to obtain the processing time of the excessive data;
and S1012, calling the bridge piece data processing program when the processing duration of the excessive data is detected to be longer than the preset processing duration.
In a specific application, when the data volume is detected to be greater than or equal to the preset data volume threshold, timing is started, the duration for processing the data volume not less than the preset data volume threshold (namely, the processing duration of the excessive data) is obtained, and when the processing duration of the excessive data is detected to be greater than the preset processing duration, a bridge piece data processing program is called.
The preset processing time length can be specifically set according to actual conditions and is used for limiting the processing time length of the excessive data. For example, setting the preset processing time length to 10mins, starting timing when the data volume is detected to be greater than or equal to the preset data volume threshold value, and calling the bridge piece data processing program when the processing time length when excessive data is detected to be greater than the preset processing time length.
As shown in fig. 4, in an embodiment, before the step S101, the method includes:
s201, configuring parameters according to the information of the data; wherein the information of the data comprises at least one of a storage location of the data, a size of the data, an attribute of the data, and a type of the data;
and S202, generating a corresponding bridge piece data processing program according to the parameters.
In a specific application, parameters of a register are configured according to information of data, and a corresponding bridge slice data processing program is generated according to the configured parameters of the register, wherein the information of the data includes but is not limited to at least one of a storage location of the data, a size of the data, an attribute of the data, and a type of the data.
For example, the parameters of the register can be configured according to the storage location of the data, and the corresponding bridge slice data processing program can be generated according to the configured parameters of the register, so as to control the bridge slice to process the data of the corresponding storage location according to the bridge slice data processing program.
By way of example and not limitation, the information of the data may specifically be information of management protocol data sent by the server to the bridge piece.
In one embodiment, after step S102, the method further includes:
and when the data volume is detected to be smaller than the preset data volume threshold value, closing the bridge piece data processing program.
In specific application, the data volume needing to be processed is detected in real time, and when the detected data volume is smaller than a preset data volume threshold value, a bridge piece data processing program is closed. For example, if the data amount is 1Kb/s, the bridge data processing program is closed.
In one embodiment, after step S103, the method further includes:
detecting whether the management protocol data is correct;
when the management protocol data are detected to be incorrect, detecting whether the bridge chip is abnormal or not;
and stopping the bridge piece data processing program when the abnormality of the bridge piece is detected.
In the specific application, the management protocol data returned by the bridge piece is detected, when the management protocol data returned by the bridge piece is detected to be incorrect, whether the bridge piece is in a normal working state or not (namely whether the bridge piece is abnormal or not) is detected, and when the bridge piece is detected to be abnormal, the bridge piece data processing program is stopped.
Whether the bridge piece is abnormal or not can be specifically set according to actual conditions, for example, an instruction for returning specified data is sent to the bridge piece, and if the data returned by the bridge piece is different from the data corresponding to the instruction or no data is returned within a preset time period, the bridge piece is judged to be abnormal. The preset time period can be specifically set according to the actual situation (for example, the preset time period is set to be 2 s).
According to the embodiment, when the data volume is detected to exceed the preset data volume threshold value, the data processing program of the bridge piece is called in time, the bridge piece is controlled to process the data, the memory occupied in the data processing process is reduced, the data processing efficiency is improved, and therefore the performance of the server is improved.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
Fig. 5 shows a block diagram of a data processing apparatus provided in the embodiment of the present application, which corresponds to the data processing method described in the above embodiment, and only the relevant parts of the embodiment of the present application are shown for convenience of description.
Referring to fig. 5, the data processing apparatus 100 includes:
the calling module 101 is used for calling a bridge piece data processing program when the data volume is detected to be larger than or equal to a preset data volume threshold value;
the control module 102 is used for controlling the bridge piece to process data according to the bridge piece data processing program;
an obtaining module 103, configured to obtain management protocol data returned by the bridge chip;
and the data processing module 104 is configured to process the management protocol data to obtain a data processing result.
In one embodiment, the invoking module 101 includes:
the timing unit is used for starting timing to acquire the processing time of the excessive data when the data volume is detected to be larger than the preset data volume threshold;
and the calling unit is used for calling the bridge piece data processing program when the processing duration of the excessive data is detected to be longer than the preset processing duration.
In one embodiment, the apparatus 100 further comprises:
the configuration module is used for configuring parameters according to the information of the data; wherein the information of the data comprises at least one of a storage location of the data, a size of the data, an attribute of the data, and a type of the data;
and the generating module is used for generating a corresponding bridge piece data processing program according to the parameters.
In one embodiment, the apparatus 100 further comprises:
and the first detection module is used for closing the bridge piece data processing program when detecting that the data volume is smaller than the preset data volume threshold value.
In one embodiment, the apparatus 100 further comprises:
the second detection module is used for detecting whether the management protocol data is correct or not;
the third detection module is used for detecting whether the bridge chip is abnormal or not when the management protocol data are detected to be incorrect;
and the fourth detection module is used for stopping the bridge piece data processing program when the abnormality of the bridge piece is detected.
According to the embodiment, when the data volume is detected to exceed the preset data volume threshold value, the data processing program of the bridge piece is called in time, the bridge piece is controlled to process the data, the memory occupied in the data processing process is reduced, the data processing efficiency is improved, and therefore the performance of the server is improved.
It should be noted that, for the information interaction, execution process, and other contents between the above-mentioned devices/units, the specific functions and technical effects thereof are based on the same concept as those of the embodiment of the method of the present application, and specific reference may be made to the part of the embodiment of the method, which is not described herein again.
Fig. 6 is a schematic structural diagram of a terminal device according to an embodiment of the present application. As shown in fig. 6, the terminal device 6 of this embodiment includes: at least one processor 60 (only one shown in fig. 6), a memory 61, and a computer program 62 stored in the memory 61 and executable on the at least one processor 60, the processor 60 implementing the steps in any of the various data processing method embodiments described above when executing the computer program 62.
The terminal device 6 may be a desktop computer, a notebook, a palm computer, a cloud server, or other computing devices. The terminal device may include, but is not limited to, a processor 60, a memory 61. Those skilled in the art will appreciate that fig. 6 is only an example of the terminal device 6, and does not constitute a limitation to the terminal device 6, and may include more or less components than those shown, or combine some components, or different components, such as an input/output device, a network access device, and the like.
The Processor 60 may be a Central Processing Unit (CPU), and the Processor 60 may be other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 61 may in some embodiments be an internal storage unit of the terminal device 6, such as a hard disk or a memory of the terminal device 6, the memory 61 may in other embodiments also be an external storage device of the terminal device 6, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital Card (Secure Digital, SD), a Flash memory Card (Flash Card) or the like provided on the terminal device 6 further, the memory 61 may also comprise both an internal storage unit and an external storage device of the terminal device 6, the memory 61 is used for storing an operating system, applications, a Boot loader (Boot L loader), data and other programs, such as program codes of the computer program or the like, the memory 61 may also be used for temporarily storing data that has been or will be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
An embodiment of the present application further provides a terminal device, where the terminal device includes: at least one processor, a memory, and a computer program stored in the memory and executable on the at least one processor, the processor implementing the steps of any of the various method embodiments described above when executing the computer program.
The embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the computer program implements the steps in the above-mentioned method embodiments.
The embodiments of the present application provide a computer program product, which when running on a mobile terminal, enables the mobile terminal to implement the steps in the above method embodiments when executed.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, all or part of the processes in the methods of the embodiments described above can be implemented by hardware related to instructions of a computer program, which can be stored in a computer readable storage medium, and when the computer program is executed by a processor, the steps of the methods described above can be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer readable medium may include at least: any entity or device capable of carrying computer program code to a photographing apparatus/terminal apparatus, a recording medium, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), an electrical carrier signal, a telecommunications signal, and a software distribution medium. Such as a usb-disk, a removable hard disk, a magnetic or optical disk, etc. In certain jurisdictions, computer-readable media may not be an electrical carrier signal or a telecommunications signal in accordance with legislative and patent practice.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/network device and method may be implemented in other ways. For example, the above-described apparatus/network device embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implementing, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (10)

1. A data processing method, comprising:
when the data volume is detected to be larger than or equal to a preset data volume threshold value, calling a bridge piece data processing program;
controlling the bridge piece to process the data according to the bridge piece data processing program;
acquiring management protocol data returned by the bridge chip;
and processing the management protocol data to obtain a data processing result.
2. The data processing method of claim 1, wherein the calling the bridge fragment data processing program when the detected data amount is greater than or equal to the preset data amount threshold value comprises:
when the data volume is detected to be larger than or equal to the preset data volume threshold value, starting timing to obtain the processing time of the excessive data;
and calling the bridge piece data processing program when the processing duration of the excessive data is detected to be longer than the preset processing duration.
3. The data processing method of claim 1, wherein before calling the bridge fragment data handler upon detecting that the data amount is greater than or equal to the preset data amount threshold, the method comprises:
configuring parameters according to the information of the data; wherein the information of the data comprises at least one of a storage location of the data, a size of the data, an attribute of the data, and a type of the data;
and generating a corresponding bridge piece data processing program according to the parameters.
4. The data processing method of claim 1, wherein after controlling the bridge to process the data according to the bridge data processing program, the method further comprises:
and when the data volume is detected to be smaller than the preset data volume threshold value, closing the bridge piece data processing program.
5. The data processing method of any of claims 1 to 4, wherein after obtaining management protocol data returned by the bridge slice, further comprising:
detecting whether the management protocol data is correct;
when the management protocol data are detected to be incorrect, detecting whether the bridge chip is abnormal or not;
and stopping the bridge piece data processing program when the abnormality of the bridge piece is detected.
6. A data processing apparatus, comprising:
the calling module is used for calling the bridge piece data processing program when the data volume is detected to be larger than or equal to the preset data volume threshold value;
the control module is used for controlling the bridge piece to process data according to the bridge piece data processing program;
the acquisition module is used for acquiring the management protocol data returned by the bridge chip;
and the data processing module is used for processing the management protocol data to obtain a data processing result.
7. The data processing apparatus of claim 6, wherein the calling module comprises:
the timing unit is used for starting timing to acquire the processing time of the excessive data when the data volume is detected to be larger than the preset data volume threshold;
and the calling unit is used for calling the bridge piece data processing program when the processing duration of the excessive data is detected to be longer than the preset processing duration.
8. The data processing apparatus of claim 6, wherein the apparatus further comprises:
the configuration module is used for configuring parameters according to the information of the data; wherein the information of the data comprises at least one of a storage location of the data, a size of the data, an attribute of the data, and a type of the data;
and the generating module is used for generating a corresponding bridge piece data processing program according to the parameters.
9. A terminal device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the method according to any of claims 1 to 5 when executing the computer program.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1 to 5.
CN202010290857.7A 2020-04-14 2020-04-14 Data processing method, device, terminal equipment and readable storage medium Active CN111475488B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010290857.7A CN111475488B (en) 2020-04-14 2020-04-14 Data processing method, device, terminal equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010290857.7A CN111475488B (en) 2020-04-14 2020-04-14 Data processing method, device, terminal equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN111475488A true CN111475488A (en) 2020-07-31
CN111475488B CN111475488B (en) 2023-06-16

Family

ID=71752486

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010290857.7A Active CN111475488B (en) 2020-04-14 2020-04-14 Data processing method, device, terminal equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN111475488B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112597092A (en) * 2020-12-29 2021-04-02 深圳市优必选科技股份有限公司 Data interaction method, robot and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108829998A (en) * 2018-06-25 2018-11-16 石家庄铁道大学 A kind of detection method of deflection of bridge span, detection device and terminal device
WO2019052339A1 (en) * 2017-09-13 2019-03-21 深圳市宇数科技有限公司 Data exploration management method and system, electronic device, and storage medium
CN109977037A (en) * 2017-12-28 2019-07-05 龙芯中科技术有限公司 A kind of DMA data transfer method and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019052339A1 (en) * 2017-09-13 2019-03-21 深圳市宇数科技有限公司 Data exploration management method and system, electronic device, and storage medium
CN109977037A (en) * 2017-12-28 2019-07-05 龙芯中科技术有限公司 A kind of DMA data transfer method and system
CN108829998A (en) * 2018-06-25 2018-11-16 石家庄铁道大学 A kind of detection method of deflection of bridge span, detection device and terminal device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
于欣峰;梁利平;: "高性能LTE终端通信协议栈缓存机制" *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112597092A (en) * 2020-12-29 2021-04-02 深圳市优必选科技股份有限公司 Data interaction method, robot and storage medium
CN112597092B (en) * 2020-12-29 2023-11-17 深圳市优必选科技股份有限公司 Data interaction method, robot and storage medium

Also Published As

Publication number Publication date
CN111475488B (en) 2023-06-16

Similar Documents

Publication Publication Date Title
CN111556059A (en) Abnormity detection method, abnormity detection device and terminal equipment
CN109697090B (en) Method for controlling terminal equipment, terminal equipment and storage medium
US20140082727A1 (en) Electronic devcie and method for monitoring application
CN114257551A (en) Distributed current limiting method and system and storage medium
CN111597040A (en) Resource allocation method, device, storage medium and electronic equipment
CN113474760A (en) Generation device, generation system, generation method, and generation program
CN104994547A (en) Network access method and user terminal
CN109766282B (en) Stuck detection method, stuck detection device and terminal equipment
CN111475488A (en) Data processing method and device, terminal equipment and readable storage medium
CN108650702B (en) Broadcast information processing method and user terminal
CN111200744A (en) Multimedia playing control method and device and intelligent equipment
CN111273939B (en) Information processing method, information processing device and terminal equipment
CN110377408B (en) Application program starting method, device, terminal and medium
CN112199272A (en) Intelligent terminal testing method and device, terminal equipment and medium
CN111159009A (en) Pressure testing method and device for log service system
CN116680140A (en) Verification method, system, device and storage medium for processor
CN108491287A (en) Memory address monitoring method, device and electronic equipment
CN114816482A (en) Method and device for upgrading block storage service, computer equipment and storage medium
CN112905072B (en) Application processing method and device and electronic equipment
CN114595047A (en) Batch task processing method and device
CN112328351A (en) Animation display method, animation display device and terminal equipment
CN108391281B (en) Bridging method of wireless network, terminal equipment and storage medium
CN107273229B (en) Method, device and computer readable storage medium for processing timer timing exception
CN112231090A (en) Application process management method and device and terminal equipment
CN107295177B (en) Application disabling method and device and terminal equipment

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