CN106293929B - Data processing method and first electronic device - Google Patents
Data processing method and first electronic device Download PDFInfo
- Publication number
- CN106293929B CN106293929B CN201510317589.2A CN201510317589A CN106293929B CN 106293929 B CN106293929 B CN 106293929B CN 201510317589 A CN201510317589 A CN 201510317589A CN 106293929 B CN106293929 B CN 106293929B
- Authority
- CN
- China
- Prior art keywords
- electronic equipment
- preset
- request
- preset rule
- electronic device
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Landscapes
- Computer And Data Communications (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention discloses a data processing method and first electronic equipment, wherein the data processing method is applied to the first electronic equipment, and the method comprises the following steps: receiving a first request for acquiring the operation parameters of the preset attributes of the first electronic equipment; analyzing the first request to obtain the preset attribute; detecting an actual operating parameter of the first electronic device corresponding to the predetermined attribute; issuing the actual operating parameter in response to the first request.
Description
Technical Field
The present invention relates to communications technologies, and in particular, to a data processing method and a first electronic device.
Background
In the process of implementing the technical solution of the embodiment of the present application, the inventor of the present application finds at least the following technical problems in the related art:
in an application scenario of data processing, a large number of data samples need to be collected and processed so as to perform analysis and processing after data sampling, the data collection is performed according to specific requirements, for example, data collection is performed on 10 ten thousand computers of a certain model in the beijing area, or data collection is performed on 8 ten thousand computers of which a user group is female, and all the current processing modes are completed in a server, that is: and the server screens specific products with the product ID attributes meeting the specific requirements from a large number of products according to the specific requirements, so as to collect data of the specific products.
However, the server basically covers most data processing work as a core device, the work of collecting and processing data samples additionally increases the load and workload of the server, and how to reduce the load and workload of the server is a problem to be solved.
Disclosure of Invention
In view of the above, embodiments of the present invention are directed to a data processing method and a first electronic device, which at least solve the problems in the prior art.
The technical scheme of the embodiment of the invention is realized as follows:
the data processing method of the embodiment of the invention is applied to first electronic equipment, and comprises the following steps:
receiving a first request for acquiring the operation parameters of the preset attributes of the first electronic equipment;
analyzing the first request to obtain the preset attribute;
detecting an actual operating parameter of the first electronic device corresponding to the predetermined attribute;
issuing the actual operating parameter in response to the first request.
In the above scheme, the method further comprises:
analyzing the first request to obtain a first preset rule;
judging whether the first electronic equipment conforms to the first preset rule or not;
and based on the judgment result, the first electronic equipment sends a second request for requesting to acquire the operation parameters of the preset attributes of the second electronic equipment according with a second preset rule.
In the above scheme, the first preset rule includes all the second preset rules;
and generating the first preset rule according to at least one of the empirical value, the historical data record reported to the server, the load and the processing time.
In the foregoing solution, the determining whether the first electronic device meets the first preset rule includes:
judging whether the first electronic equipment exists as a main control electronic equipment relative to the second electronic equipment so as to control the second electronic equipment through the first electronic equipment;
correspondingly, the method further comprises the following steps:
responding to the second request, and sending the operation parameters of the preset attributes to the first electronic equipment by the second electronic equipment;
and the first electronic equipment collects the operation parameters of the preset attributes sent by the second electronic equipment for processing.
In the foregoing solution, the sending, by the first electronic device, a second request for requesting to obtain an operation parameter of a predetermined attribute of the second electronic device that meets a second preset rule based on the determination result includes any one of the following manners:
the first method is as follows: the first electronic equipment sends a request to a fixed number of second electronic equipment according with a second preset rule so as to obtain the operation parameters of the preset attributes of the second electronic equipment;
the second method comprises the following steps: the first electronic equipment conducts pre-estimation according to the second preset rule, and any number of second electronic equipment is selected to send out a request according to the pre-estimation result so as to obtain the operation parameters of the second electronic equipment with preset attributes;
the third method comprises the following steps: the first electronic equipment detects own system resources, and when the own system resources are lower than a first threshold value and are in an idle state, a request is sent to second electronic equipment which accords with a second preset rule so as to obtain operation parameters of preset attributes of the second electronic equipment;
the method is as follows: the first electronic equipment sends a request to second electronic equipment which accords with a second preset rule for multiple times according to a preset frequency or a preset period so as to obtain an operation parameter of a preset attribute of the second electronic equipment;
the fifth mode is as follows: and the first electronic equipment analyzes the collected operation parameters of the preset attributes sent by the second electronic equipment, and the analysis result is used for updating the second preset rule, so that the first electronic equipment has the autonomous learning capability.
A first electronic device according to an embodiment of the present invention includes:
the receiving unit is used for receiving a first request for acquiring the operation parameters of the preset attributes of the first electronic equipment;
the first analysis unit is used for analyzing the first request to obtain the preset attribute;
a detection unit for detecting an actual operating parameter of the first electronic device corresponding to the predetermined attribute;
a response unit for issuing the actual operating parameter in response to the first request.
In the foregoing solution, the first electronic device further includes:
the second analysis unit is used for analyzing the first request to obtain a first preset rule;
the judging unit is used for judging whether the first electronic equipment meets the first preset rule or not;
and the sending unit is used for sending a second request for requesting to acquire the operation parameters of the preset attributes of the second electronic equipment according with a second preset rule by the first electronic equipment based on the judgment result.
In the above scheme, the first preset rule includes all the second preset rules;
and generating the first preset rule according to at least one of the empirical value, the historical data record reported to the server, the load and the processing time.
In the foregoing solution, the determining unit is further configured to determine whether the first electronic device exists as a main control electronic device with respect to the second electronic device, so as to control the second electronic device through the first electronic device;
correspondingly, the first electronic device further comprises:
and the collecting unit is used for collecting the operation parameters of the preset attributes sent by the second electronic equipment for processing after the second electronic equipment sends the operation parameters of the preset attributes to the first electronic equipment in response to the second request.
In the foregoing solution, the sending unit is further configured to send, by the first electronic device, a second request for requesting to obtain an operation parameter of a predetermined attribute of the second electronic device that meets a second preset rule based on the determination result, where the second request includes any one of the following manners:
the first method is as follows: the first electronic equipment sends a request to a fixed number of second electronic equipment according with a second preset rule so as to obtain the operation parameters of the preset attributes of the second electronic equipment;
the second method comprises the following steps: the first electronic equipment conducts pre-estimation according to the second preset rule, and any number of second electronic equipment is selected to send out a request according to the pre-estimation result so as to obtain the operation parameters of the second electronic equipment with preset attributes;
the third method comprises the following steps: the first electronic equipment detects own system resources, and when the own system resources are lower than a first threshold value and are in an idle state, a request is sent to second electronic equipment which accords with a second preset rule so as to obtain operation parameters of preset attributes of the second electronic equipment;
the method is as follows: the first electronic equipment sends a request to second electronic equipment which accords with a second preset rule for multiple times according to a preset frequency or a preset period so as to obtain an operation parameter of a preset attribute of the second electronic equipment;
the fifth mode is as follows: and the first electronic equipment analyzes the collected operation parameters of the preset attributes sent by the second electronic equipment, and the analysis result is used for updating the second preset rule, so that the first electronic equipment has the autonomous learning capability.
The data processing method of the embodiment of the invention is applied to first electronic equipment, and comprises the following steps: receiving a first request for acquiring the operation parameters of the preset attributes of the first electronic equipment; analyzing the first request to obtain the preset attribute; detecting an actual operating parameter of the first electronic device corresponding to the predetermined attribute; issuing the actual operating parameter in response to the first request.
By adopting the embodiment of the invention, the first request of the server for requesting to obtain the operation parameters of the preset attributes of the first electronic equipment is received, the first request is analyzed to obtain the preset attributes, the first electronic equipment matches the preset attributes, the actual operation parameters of the first electronic equipment corresponding to the preset attributes are detected, the actual operation parameters are sent to the server in response to the first request, all processing is executed by the first electronic equipment and comprises the steps of matching the preset attributes and acquiring data of the actual operation parameters, and then the acquisition result is sent to the server, so that the server does not need to screen out specific products with product ID attributes meeting specific requirements from a large number of products according to the specific requirements, the server is liberated, and the load and workload of the server are prevented from being additionally increased by the work of acquiring and processing data samples by the server, the load and workload of the server are reduced.
Drawings
FIG. 1 is a schematic flow chart of a first implementation of the method according to the first embodiment of the present invention;
FIG. 2 is a schematic flow chart of a second implementation of the method of the present invention;
FIG. 3 is a schematic flow chart of a third implementation of the method of the present invention;
FIG. 4 is a schematic flow chart of a fourth implementation of the method of the present invention;
FIG. 5 is a schematic flow chart of a fifth implementation of the method of the present invention;
FIG. 6 is a schematic flow chart of a sixth implementation of the method of the present invention;
FIG. 7 is a schematic flow chart of a seventh implementation of the method according to the embodiment of the present invention;
FIG. 8 is a schematic diagram of a first exemplary embodiment of an electronic device;
FIG. 9 is a scenario diagram of an application scenario one;
fig. 10-11 are scenario diagrams of application scenario two.
Detailed Description
The following describes the embodiments in further detail with reference to the accompanying drawings.
The first embodiment of the method comprises the following steps:
a data processing method according to an embodiment of the present invention is applied to a first electronic device, and as shown in fig. 1, the method includes:
102, analyzing the first request to obtain the preset attribute;
103, detecting actual operation parameters of the first electronic equipment, which correspond to the preset attributes;
and 104, responding to the first request, and sending the actual operation parameters.
By adopting the embodiment of the invention, a first request of a server for requesting to obtain the operation parameters of the preset attributes of the first electronic equipment is received through step 101, the first request is analyzed through step 102, the preset attributes are obtained, the first electronic equipment matches the preset attributes, the actual operation parameters of the first electronic equipment corresponding to the preset attributes are detected through step 103, the actual operation parameters are sent to the server through step 104 in response to the first request, all processing is executed by the first electronic equipment and comprises the steps of matching the preset attributes and collecting data of the actual operation parameters, then the collection result is sent to the server, the server does not need to screen out specific products with product ID attributes meeting specific requirements from a large number of products according to the specific requirements, and the server is liberated, the load and the workload of the server are avoided being additionally increased by the data sample collection and processing of the server, and the load and the workload of the server are reduced.
The second method embodiment:
a data processing method according to an embodiment of the present invention is applied to a first electronic device, and as shown in fig. 2, the method includes:
and 204, based on the judgment result, the first electronic device sends a second request for acquiring the operation parameters of the preset attributes of the second electronic device, which accord with a second preset rule.
By adopting the embodiment of the invention, the first electronic equipment receives the first request sent by the server for requesting to acquire the operation parameter of the preset attribute of the first electronic equipment, analyzes the first request, and after the first preset rule is obtained, the first electronic equipment sends out the second request for requesting to acquire the operation parameter of the preset attribute of the second electronic equipment according with the second preset rule based on the judgment result, so as to collect the operation parameter of the preset attribute of the second electronic equipment according with the second preset rule for processing, optionally, and finally, the operation parameter is uniformly fed back to the processing result of the server, thereby liberating the server, avoiding the phenomenon that the load and the workload of the server are additionally increased when the server acquires and processes the data sample, and reducing the load and the workload of the server.
In an implementation manner of the embodiment of the present invention, the first preset rule includes all the second preset rules;
and generating the first preset rule according to at least one of the empirical value, the historical data record reported to the server, the load and the processing time.
In an implementation manner of the embodiment of the present invention, the determining whether the first electronic device meets the first preset rule includes:
judging whether the first electronic equipment exists as a main control electronic equipment relative to the second electronic equipment so as to control the second electronic equipment through the first electronic equipment;
correspondingly, the method further comprises the following steps:
responding to the second request, and sending the operation parameters of the preset attributes to the first electronic equipment by the second electronic equipment;
and the first electronic equipment collects the operation parameters of the preset attributes sent by the second electronic equipment for processing.
The third method embodiment:
a data processing method according to an embodiment of the present invention is applied to a first electronic device, and as shown in fig. 3, the method includes:
For example, if the second preset rule includes a request to a fixed number (may be 10) of second electronic devices, the first electronic device sends a request to 10 second electronic devices meeting the second preset rule to obtain the operating parameters of the predetermined attributes of the second electronic devices.
The method comprises the following steps:
a data processing method according to an embodiment of the present invention is applied to a first electronic device, and as shown in fig. 4, the method includes:
and 404, based on the judgment result, the first electronic device performs pre-estimation according to the second preset rule, and autonomously selects any number of second electronic devices to send out requests according to the pre-estimation result so as to obtain the operation parameters of the preset attributes of the second electronic devices.
For example, the second preset rule includes which second electronic devices can be requested, but a specific number is not specified, and the first electronic device may make a prediction to autonomously select which second electronic devices that meet the second preset rule to request, for example, select the operating parameters that can request 20 second electronic devices to obtain the predetermined attribute of the second electronic device.
Method example five:
a data processing method according to an embodiment of the present invention is applied to a first electronic device, and as shown in fig. 5, the method includes:
For example, the second preset rule includes which second electronic devices can be requested, a fixed number, such as 10, may be specified, or a specific number may not be specified, and the first electronic device may make a prediction to autonomously select which second electronic devices that meet the second preset rule to request, for example, select which second electronic devices can request to send to 20 second electronic devices. However, the second preset rule further includes that the operation is required to be executed when the first electronic device is idle, because the operation executed by the first electronic device is more than one, the operation with the higher priority is processed according to the priority, the first electronic device detects the system resource of the first electronic device, and when the system resource of the first electronic device is lower than the first threshold, a request is sent to the second electronic device conforming to the second preset rule when the system resource of the first electronic device is in an idle state, so as to obtain the operating parameter of the predetermined attribute of the second electronic device.
Method example six:
a data processing method according to an embodiment of the present invention is applied to a first electronic device, and as shown in fig. 6, the method includes:
601, receiving a first request for acquiring the operation parameters of the preset attributes of the first electronic equipment;
For example, the second preset rule includes which second electronic devices can be requested, a fixed number, such as 10, may be specified, or a specific number may not be specified, and the first electronic device may make a prediction to autonomously select which second electronic devices that meet the second preset rule to request, for example, select which second electronic devices can request to send to 20 second electronic devices. However, the second predetermined rule further includes that the request is not issued once, and the request needs to be issued multiple times, because the state of the second electronic device and the user operation acting on the second electronic device are changed, and therefore, the second predetermined rule includes issuing a request to the second electronic device conforming to the second predetermined rule multiple times according to a predetermined frequency or period to obtain the operation parameter of the predetermined attribute of the second electronic device.
Method embodiment seven:
a data processing method according to an embodiment of the present invention is applied to a first electronic device, and as shown in fig. 7, the method includes:
For example, the second preset rule includes which second electronic devices can be requested, a fixed number, such as 10, may be specified, or a specific number may not be specified, and the first electronic device may make a prediction to autonomously select which second electronic devices that meet the second preset rule to request, for example, select which second electronic devices can request to send to 20 second electronic devices. However, the second preset rule also includes an autonomous learning capability according to the first electronic device, namely: analyzing according to the collected operation parameters of the predetermined attributes sent by the second electronic device, using an analysis result to update the second preset rule so that the first electronic device has an autonomous learning capability, therefore, the second preset rule includes that the first electronic device analyzes according to the collected operation parameters of the predetermined attributes sent by the second electronic device, using the analysis result to update the second preset rule, and then sending a request to the second electronic device according with the updated second preset rule according to the updated second preset rule so as to obtain the operation parameters of the predetermined attributes of the second electronic device.
The first embodiment of the electronic device:
as shown in fig. 8, a first electronic device according to an embodiment of the present invention includes:
the receiving unit 11 is configured to receive a first request for acquiring an operation parameter of a predetermined attribute of the first electronic device;
a first analyzing unit 12, configured to analyze the first request to obtain the predetermined attribute;
a detection unit 13 for detecting an actual operating parameter of the first electronic device corresponding to the predetermined attribute;
a response unit 14, configured to issue the actual operating parameter in response to the first request.
In an embodiment of the present invention, the first electronic device further includes:
the second analysis unit is used for analyzing the first request to obtain a first preset rule;
the judging unit is used for judging whether the first electronic equipment meets the first preset rule or not;
and the sending unit is used for sending a second request for requesting to acquire the operation parameters of the preset attributes of the second electronic equipment according with a second preset rule by the first electronic equipment based on the judgment result.
In an implementation manner of the embodiment of the present invention, the first preset rule includes all the second preset rules;
and generating the first preset rule according to at least one of the empirical value, the historical data record reported to the server, the load and the processing time.
In an embodiment of the present invention, the determining unit is further configured to determine whether the first electronic device exists as a main control electronic device with respect to the second electronic device, so as to control the second electronic device through the first electronic device;
correspondingly, the first electronic device further comprises:
and the collecting unit is used for collecting the operation parameters of the preset attributes sent by the second electronic equipment for processing after the second electronic equipment sends the operation parameters of the preset attributes to the first electronic equipment in response to the second request.
In an embodiment of the present invention, the sending unit is further configured to, based on the determination result, send a second request to the first electronic device to request to obtain an operation parameter of a predetermined attribute of the second electronic device, where the second request meets a second preset rule, where the second request includes any one of:
the first method is as follows: the first electronic equipment sends a request to a fixed number of second electronic equipment according with a second preset rule so as to obtain the operation parameters of the preset attributes of the second electronic equipment;
the second method comprises the following steps: the first electronic equipment conducts pre-estimation according to the second preset rule, and any number of second electronic equipment is selected to send out a request according to the pre-estimation result so as to obtain the operation parameters of the second electronic equipment with preset attributes;
the third method comprises the following steps: the first electronic equipment detects own system resources, and when the own system resources are lower than a first threshold value and are in an idle state, a request is sent to second electronic equipment which accords with a second preset rule so as to obtain operation parameters of preset attributes of the second electronic equipment;
the method is as follows: the first electronic equipment sends a request to second electronic equipment which accords with a second preset rule for multiple times according to a preset frequency or a preset period so as to obtain an operation parameter of a preset attribute of the second electronic equipment;
the fifth mode is as follows: and the first electronic equipment analyzes the collected operation parameters of the preset attributes sent by the second electronic equipment, and the analysis result is used for updating the second preset rule, so that the first electronic equipment has the autonomous learning capability.
Here, it should be noted that: the above description of the electronic device items is similar to the above description of the method, and the description of the beneficial effects of the method is omitted for brevity. For technical details not disclosed in the embodiments of the electronic device of the present invention, please refer to the description of the embodiments of the method of the present invention
The embodiment of the invention is explained by taking a practical application scene as an example as follows:
the application scene one:
the application scene applies the embodiment of the invention, in particular to a matching scheme of samples in big data acquisition. For this application scenario, in big data acquisition, users are often faced with the selection and implementation of species samples. In the big data project, 2000 ten thousand computers are associated for shipment, and according to the marketing requirement, a specific sample is often selected for data acquisition. For example, a machine with the size of 500G of a hard disk, wherein the machine is selected from the Beijing area, Y40-80 series, and the CPU is I3. The current solution is to screen out the IDs of these machines at the service side and then collect the data through the ID switch, resulting in a very heavy load on the service side.
Aiming at the application scenario and aiming at solving the problem of heavy load of the server in data acquisition, the embodiment of the invention is adopted, and a requirement language is set by establishing a matching mechanism. The server broadcasts the requirements of the sample machines to all the clients, and all the clients are matched by themselves. If the match is found, the data acquisition is automatically started. The server may further declare the static or dynamic nature of the client-side machine. The requirements of the machine may also state under what conditions it is willing to run a data collection task and what type of data collection is preferentially run. These policy attributes can be expressed by related terms and parameters, as an example shown in FIG. 9, and examples of the requirement language are as follows:
(requirement) Requirements ═ (Arch ═ I3 ") & (opsis ═ WIN 8") & (distsize ═ 500) & (Location ═ China) | (Location ═ Japan)
Machines with Win8 and hard disks larger than 500G in the Chinese district or the Japanese district, I3, are needed.
If the selected machine is greater than the required number of samples, we add rank to rank, and only take the rank high.
Rank (Mips)
(computer with fast calculation speed is selected).
Application scenario two:
the application scenario applies the embodiment of the invention, in particular to a scheme of a distributed data transmission mode in sample matching in big data acquisition. For the application scenario, in the big data acquisition, a Client/Server (Server), referred to as a C/S structure for short, generally speaking, a large number of clients talk with a single (or a small number of) servers, for example, data transmission to the servers. In a peak period, a plurality of clients transmit to the server at the same time, which has a high requirement on the uplink bandwidth of the server, as shown in fig. 10, the bandwidth is obviously increased, and the server needs to be added to perform data interaction shunting, otherwise, not only is the server loaded in data acquisition, but also the problem of very short bandwidth is caused by data interaction between a plurality of clients and the server.
For the application scenario, in order to solve the problem of server load and bandwidth shortage in data acquisition, according to the embodiment of the present invention, before a client uploads data to a server, a client in a neighboring geographical location performs P2P data integration, and then one client (a master client among multiple clients) represents the uploaded integrated data, as shown in fig. 11, a schematic diagram including a master client, a slave client, and a server shows that: the main client sends the preprocessed information to the server. The benefits of this are: in a general C/S structure, data formats have much redundancy, and after a plurality of clients are combined, the data uploading amount can be greatly reduced, and the bandwidth requirement of a server is reduced. For example, in associating big data items, the following is a record of usage of a machine, including CPU, MEM, usage time, and so on. The bold highlights have a common field for each machine and after merging, the amount of data will be reduced by approximately 30%.
07:31:52:952″,″j″:″″,″k″:″0″,″p″:{″:″3335#3335#3295#3307#330 5#3315#3315#3317#3305#3301#3299#3297″,″mem_total″:″8073#8073#8073#8073#8073#8073# 8073#8073#8073#8073#8073#8073″,″″:″58#58#59#59#59#58#58#58#59#59#5 9#59″}},{″h″:″2014-11-13
08:32:01:262″,″j″:″cpu_usage_ration″,″k″:″0″,″p″:{″″:″29#18#22#23#21#22#32 #24#27#24#35#23″}},{″h″:″2014-11-13
08:32:01:262″,″j″:″″,″k″:″0″,″p″:{″:″3301#3298#3263#3271#326 9#3282#3282#3277#3273#3273#3268#3263″,″″:″8073#8073#8073#8073#8073#8073# 8073#8073#8073#8073#8073#8073″,″:″59#59#59#59#59#59#59#59#59#59# 59#59″}}
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, that is, 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.
In addition, all the functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: a mobile storage device, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Alternatively, the integrated unit of the present invention may be stored in a computer-readable storage medium if it is implemented in the form of a software functional module and sold or used as a separate product. Based on such understanding, the technical solutions of the embodiments of the present invention may be essentially implemented or a part contributing to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: a removable storage device, a ROM, a RAM, a magnetic or optical disk, or various other media that can store program code.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.
Claims (6)
1. A data processing method is applied to first electronic equipment, and the method comprises the following steps:
receiving a first request for acquiring the operation parameters of the preset attributes of the first electronic equipment;
analyzing the first request to obtain the preset attribute;
detecting an actual operating parameter of the first electronic device corresponding to the predetermined attribute;
issuing the actual operating parameters in response to the first request;
analyzing the first request to obtain a first preset rule;
judging whether the first electronic equipment exists as a main control electronic equipment relative to a second electronic equipment so as to control the second electronic equipment through the first electronic equipment;
based on the judgment result, the first electronic equipment sends a second request for requesting to acquire the operation parameters of the preset attributes of the second electronic equipment, which accord with a second preset rule, so that the second electronic equipment responds to the second request and sends the operation parameters of the preset attributes to the first electronic equipment;
and the first electronic equipment collects the operation parameters of the preset attributes sent by the second electronic equipment for processing.
2. The method of claim 1, the first preset rule comprising all of the second preset rules;
and generating the first preset rule according to at least one of the empirical value, the historical data record reported to the server, the load and the processing time.
3. The method according to claim 1, wherein the sending, by the first electronic device, a second request for obtaining the operation parameter of the predetermined attribute of the second electronic device according to the second preset rule based on the determination result includes any one of the following manners:
the first method is as follows: the first electronic equipment sends a request to a fixed number of second electronic equipment according with a second preset rule so as to obtain the operation parameters of the preset attributes of the second electronic equipment;
the second method comprises the following steps: the first electronic equipment conducts pre-estimation according to the second preset rule, and any number of second electronic equipment is selected to send out a request according to the pre-estimation result so as to obtain the operation parameters of the second electronic equipment with preset attributes;
the third method comprises the following steps: the first electronic equipment sends a request to second electronic equipment which accords with a second preset rule for multiple times according to a preset frequency or a preset period so as to obtain an operation parameter of a preset attribute of the second electronic equipment;
the method is as follows: and the first electronic equipment analyzes the collected operation parameters of the preset attributes sent by the second electronic equipment, and the analysis result is used for updating the second preset rule, so that the first electronic equipment has the autonomous learning capability.
4. A first electronic device, the first electronic device comprising:
the receiving unit is used for receiving a first request for acquiring the operation parameters of the preset attributes of the first electronic equipment;
the first analysis unit is used for analyzing the first request to obtain the preset attribute;
a detection unit for detecting an actual operating parameter of the first electronic device corresponding to the predetermined attribute;
a response unit, configured to issue the actual operating parameter in response to the first request;
the second analysis unit is used for analyzing the first request to obtain a first preset rule;
the judging unit is used for judging whether the first electronic equipment exists as a main control electronic equipment relative to a second electronic equipment so as to control the second electronic equipment through the first electronic equipment;
the sending unit is used for sending a second request for requesting to acquire the operation parameters of the preset attributes of the second electronic equipment according with a second preset rule based on the judgment result so that the second electronic equipment responds to the second request and sends the operation parameters of the preset attributes to the first electronic equipment;
and the collecting unit is used for collecting the operation parameters of the preset attributes sent by the second electronic equipment for processing.
5. The first electronic device of claim 4, the first preset rule comprising all of the second preset rules;
and generating the first preset rule according to at least one of the empirical value, the historical data record reported to the server, the load and the processing time.
6. The first electronic device according to claim 4, wherein the sending unit is further configured to, based on the determination result, issue a second request for requesting to obtain an operation parameter of a predetermined attribute of a second electronic device that meets a second preset rule, where the second request includes any one of:
the first method is as follows: the first electronic equipment sends a request to a fixed number of second electronic equipment according with a second preset rule so as to obtain the operation parameters of the preset attributes of the second electronic equipment;
the second method comprises the following steps: the first electronic equipment conducts pre-estimation according to the second preset rule, and any number of second electronic equipment is selected to send out a request according to the pre-estimation result so as to obtain the operation parameters of the second electronic equipment with preset attributes;
the third method comprises the following steps: the first electronic equipment sends a request to second electronic equipment which accords with a second preset rule for multiple times according to a preset frequency or a preset period so as to obtain an operation parameter of a preset attribute of the second electronic equipment;
the method is as follows: and the first electronic equipment analyzes the collected operation parameters of the preset attributes sent by the second electronic equipment, and the analysis result is used for updating the second preset rule, so that the first electronic equipment has the autonomous learning capability.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510317589.2A CN106293929B (en) | 2015-06-11 | 2015-06-11 | Data processing method and first electronic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510317589.2A CN106293929B (en) | 2015-06-11 | 2015-06-11 | Data processing method and first electronic device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106293929A CN106293929A (en) | 2017-01-04 |
CN106293929B true CN106293929B (en) | 2020-10-27 |
Family
ID=57660302
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510317589.2A Active CN106293929B (en) | 2015-06-11 | 2015-06-11 | Data processing method and first electronic device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106293929B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110267351B (en) | 2018-03-12 | 2022-07-22 | 华为云计算技术有限公司 | Communication method and device |
CN110867104B (en) * | 2018-08-27 | 2021-11-26 | 北京砍石高科技有限公司 | Network teaching interaction system and method |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1953456A (en) * | 2006-10-31 | 2007-04-25 | 中山大学 | A transmission method for mixed data of network game and its transmission system |
CN103491175A (en) * | 2013-09-25 | 2014-01-01 | 北京网秦天下科技有限公司 | Method and terminal for application program management |
Family Cites Families (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5301280A (en) * | 1989-10-02 | 1994-04-05 | Data General Corporation | Capability based communication protocol |
CN1747418A (en) * | 2004-09-07 | 2006-03-15 | 乐金电子(天津)电器有限公司 | Server of household network management system |
CN100407656C (en) * | 2005-12-09 | 2008-07-30 | 华为技术有限公司 | Method and system for managing terminal equipment |
ATE412306T1 (en) * | 2006-05-11 | 2008-11-15 | Alcatel Lucent | PROCESSING A DNS SERVICE REQUEST |
US8230515B1 (en) * | 2006-10-16 | 2012-07-24 | The Mathworks, Inc. | Parameter based operation |
JP4671061B2 (en) * | 2008-07-29 | 2011-04-13 | 岩崎通信機株式会社 | Content display device and content display method |
US20110060816A1 (en) * | 2009-04-17 | 2011-03-10 | Prem Jothipragasam Kumar | Parameter management in a personal distributed network |
KR101581674B1 (en) * | 2009-05-15 | 2015-12-31 | 삼성전자주식회사 | Method for storing conversation according to user request in cpm service system and the system thereof |
ES2369822B1 (en) * | 2010-05-11 | 2012-10-15 | Scio Soft, S.L. | VIRTUAL VIDEOTRADUCTOR. |
CN102222005B (en) * | 2011-07-12 | 2013-10-30 | 铜陵玉成软件科技有限责任公司 | Service model-oriented software running platform, running mode and development method |
JP5833880B2 (en) * | 2011-10-07 | 2015-12-16 | キヤノンイメージングシステムズ株式会社 | Information processing apparatus, device control apparatus, device control system, and control method thereof |
CN103379381B (en) * | 2012-04-17 | 2016-12-14 | 中兴通讯股份有限公司 | Video broadcasting method based on WAP gateway, WAP gateway and system |
CN103685372B (en) * | 2012-09-10 | 2017-06-27 | 联想(北京)有限公司 | The method and information distributing apparatus of management equipment |
CN103095687B (en) * | 2012-12-19 | 2015-08-26 | 华为技术有限公司 | metadata processing method and device |
CN103309308B (en) * | 2013-05-17 | 2016-08-10 | 华为技术有限公司 | A kind of device intelligence control method and device, system, PnP device |
CN104219269A (en) * | 2013-06-04 | 2014-12-17 | 上海联影医疗科技有限公司 | Synchronous remote consultation method and synchronous remote consultation system |
KR101771071B1 (en) * | 2013-08-22 | 2017-08-24 | 후아웨이 테크놀러지 컴퍼니 리미티드 | Communication method, client, and terminal |
CN104461603B (en) * | 2013-09-25 | 2019-07-26 | 联想(北京)有限公司 | A kind of information processing method and electronic equipment |
CN104486093B (en) * | 2014-11-19 | 2018-02-23 | 广州华多网络科技有限公司 | A kind of network interdynamic method and relevant device, system |
-
2015
- 2015-06-11 CN CN201510317589.2A patent/CN106293929B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1953456A (en) * | 2006-10-31 | 2007-04-25 | 中山大学 | A transmission method for mixed data of network game and its transmission system |
CN103491175A (en) * | 2013-09-25 | 2014-01-01 | 北京网秦天下科技有限公司 | Method and terminal for application program management |
Also Published As
Publication number | Publication date |
---|---|
CN106293929A (en) | 2017-01-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3335120B1 (en) | Method and system for resource scheduling | |
US9807008B2 (en) | Tournament scheduling | |
CN109726004B (en) | Data processing method and device | |
US20160080267A1 (en) | Monitoring device, server, monitoring system, monitoring method and program recording medium | |
US20220272392A1 (en) | Burst traffic processing method, computer device and readable storage medium | |
CN114024972A (en) | Long connection communication method, system, device, equipment and storage medium | |
US20200004785A1 (en) | Automatic grouping based on user behavior | |
CN107995013B (en) | Customer service distribution method and device | |
US10067862B2 (en) | Tracking asynchronous entry points for an application | |
CN108306965B (en) | Data processing method and device for camera, storage medium and camera | |
CN106293929B (en) | Data processing method and first electronic device | |
CN108259568B (en) | Task allocation method and device, computer readable storage medium and electronic equipment | |
CN113117326A (en) | Frame rate control method and device | |
US11726893B2 (en) | System for automatically evaluating a change in a large population of processing jobs | |
CN105681266B (en) | A kind of communication cluster method and device of mediaphone MMTel | |
US10033737B2 (en) | System and method for cross-cloud identity matching | |
CN107870921B (en) | Log data processing method and device | |
CN111666509A (en) | Cross-network geographic data-based cloud query method and system | |
CN110909072B (en) | Data table establishment method, device and equipment | |
EP3014483A1 (en) | Augmented reality | |
CN113055126B (en) | Flight data decoding method and device and terminal equipment | |
US8751564B2 (en) | Reducing latency for served applications by anticipatory preprocessing | |
CN111901174B (en) | Service state notification method, related device and storage medium | |
EP2868069B1 (en) | Processing requests | |
CN113904940A (en) | Resource adjusting method and device, electronic equipment and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |