CN107894937A - The frame per second data processing method and device of mobile device - Google Patents

The frame per second data processing method and device of mobile device Download PDF

Info

Publication number
CN107894937A
CN107894937A CN201611263954.7A CN201611263954A CN107894937A CN 107894937 A CN107894937 A CN 107894937A CN 201611263954 A CN201611263954 A CN 201611263954A CN 107894937 A CN107894937 A CN 107894937A
Authority
CN
China
Prior art keywords
frame per
mobile device
data
abnormal
predetermined
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201611263954.7A
Other languages
Chinese (zh)
Inventor
张远平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
OneConnect Financial Technology Co Ltd Shanghai
Original Assignee
Shanghai Billion Through Internet 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 Shanghai Billion Through Internet Technology Co Ltd filed Critical Shanghai Billion Through Internet Technology Co Ltd
Priority to CN201611263954.7A priority Critical patent/CN107894937A/en
Publication of CN107894937A publication Critical patent/CN107894937A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/302Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a software system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3089Monitoring arrangements determined by the means or processing involved in sensing the monitored data, e.g. interfaces, connectors, sensors, probes, agents
    • G06F11/3093Configuration details thereof, e.g. installation, enabling, spatial arrangement of the probes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3466Performance evaluation by tracing or monitoring
    • G06F11/3476Data logging

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Computer Hardware Design (AREA)
  • Mathematical Physics (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses the frame per second data processing method and device of a kind of mobile device, this method includes:Frame per second obtains the frame per second that control system is encapsulated using predetermined programming language in the operation of the mobile device and the bottom order of management equipment and obtains order;And the port of the reception operation and bottom order of management equipment of mobile device is opened, and be connected by predetermined connected mode with port communication;Frame per second obtains the frame per second acquisition order that control system sends predetermined client-side program to port in real time or regularly, and receives frame per second data corresponding with frame per second acquisition order from port.The present invention directly sends frame per second by port and obtains order, and by port receive corresponding to frame per second data, need not be by means of the PC of outside during frame per second data are obtained, also without root mobile devices, frame per second information can be quickly and conveniently obtained, improves the versatility and accuracy for obtaining frame per second information.

Description

The frame per second data processing method and device of mobile device
Technical field
The present invention relates to the frame per second data processing method and dress of field of computer technology, more particularly to a kind of mobile device Put.
Background technology
At present, generally use the following two kinds mode obtains client journey in the mobile devices such as mobile phone, tablet personal computer The frame per second of sequence.Mode one, using special frame per second instrument is obtained to obtain the frame per second of client-side program.Special frame per second obtains work Tool for example can be adb instruments, and its Chinese is android program debugging bridges, and its English full name is Android Debug Bridge, the adb instruments are the program operated in PC, after USB connection PCs and mobile device, It can directly operate and management equipment, for example, obtaining the information of equipment, install and uninstall client-side program, perform shell-command Deng.Mode two, to obtaining frame per second after mobile device root.However, above two mode has certain use threshold, it has not been convenient to Fast acquiring frame per second, does not possess versatility, easily error.
The content of the invention
It is a primary object of the present invention to provide the frame per second data processing method and device of a kind of mobile device, it is intended to more Frame per second information is easily obtained, improves the versatility and accuracy for obtaining frame per second information.
To achieve the above object, the frame per second data processing method of mobile device provided by the invention comprises the following steps:
The frame per second of mobile device obtains the operation that control system encapsulates the mobile device using predetermined programming language And the frame per second in the bottom order of management equipment obtains order;
The frame per second obtains the reception operation and the bottom order of management equipment that control system opens the mobile device Port, and be connected by predetermined connected mode with the port communication;
The frame per second acquisition order that the frame per second acquisition control system encapsulates to port transmission in real time or regularly, and from The port receives frame per second data corresponding with frame per second acquisition order.
Preferably, the frame per second obtains reception operation and the bottom of management equipment that control system opens the mobile device The port of order, and include the step of be connected by predetermined connected mode with the port communication:
The frame per second obtains control system after operation, opens reception operation and the bottom of management equipment of the mobile device The port of layer order, and be connected by predetermined connected mode with the port communication;
Or the frame per second obtains control system after the frame per second acquisition instruction that user sends is received, and opens the movement The reception operation of equipment and the port of the bottom order of management equipment, and led to by predetermined connected mode and the port Letter connection.
Preferably, the frame per second data processing method of the mobile device also includes:
The frame per second obtains control system and the frame per second data of reception is analyzed according to predetermined analysis rule, with Determine whether the frame per second of the predetermined client-side program is abnormal;
If the frame per second of the predetermined client-side program is abnormal, prompting message is sent to predetermined terminal, To remind the frame per second of the predetermined client-side program abnormal.
Preferably, the predetermined analysis rule is:
Quantity of the statistics more than the abnormal frame per second data of preset frame rate threshold value;
If the ratio that the quantity of abnormal frame per second data accounts for the total quantity of all frame per second data is more than preset ratio, it is determined that institute The frame per second for stating predetermined client-side program is abnormal;
If the ratio that the quantity of abnormal frame per second data accounts for the total quantity of all frame per second data is less than or equal to preset ratio, Determine that the frame per second of the predetermined client-side program is normal.
Preferably, the predetermined analysis rule is:
Calculate the continuous continuous abnormal time for the abnormal frame per second data more than preset frame rate threshold value occur;
If the continuous abnormal time calculated be present is more than preset time threshold, and/or, if the continuous abnormal in preset time The number of time is more than preset times, it is determined that the frame per second of the predetermined client-side program is abnormal;
If the continuous abnormal time of all calculating is respectively less than or equal to preset time threshold, and/or, if in preset time The number of continuous abnormal time be less than or equal to preset times, it is determined that the frame per second of the predetermined client-side program Normally.
In addition, to achieve the above object, the present invention also provides a kind of frame per second data processing equipment of mobile device, the shifting The frame per second data processing equipment of dynamic equipment includes frame per second and obtains control system, and the frame per second, which obtains control system, to be included:
Acquisition module, for encapsulating the operation of the mobile device and the bottom of management equipment using predetermined programming language Frame per second in layer order obtains order;
Link block, the port of the reception operation and bottom order of management equipment for opening the mobile device, and It is connected by predetermined connected mode with the port communication;
Transport module, in real time or timing sends to the port frame per second of encapsulation and obtains order, and from the end Mouth receives frame per second data corresponding with frame per second acquisition order.
Preferably, the link block is additionally operable to after detecting the frame per second and obtaining control system operation, described in opening The reception operation of mobile device and the port of the bottom order of management equipment, and pass through predetermined connected mode and the end Port communications connect;
Or the link block is additionally operable to after the frame per second acquisition instruction that user sends is received, and is opened the movement and is set Standby reception operation and the port of the bottom order of management equipment, and pass through predetermined connected mode and the port communication Connection.
Preferably, the frame per second, which obtains control system, also includes analysis module;
The analysis module is used to analyze the frame per second data of reception according to predetermined analysis rule, to determine Whether the frame per second of the predetermined client-side program is abnormal;
If the frame per second of the predetermined client-side program is abnormal, the transport module is sent out to predetermined terminal Prompting message is sent, to remind the frame per second of the predetermined client-side program abnormal.
Preferably, the predetermined analysis rule is:
Quantity of the statistics more than the abnormal frame per second data of preset frame rate threshold value;
If the ratio that the quantity of abnormal frame per second data accounts for the total quantity of all frame per second data is more than preset ratio, it is determined that institute The frame per second for stating predetermined client-side program is abnormal;
If the ratio that the quantity of abnormal frame per second data accounts for the total quantity of all frame per second data is less than or equal to preset ratio, Determine that the frame per second of the predetermined client-side program is normal.
Preferably, the predetermined analysis rule is:
Quantity of the statistics more than the abnormal frame per second data of preset frame rate threshold value;
If the ratio that the quantity of abnormal frame per second data accounts for the total quantity of all frame per second data is more than preset ratio, it is determined that institute The frame per second for stating predetermined client-side program is abnormal;
If the ratio that the quantity of abnormal frame per second data accounts for the total quantity of all frame per second data is less than or equal to preset ratio, Determine that the frame per second of the predetermined client-side program is normal.
The frame per second data processing method and device of mobile device proposed by the present invention, control system is obtained by frame per second and used The frame per second that predetermined programming language is encapsulated in the operation of the mobile device and the bottom order of management equipment obtains order, and Open the mobile device reception operation and management equipment bottom order port, by predetermined connected mode with The port communication connection, control system is obtained in real time or regularly to the frame per second of port transmission encapsulation finally by frame per second Order is obtained, and frame per second data corresponding with frame per second acquisition order are received from the port.The present invention passes through mobile device Frame per second obtain control system and can encapsulate frame per second and obtain order, and be connected with the port communication of the bottom order of mobile device, So as to directly by port send frame per second obtain order, and by port receive corresponding to frame per second data, obtain frame per second data During need not be by means of the PC of outside, it is not required that root mobile devices, being capable of quickly and conveniently getting frame Rate information, improve the versatility and accuracy for obtaining frame per second information.
Brief description of the drawings
Fig. 1 is the schematic flow sheet of the frame per second data processing method first embodiment of mobile device of the present invention;
Fig. 2 is the schematic flow sheet of the frame per second data processing method 3rd embodiment of mobile device of the present invention;
Fig. 3 is the high-level schematic functional block diagram of the frame per second data processing equipment first embodiment of mobile device of the present invention;
Fig. 4 is the high-level schematic functional block diagram of the frame per second data processing equipment 3rd embodiment of mobile device of the present invention.
The realization, functional characteristics and advantage of the object of the invention will be described further referring to the drawings in conjunction with the embodiments.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The present invention provides a kind of frame per second data processing method of mobile device.The frame per second data processing method of the mobile device Mobile device can be based on to realize.Mobile device is such as can be but be not limited to mobile phone, tablet personal computer.Reference picture 1, Fig. 1 are The schematic flow sheet of the frame per second data processing method first embodiment of mobile device of the present invention.In this embodiment, the movement is set Standby frame per second data processing method includes:
Step S10, the frame per second acquisition control system of mobile device encapsulate the movement using predetermined programming language and set Frame per second in standby operation and the bottom order of management equipment obtains order.
In the present embodiment, the frame per second, which obtains system, can be built in the predetermined client-side program of mobile device In.Predetermined client-side program can be an APP, and the APP is installed in mobile device in advance, passes through the APP getting frames Rate data.The predetermined programming language for example can be but be not limited to Java, and choosing can be specifically actually needed according to client Select.The bottom order of encapsulation operation and management equipment for example can be the bottom order of adb instruments, for example, its is predetermined Frame per second obtain order for example can be " adb shell dumpsys gfxinfo | grep<pkgName>" order.
Step S20, the frame per second obtain reception operation and the bottom of management equipment that control system opens the mobile device The port of layer order, and be connected by predetermined connected mode with the port communication.
In the present embodiment, the port is used to receive operation and the bottom order of management equipment for the mobile device Port.The predetermined connected mode for example can be but be not limited to the connected mode of socket sockets.
Step S30, the frame per second obtains control system in real time or timing sends the frame per second encapsulated to the port and obtained Order, and receive frame per second data corresponding with frame per second acquisition order from the port.
In the present embodiment, it can be default setting that frame per second, which obtains control system and sends frame per second to obtain the mode ordered,.Example Such as, real-time sending method or timing sending method can be defaulted as.
Optionally, it can also be what user pre-set that frame per second, which obtains control system and sends frame per second to obtain the mode ordered,. For example, the mode for sending frame per second acquisition order can be arranged to real-time mode by user;It can also will send frame per second and obtain order Mode be arranged to timing mode, and can specify simultaneously send frame per second obtain order at the time of.
Optionally, frame per second obtains control system and can also voluntarily determine to send the mode that frame per second obtains order.For example, frame per second Timing mode can be defaulted as in a manner of it will first send frame per second and obtain order by obtaining control system, can such as be sent out at interval of 10 minutes A frame per second is sent to obtain order.Then frame per second acquisition control system judges whether the difference of the adjacent frame per second data received twice is big In the first preset value, more than when, then reduce it is adjacent send the time interval that frame per second obtains order twice, circulate according to this;In phase When the adjacent time interval for sending frame per second acquisition order twice is less than the first preset duration, then transmission frame per second is obtained to the mode of order Be converted to real-time mode.
Optionally, when the mode that currently transmitted frame per second obtains order is real-time mode, when can also obtain adjacent default Between interval (such as 3 seconds) frame per second data for receiving, and the difference of the frame per second data received in adjacent prefixed time interval is less than the During two preset values, then the mode for sending frame per second acquisition order is converted into timing mode, and between the default less time Frame per second, which is sent, every timing obtains order.Then frame per second acquisition control system judges that the difference of the adjacent frame per second data received twice is It is no to be less than the second preset value, less than when, then increase it is adjacent twice send frame per second obtain order time interval, circulate according to this.
Optionally, frame per second obtain control system by the frame per second data of reception the predetermined client-side program client Shown in the program interface of end.So that user intuitively knows frame per second data.
The frame per second data processing method of mobile device provided by the invention, control system is obtained using true in advance by frame per second The frame per second that fixed programming language is encapsulated in the operation of the mobile device and the bottom order of management equipment obtains order, and opens institute The port of the reception operation and bottom order of management equipment of mobile device is stated, passes through predetermined connected mode and the end Port communications connect, and obtain control system finally by frame per second obtains life to the frame per second of port transmission encapsulation in real time or regularly Order, and receive frame per second data corresponding with frame per second acquisition order from the port.The frame per second that the present invention passes through mobile device Frame per second acquisition order can be encapsulated by obtaining control system, and is connected with the port communication of the bottom order of mobile device, so as to straight Connected port send frame per second obtain order, and by port receive corresponding to frame per second data, obtain frame per second data process In need not by means of outside PC, it is not required that root mobile devices, can quickly and conveniently obtain frame per second information, Improve the versatility and accuracy for obtaining frame per second information.
Further, frame per second data, the frame per second data processing based on mobile device of the present invention are obtained in order to more flexible The first embodiment of method, the invention also provides the second embodiment of the frame per second data processing method of mobile device, the step Rapid S20 includes:The frame per second obtains control system after operation, opens reception operation and the management equipment of the mobile device The port of bottom order, and be connected by predetermined connected mode with the port communication.In the present embodiment, frame per second obtains Control system is taken to open the port immediately after bringing into operation, it is not necessary to which user controls manually, more convenient.Optionally, frame Rate obtains control system while port is opened, and can also carry out and encapsulates the mobile device using predetermined programming language Operation and management equipment bottom order, so as to effectively having saved the time so that frame per second obtains control system can be more Quickly send frame per second and obtain order, and then more quick received frame rate data.
Or the frame per second obtains control system after the frame per second acquisition instruction that user sends is received, and opens the movement The reception operation of equipment and the port of the bottom order of management equipment, and led to by predetermined connected mode and the port Letter connection.In the present embodiment, after frame per second acquisition control system receives frame per second acquisition instruction, then the port is started to open at, So as to perform operation according to the control of user, more flexibly.Optionally, frame per second obtains control system and is opening the same of port When, it can also carry out and the operation of the mobile device and the bottom order of management equipment are encapsulated using predetermined programming language, So as to effectively save the time so that frame per second, which obtains control system, can more quickly send frame per second acquisition order, and then More quick received frame rate data.
Further, the first or second embodiments of the frame per second data processing method based on mobile device of the present invention, this hair The 3rd embodiment of the bright frame per second data processing method that also proposed mobile device, reference picture 2, Fig. 2 are mobile device of the present invention Frame per second data processing method 3rd embodiment schematic flow sheet.In this embodiment, after step S30, the movement is set Standby frame per second data processing method also includes:
Step S40, the frame per second obtain control system and the frame per second data of reception are entered according to predetermined analysis rule Row analysis, to determine whether the frame per second of the predetermined client-side program is abnormal.
Optionally, predetermined analysis rule can use following two modes:
Mode one, predetermined analysis rule can be:
Quantity of the statistics more than the abnormal frame per second data of preset frame rate threshold value;
If the ratio that the quantity of abnormal frame per second data accounts for the total quantity of all frame per second data is more than preset ratio, it is determined that institute The frame per second for stating predetermined client-side program is abnormal;
If the ratio that the quantity of abnormal frame per second data accounts for the total quantity of all frame per second data is less than or equal to preset ratio, Determine that the frame per second of the predetermined client-side program is normal.
In the present embodiment, preset frame rate threshold value can be configured according to being actually needed, and not limited herein.It will be greater than The frame per second data judging of preset frame rate threshold value is abnormal frame per second data.The size of preset ratio can be set according to being actually needed Put, do not limit herein.
Mode two, predetermined analysis rule can also be:
Calculate the continuous continuous abnormal time for the abnormal frame per second data more than preset frame rate threshold value occur;
If the continuous abnormal time calculated be present is more than preset time threshold, and/or, if the continuous abnormal in preset time The number of time is more than preset times, it is determined that the frame per second of the predetermined client-side program is abnormal;
If the continuous abnormal time of all calculating is respectively less than or equal to preset time threshold, and/or, if in preset time The number of continuous abnormal time be less than or equal to preset times, it is determined that the frame per second of the predetermined client-side program Normally.
In the present embodiment, preset frame rate threshold value can be configured according to being actually needed, and not limited herein.It will be greater than The frame per second data judging of preset frame rate threshold value is abnormal frame per second data.The size of preset time threshold can according to be actually needed into Row is set, and is not limited herein.The size of preset time can be configured according to being actually needed, for example, can be nearest 12 In hour.The size of preset times can be configured according to being actually needed, and not limited herein.
Step S50, if the frame per second of the predetermined client-side program is abnormal, sends and carry to predetermined terminal Awake information, to remind the frame per second of the predetermined client-side program abnormal.
In the present embodiment, predetermined terminal for example can be but be not limited to foregoing mobile device or user institute Other mobile terminals of setting.Prompting message can for example be sent in the form of short message, or can also be default prompt tone. The present embodiment sends prompting message by analyzing the frame per second data received, and in frame per second exception to predetermined terminal, So that user can know mobile device frame per second exception in time.
The present invention further provides a kind of frame per second data processing equipment of mobile device.Reference picture 3, Fig. 3 move for the present invention The high-level schematic functional block diagram of the frame per second data processing equipment first embodiment of dynamic equipment.In the first embodiment, the mobile device Frame per second data processing equipment include frame per second and obtain control system 100, the frame per second, which obtains control system 100, to be included:
Acquisition module 110, for encapsulating operation and the management equipment of the mobile device using predetermined programming language Bottom order in frame per second obtain order;
In the present embodiment, the frame per second, which obtains system 100, can be built in the predetermined client journey of mobile device In sequence.Predetermined client-side program can be an APP, and the APP is installed in mobile device, obtained by the APP in advance Frame per second data.The predetermined programming language for example can be but be not limited to Java, can be specifically actually needed according to client Selection.The bottom order of encapsulation operation and management equipment for example can be the bottom order of adb instruments, for example, it is predefined Frame per second obtain order for example can be " adb shell dumpsys gfxinfo | grep<pkgName>" order.
Link block 120, the port of the reception operation and bottom order of management equipment for opening the mobile device, And it is connected by predetermined connected mode with the port communication;
In the present embodiment, the port is used to receive operation and the bottom order of management equipment for the mobile device Port.The predetermined connected mode for example can be but be not limited to the connected mode of socket sockets.
Transport module 130, in real time or timing sends to the port frame per second of encapsulation and obtains order, and from described Port receives frame per second data corresponding with frame per second acquisition order.
In the present embodiment, it can be default setting that transport module 130, which sends frame per second and obtains the mode ordered,.For example, can To be defaulted as real-time sending method or timing sending method.
Optionally, it can also be what user pre-set that transport module 130, which sends frame per second and obtains the mode ordered,.For example, The mode for sending frame per second acquisition order can be arranged to real-time mode by user;It can also will send the mode of frame per second acquisition order At the time of being arranged to timing mode, and transmission frame per second acquisition order can be specified simultaneously.
Optionally, transport module 130 can also voluntarily determine to send the mode that frame per second obtains order.For example, transport module 130 can be defaulted as timing mode in a manner of it will first send frame per second and obtain order, such as can send a frame at interval of 10 minutes Rate obtains order.Then transport module 130 judges whether the difference of the adjacent frame per second data received twice is more than the first preset value, More than when, then reduce it is adjacent twice send frame per second obtain order time interval, circulate according to this;Frame per second is sent twice adjacent When the time interval of acquisition order is less than the first preset duration, then the mode for sending frame per second acquisition order is converted into real-time side Formula.
Optionally, when the mode that currently transmitted frame per second obtains order is real-time mode, when can also obtain adjacent default Between interval (such as 3 seconds) frame per second data for receiving, and the difference of the frame per second data received in adjacent prefixed time interval is less than the During two preset values, then the mode for sending frame per second acquisition order is converted into timing mode, and between the default less time Frame per second, which is sent, every timing obtains order.Then transport module 130 judges whether the difference of the adjacent frame per second data received twice is small In the second preset value, less than when, then increase it is adjacent send the time interval that frame per second obtains order twice, circulate according to this.
Optionally, frame per second obtains control system 100 by the frame per second data of reception in the predetermined client-side program Client-side program is shown in interface.So that user intuitively knows frame per second data.
The frame per second data processing method of mobile device provided by the invention, control system is obtained using true in advance by frame per second The frame per second that fixed programming language is encapsulated in the operation of the mobile device and the bottom order of management equipment obtains order, and opens institute The port of the reception operation and bottom order of management equipment of mobile device is stated, passes through predetermined connected mode and the end Port communications connect, and obtain control system finally by frame per second obtains life to the frame per second of port transmission encapsulation in real time or regularly Order, and receive frame per second data corresponding with frame per second acquisition order from the port.The frame per second that the present invention passes through mobile device Frame per second acquisition order can be encapsulated by obtaining control system, and is connected with the port communication of the bottom order of mobile device, so as to straight Connected port send frame per second obtain order, and by port receive corresponding to frame per second data, obtain frame per second data process In need not by means of outside PC, it is not required that root mobile devices, can quickly and conveniently obtain frame per second information, Improve the versatility and accuracy for obtaining frame per second information.
Further, frame per second data, the frame per second data processing based on mobile device of the present invention are obtained in order to more flexible The first embodiment of device, the invention also provides the second embodiment of the frame per second data processing equipment of mobile device, the company Connection module 120 is additionally operable to after detecting the frame per second and obtaining control system operation, opens the reception operation of the mobile device And the port of the bottom order of management equipment, and be connected by predetermined connected mode with the port communication.In this reality Apply in example, frame per second, which is obtained after control system brings into operation, will open the port immediately, it is not necessary to which user controls manually, compares just It is prompt.Optionally, frame per second obtains control system while port is opened, and can also carry out and is sealed using predetermined programming language The operation of the mobile device and the bottom order of management equipment are filled, so as to effectively save the time so that frame per second obtains control System can more quickly send frame per second and obtain order, and then more quick received frame rate data.
Or the link block 120 is additionally operable to after the frame per second acquisition instruction that user sends is received, and opens the movement The reception operation of equipment and the port of the bottom order of management equipment, and led to by predetermined connected mode and the port Letter connection.In the present embodiment, after frame per second acquisition control system receives frame per second acquisition instruction, then the port is started to open at, So as to perform operation according to the control of user, more flexibly.Optionally, frame per second obtains control system and is opening the same of port When, it can also carry out and the operation of the mobile device and the bottom order of management equipment are encapsulated using predetermined programming language, So as to effectively save the time so that frame per second, which obtains control system, can more quickly send frame per second acquisition order, and then More quick received frame rate data.
Further, the first or second embodiments of the frame per second data processing equipment based on mobile device of the present invention, this hair The 3rd embodiment of the bright frame per second data processing equipment that also proposed mobile device, as shown in figure 4, Fig. 4 sets for present invention movement The high-level schematic functional block diagram of standby frame per second data processing equipment 3rd embodiment, in the present embodiment, the frame per second obtain control System 100 also includes analysis module 140;
The analysis module 140 is used to analyze the frame per second data of reception according to predetermined analysis rule, with Determine whether the frame per second of the predetermined client-side program is abnormal.
Optionally, predetermined analysis rule can use following two modes:
Mode one, predetermined analysis rule can be:
Quantity of the statistics more than the abnormal frame per second data of preset frame rate threshold value;
If the ratio that the quantity of abnormal frame per second data accounts for the total quantity of all frame per second data is more than preset ratio, it is determined that institute The frame per second for stating predetermined client-side program is abnormal;
If the ratio that the quantity of abnormal frame per second data accounts for the total quantity of all frame per second data is less than or equal to preset ratio, Determine that the frame per second of the predetermined client-side program is normal.
In the present embodiment, preset frame rate threshold value can be configured according to being actually needed, and not limited herein.It will be greater than The frame per second data judging of preset frame rate threshold value is abnormal frame per second data.The size of preset ratio can be set according to being actually needed Put, do not limit herein.
Mode two, predetermined analysis rule can also be:
Calculate the continuous continuous abnormal time for the abnormal frame per second data more than preset frame rate threshold value occur;
If the continuous abnormal time calculated be present is more than preset time threshold, and/or, if the continuous abnormal in preset time The number of time is more than preset times, it is determined that the frame per second of the predetermined client-side program is abnormal;
If the continuous abnormal time of all calculating is respectively less than or equal to preset time threshold, and/or, if in preset time The number of continuous abnormal time be less than or equal to preset times, it is determined that the frame per second of the predetermined client-side program Normally.
In the present embodiment, preset frame rate threshold value can be configured according to being actually needed, and not limited herein.It will be greater than The frame per second data judging of preset frame rate threshold value is abnormal frame per second data.The size of preset time threshold can according to be actually needed into Row is set, and is not limited herein.The size of preset time can be configured according to being actually needed, for example, can be nearest 12 In hour.The size of preset times can be configured according to being actually needed, and not limited herein.
If the frame per second of the predetermined client-side program is abnormal, the transport module 130 is to predetermined end End sends prompting message, to remind the frame per second of the predetermined client-side program abnormal.
In the present embodiment, predetermined terminal for example can be but be not limited to foregoing mobile device or other users Set mobile terminal.Prompting message can for example be sent in the form of short message, or can also be default prompt tone.This Embodiment sends prompting message by analyzing the frame per second data received, and in frame per second exception to predetermined terminal, from And user is allowd to know mobile device frame per second exception in time.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.Embodiment party more than The description of formula, it is required general that those skilled in the art can be understood that above-described embodiment method can add by software The mode of hardware platform is realized, naturally it is also possible to which by hardware, but the former is more preferably embodiment in many cases.It is based on Such understanding, the part that technical scheme substantially contributes to prior art in other words can be with software products Form embody, the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disc, CD), including Some instructions to cause a station terminal equipment (can be mobile phone, computer, the frame per second data processing equipment of mobile device, or Person's network equipment etc.) perform method described in each embodiment of the present invention.
The preferred embodiments of the present invention are these are only, are not intended to limit the scope of the invention, it is every to utilize this hair The equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skills Art field, is included within the scope of the present invention.

Claims (10)

  1. A kind of 1. frame per second data processing method of mobile device, it is characterised in that the frame per second data processing side of the mobile device Method includes:
    The frame per second of mobile device obtains operation and the pipe that control system encapsulates the mobile device using predetermined programming language The frame per second managed in the bottom order of equipment obtains order;
    The frame per second obtains the port that control system opens the reception operation and bottom order of management equipment of the mobile device, And it is connected by predetermined connected mode with the port communication;
    The frame per second obtains control system in real time or timing sends the frame per second of encapsulation to the port and obtains order, and from described Port receives frame per second data corresponding with frame per second acquisition order.
  2. 2. the frame per second data processing method of mobile device as claimed in claim 1, it is characterised in that the frame per second obtains control System opens the port of the reception operation and bottom order of management equipment of the mobile device, and passes through predetermined connection The step of mode is connected with the port communication includes:
    The frame per second obtains control system after operation, opens the reception operation of the mobile device and the bottom life of management equipment The port of order, and be connected by predetermined connected mode with the port communication;
    Or the frame per second obtains control system after the frame per second acquisition instruction that user sends is received, and opens the mobile device Reception operation and the bottom order of management equipment port, and pass through predetermined connected mode and the port communication and connect Connect.
  3. 3. the frame per second data processing method of mobile device as claimed in claim 1 or 2, it is characterised in that the mobile device Frame per second data processing method also include:
    The frame per second obtains control system and the frame per second data of reception is analyzed according to predetermined analysis rule, to determine Whether the frame per second of the predetermined client-side program is abnormal;
    If the frame per second of the predetermined client-side program is abnormal, prompting message is sent to predetermined terminal, to carry The frame per second of the awake predetermined client-side program is abnormal.
  4. 4. the frame per second data processing method of mobile device as claimed in claim 3, it is characterised in that described predetermined point Analysing rule is:
    Quantity of the statistics more than the abnormal frame per second data of preset frame rate threshold value;
    If the ratio that the quantity of abnormal frame per second data accounts for the total quantity of all frame per second data is more than preset ratio, it is determined that described pre- The frame per second of the client-side program first determined is abnormal;
    If the ratio that the quantity of abnormal frame per second data accounts for the total quantity of all frame per second data is less than or equal to preset ratio, it is determined that The frame per second of the predetermined client-side program is normal.
  5. 5. the frame per second data processing method of mobile device as claimed in claim 3, it is characterised in that described predetermined point Analysing rule is:
    Calculate the continuous continuous abnormal time for the abnormal frame per second data more than preset frame rate threshold value occur;
    If the continuous abnormal time calculated be present is more than preset time threshold, and/or, if the continuous abnormal time in preset time Number be more than preset times, it is determined that the frame per second of the predetermined client-side program is abnormal;
    If the continuous abnormal time of all calculating is respectively less than or equal to preset time threshold, and/or, if the company in preset time The number of continuous abnormal time is less than or equal to preset times, it is determined that the frame per second of the predetermined client-side program is just Often.
  6. A kind of 6. frame per second data processing equipment of mobile device, it is characterised in that the frame per second data processing dress of the mobile device Put and obtain control system including frame per second, the frame per second, which obtains control system, to be included:
    Acquisition module, for encapsulating the operation of the mobile device and the bottom life of management equipment using predetermined programming language Frame per second in order obtains order;
    Link block, the port of the reception operation and bottom order of management equipment for opening the mobile device, and pass through Predetermined connected mode is connected with the port communication;
    Transport module, the frame per second for sending encapsulation to the port in real time or regularly obtains order, and is connect from the port Receive frame per second data corresponding with frame per second acquisition order.
  7. 7. the frame per second data processing equipment of mobile device as claimed in claim 6, it is characterised in that the link block is also used In reception operation and the bottom of management equipment of after detecting the frame per second and obtaining control system operation, opening the mobile device The port of layer order, and be connected by predetermined connected mode with the port communication;
    Or the link block is additionally operable to after the frame per second acquisition instruction that user sends is received, and opens the mobile device The port of operation and the bottom order of management equipment is received, and is connected by predetermined connected mode and the port communication Connect.
  8. 8. the frame per second data processing equipment of mobile device as claimed in claims 6 or 7, it is characterised in that the frame per second obtains Control system also includes analysis module;
    The analysis module is used to analyze the frame per second data of reception according to predetermined analysis rule, with described in determination Whether the frame per second of predetermined client-side program is abnormal;
    If the frame per second of the predetermined client-side program is abnormal, the transport module sends to predetermined terminal and carried Awake information, to remind the frame per second of the predetermined client-side program abnormal.
  9. 9. the frame per second data processing equipment of mobile device as claimed in claim 8, it is characterised in that described predetermined point Analysing rule is:
    Quantity of the statistics more than the abnormal frame per second data of preset frame rate threshold value;
    If the ratio that the quantity of abnormal frame per second data accounts for the total quantity of all frame per second data is more than preset ratio, it is determined that described pre- The frame per second of the client-side program first determined is abnormal;
    If the ratio that the quantity of abnormal frame per second data accounts for the total quantity of all frame per second data is less than or equal to preset ratio, it is determined that The frame per second of the predetermined client-side program is normal.
  10. 10. the frame per second data processing equipment of mobile device as claimed in claim 8, it is characterised in that described predetermined Analysis rule is:
    Quantity of the statistics more than the abnormal frame per second data of preset frame rate threshold value;
    If the ratio that the quantity of abnormal frame per second data accounts for the total quantity of all frame per second data is more than preset ratio, it is determined that described pre- The frame per second of the client-side program first determined is abnormal;
    If the ratio that the quantity of abnormal frame per second data accounts for the total quantity of all frame per second data is less than or equal to preset ratio, it is determined that The frame per second of the predetermined client-side program is normal.
CN201611263954.7A 2016-12-30 2016-12-30 The frame per second data processing method and device of mobile device Pending CN107894937A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611263954.7A CN107894937A (en) 2016-12-30 2016-12-30 The frame per second data processing method and device of mobile device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611263954.7A CN107894937A (en) 2016-12-30 2016-12-30 The frame per second data processing method and device of mobile device

Publications (1)

Publication Number Publication Date
CN107894937A true CN107894937A (en) 2018-04-10

Family

ID=61803275

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611263954.7A Pending CN107894937A (en) 2016-12-30 2016-12-30 The frame per second data processing method and device of mobile device

Country Status (1)

Country Link
CN (1) CN107894937A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109032911A (en) * 2018-07-24 2018-12-18 网易(杭州)网络有限公司 For the frame rate detection method of mobile device, device and electronic equipment

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1770907A (en) * 2004-11-03 2006-05-10 杭州波导软件有限公司 Method for collecting mobile communication terminal identity data using short message mode
CN101063990A (en) * 2006-04-30 2007-10-31 迈世亚(北京)科技有限公司 Medical information processing system and method
CN101877874A (en) * 2010-06-30 2010-11-03 中兴通讯股份有限公司 Sending and outputting method, system and equipment of performance data
CN103235680A (en) * 2013-04-02 2013-08-07 深圳市文鼎创数据科技有限公司 Processing method and device for Bluetooth connection
CN103781072A (en) * 2012-10-25 2014-05-07 ***通信集团江苏有限公司 Terminal smart card implementing method and chip
CN105068947A (en) * 2015-08-20 2015-11-18 浪潮软件集团有限公司 Method for processing serial port communication based on driver layer
CN105791699A (en) * 2016-04-26 2016-07-20 惠州Tcl移动通信有限公司 Adjusting method and system of camera shooting frame rate and mobile terminal
CN106095363A (en) * 2016-06-03 2016-11-09 广东欧珀移动通信有限公司 Ameliorative way, device and the terminal that a kind of terminal card pauses
US20160350200A1 (en) * 2015-05-26 2016-12-01 International Business Machines Corporation Performance enhancement mode selection tool

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1770907A (en) * 2004-11-03 2006-05-10 杭州波导软件有限公司 Method for collecting mobile communication terminal identity data using short message mode
CN101063990A (en) * 2006-04-30 2007-10-31 迈世亚(北京)科技有限公司 Medical information processing system and method
CN101877874A (en) * 2010-06-30 2010-11-03 中兴通讯股份有限公司 Sending and outputting method, system and equipment of performance data
CN103781072A (en) * 2012-10-25 2014-05-07 ***通信集团江苏有限公司 Terminal smart card implementing method and chip
CN103235680A (en) * 2013-04-02 2013-08-07 深圳市文鼎创数据科技有限公司 Processing method and device for Bluetooth connection
US20160350200A1 (en) * 2015-05-26 2016-12-01 International Business Machines Corporation Performance enhancement mode selection tool
CN105068947A (en) * 2015-08-20 2015-11-18 浪潮软件集团有限公司 Method for processing serial port communication based on driver layer
CN105791699A (en) * 2016-04-26 2016-07-20 惠州Tcl移动通信有限公司 Adjusting method and system of camera shooting frame rate and mobile terminal
CN106095363A (en) * 2016-06-03 2016-11-09 广东欧珀移动通信有限公司 Ameliorative way, device and the terminal that a kind of terminal card pauses

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109032911A (en) * 2018-07-24 2018-12-18 网易(杭州)网络有限公司 For the frame rate detection method of mobile device, device and electronic equipment
CN109032911B (en) * 2018-07-24 2022-02-18 网易(杭州)网络有限公司 Frame rate detection method and device for mobile device and electronic device

Similar Documents

Publication Publication Date Title
CN111459794B (en) Communication network testing method, device, computer equipment and storage medium
CN108650149B (en) Server testing method, device, equipment and computer readable storage medium
KR100948217B1 (en) Apparatus and methods for product acceptance testing on a wireless device
US9538404B2 (en) Apparatus and methods for product acceptance testing on a wireless device
US10433195B2 (en) Technique for testing wireless network load produced by mobile app-carrying devices
CN107832226A (en) Report-generating method, device, equipment and computer media based on performance test
CN112596848B (en) Screen recording method, device, electronic equipment, storage medium and program product
CN107908551A (en) Terminal software test method, device, terminal and computer-readable storage medium
CN108132850B (en) Code positioning method and device and electronic equipment
CN101437260A (en) System and method for automatization test of WCDMA physical layer
CN106411637A (en) Internet-of-things device scenario testing method
CN107508985A (en) A kind of method that application program is downloaded in Android mobile phone
CN105760300B (en) A kind of automated testing method and test macro of STK/UTK business
US7623856B2 (en) Method for testing communication protocol having collection of internal information of a mobile communication terminal by an external module
WO2021120544A1 (en) Method and apparatus for debugging device
CN105117344B (en) A kind of Interface integration method of testing and system based on PB
CN113238951A (en) Software barrier-free automatic test system and test method thereof
KR100794130B1 (en) Automatic Function Testing Equipment for Application Software and Additional Service of Mobile Communication Terminal
CN102752770A (en) Method and device for polling service system
CN106294119B (en) Test scheduling system and method and terminal equipment
CN107894937A (en) The frame per second data processing method and device of mobile device
CN114039899A (en) Method for realizing network performance test of WEB product based on Fiddler tool
CN114172835A (en) Automatic testing method of Bluetooth digital key
CN110505352B (en) Call quality testing method, system, computer device and computer storage medium
US20220217555A1 (en) Measuring device and measuring method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 200135 Pudong New Area, Shanghai, China (Shanghai) free trade trial area 2 Pudong road 2250 2 story room 1

Applicant after: Shanghai one track Internet Technology Co.,Ltd.

Address before: 200135 Pudong New Area, Shanghai, China (Shanghai) free trade trial area 2 Pudong road 2250 2 story room 1

Applicant before: SHANGHAI YIZHANGTONG INTERNET TECHNOLOGY CO.,LTD.

Address after: 200030 Xuhui District, Shanghai Kai Bin Road 166, 9, 10 level.

Applicant after: ONECONNECT FINANCIAL TECHNOLOGY Co.,Ltd. (SHANGHAI)

Address before: 200135 Pudong New Area, Shanghai, China (Shanghai) free trade trial area 2 Pudong road 2250 2 story room 1

Applicant before: Shanghai one track Internet Technology Co.,Ltd.

TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20180530

Address after: 518000 Room 201, building A, No. 1, Qian Wan Road, Qianhai Shenzhen Hong Kong cooperation zone, Shenzhen, Guangdong (Shenzhen Qianhai business secretary Co., Ltd.)

Applicant after: ONECONNECT FINANCIAL TECHNOLOGY Co.,Ltd. (SHANGHAI)

Address before: 200030 Xuhui District, Shanghai Kai Bin Road 166, 9, 10 level.

Applicant before: ONECONNECT FINANCIAL TECHNOLOGY Co.,Ltd. (SHANGHAI)

SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180410