CN116185731A - Terminal test system and method based on blockchain network and electronic equipment - Google Patents

Terminal test system and method based on blockchain network and electronic equipment Download PDF

Info

Publication number
CN116185731A
CN116185731A CN202211717793.XA CN202211717793A CN116185731A CN 116185731 A CN116185731 A CN 116185731A CN 202211717793 A CN202211717793 A CN 202211717793A CN 116185731 A CN116185731 A CN 116185731A
Authority
CN
China
Prior art keywords
test
protocol conversion
model
terminal
server
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
CN202211717793.XA
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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202211717793.XA priority Critical patent/CN116185731A/en
Publication of CN116185731A publication Critical patent/CN116185731A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2294Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing by remote test
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/26Functional testing
    • G06F11/263Generation of test inputs, e.g. test vectors, patterns or sequences ; with adaptation of the tested hardware for testability with external testers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods
    • G06N3/084Backpropagation, e.g. using gradient descent
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0207Discounts or incentives, e.g. coupons or rebates
    • G06Q30/0226Incentive systems for frequent usage, e.g. frequent flyer miles programs or point systems
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Business, Economics & Management (AREA)
  • Evolutionary Computation (AREA)
  • Software Systems (AREA)
  • Biomedical Technology (AREA)
  • Biophysics (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Molecular Biology (AREA)
  • Computing Systems (AREA)
  • Mathematical Physics (AREA)
  • Artificial Intelligence (AREA)
  • Health & Medical Sciences (AREA)
  • Accounting & Taxation (AREA)
  • Development Economics (AREA)
  • Strategic Management (AREA)
  • Finance (AREA)
  • Game Theory and Decision Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • General Business, Economics & Management (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention belongs to the technical field of computers, and particularly relates to a terminal test system, a terminal test method and electronic equipment based on a block chain network, which are used for solving the problems that the use of test instrument equipment in the current stage is short, the generalization of the test instrument is not facilitated, the large-scale business is not facilitated, and the like. The method comprises the following steps: the core server issues federal learning tasks; the test instrument equipment acquires initial parameters of the model, and updates the initial parameters of the model according to the stored historical test data to obtain updated parameters of the model; the core server updates the protocol conversion model stored in the protocol conversion server. The protocol conversion server executes protocol conversion processing on the test instruction sent by the test instrument equipment and sends the test instruction after the protocol conversion processing to the test terminal equipment. The method utilizes the auction mode to stimulate instrument equipment to participate in federal learning and carry out reasonable user selection, can be more flexibly adapted to dynamic market environment, and meets the real-time requirements of users.

Description

Terminal test system and method based on blockchain network and electronic equipment
Technical Field
The invention belongs to the technical field of computers, and particularly relates to a terminal test system, a terminal test method and electronic equipment based on a block chain network.
Background
With the rapid development of data communication technology, various data communication devices are layered endlessly, and accordingly, test technologies and various test instruments for testing data communication devices are rapidly developed and applied. For small and medium enterprises needing to use the test instruments for equipment testing, purchasing the corresponding test instruments is costly and not cost-effective. While some test laboratories have idle meter devices, these devices are typically off-line and cannot be shared for use by other users on the network who need the meter for testing. The problems described above cause a shortage of test meter equipment, which is disadvantageous for the generalization and large-scale commercial use of test meters.
Disclosure of Invention
The invention provides a terminal test system, a terminal test method and electronic equipment based on a block chain network, which are used for solving the problem of how to generalize and massively commercialize a test instrument so as to reduce the use shortage of the test instrument equipment.
In a first aspect, the present disclosure provides a blockchain network-based terminal testing system, the terminal testing system comprising: the system comprises a core server, a protocol conversion server, a plurality of test instrument devices and a plurality of test terminal devices, wherein the core server, the protocol conversion server, the plurality of test instrument devices and the plurality of test terminal devices are positioned in a blockchain network;
The core server is used for issuing a federation learning task according to the model initial parameters of the protocol conversion model stored in the protocol conversion server;
the test instrument equipment is used for acquiring model initial parameters of the protocol conversion model stored in the protocol conversion server according to the federal learning task, and updating the model initial parameters according to historical test data stored in the test instrument equipment to obtain model updating parameters;
the core server is also used for updating the protocol conversion model stored in the protocol conversion server according to model updating parameters obtained by a plurality of test instrument devices;
the protocol conversion server is used for executing protocol conversion processing on the test instruction sent by the test instrument equipment through the updated protocol conversion model, and sending the test instruction after the protocol conversion processing to the test terminal equipment so as to realize the test process of the test instrument equipment on the test terminal equipment.
In a second aspect, the present disclosure provides a terminal testing method based on a blockchain network, the method being applied to a terminal testing system, and the terminal testing system comprising: the system comprises a core server, a protocol conversion server, a plurality of test instrument devices and a plurality of test terminal devices, wherein the core server, the protocol conversion server, the plurality of test instrument devices and the plurality of test terminal devices are positioned in a blockchain network; wherein the method comprises the following steps:
Issuing a federal learning task through a core server according to model initial parameters of a protocol conversion model stored in a protocol conversion server, so that test instrument equipment obtains the model initial parameters of the protocol conversion model stored in the protocol conversion server according to the federal learning task, and updating the model initial parameters according to historical test data stored in the test instrument equipment to obtain model updating parameters;
the core server updates the protocol conversion model stored in the protocol conversion 5 server according to the model update parameters obtained by the plurality of test instrument devices so that the protocol conversion server can convert the updated protocol
And the model is changed to execute protocol conversion processing on the test instruction sent by the test instrument equipment, and the test instruction after the protocol conversion processing is sent to the test terminal equipment.
In a third aspect, the present disclosure provides an electronic device, including:
at least one processor; and a memory communicatively coupled to the at least one processor;
wherein the memory stores one or more computer programs executable by the at least one processor
One or more of the computer programs are then executed by the at least one processor to enable the at least one processor to perform a blockchain network-based terminal testing method as described above.
In a fourth aspect, the present disclosure provides a computer-readable storage medium, having a computer program stored thereon,
the computer program when executed by a processor implements a blockchain network-based terminal testing method as described above. According to the terminal test system, the terminal test method and the electronic equipment based on the blockchain network, which are provided by the invention, the terminal test system, the terminal test method and the electronic equipment can
The problems of insufficient training resources, lack of data quantity, privacy disclosure of user data and the like existing in the traditional machine learning are effectively avoided. Meanwhile, the invention provides a mode of utilizing auction to stimulate instrument equipment to participate in federal learning and reasonably select users, thereby realizing maximization of benefits of participators. Such auction mechanism and meter device
Compared with the scheme of directly pricing the data to participate in federal learning, the method can be more flexibly adapted to the dynamic market 0 environment and meet the real-time requirements of users.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the disclosure, nor is it intended to be used to limit the scope of the disclosure. Other features of the present disclosure will become apparent from the following specification.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to designate like parts throughout the figures. In the drawings:
FIG. 1 shows a block chain network-based architecture of a terminal test system according to an embodiment of the present invention
A schematic diagram;
fig. 2 shows a flowchart of a terminal testing method based on a blockchain network according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of an electronic device according to a third embodiment of the present invention.
Detailed Description
For a better understanding of the technical solutions of the present disclosure, exemplary embodiments of the present disclosure will be described below with reference to the accompanying drawings, in which various details of the embodiments of the present disclosure are included to facilitate understanding, and they should be considered as merely exemplary. Accordingly, one of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
Embodiments of the disclosure and features of embodiments may be combined with each other without conflict.
As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. As used herein, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. The terms "connected" or "connected," and the like, are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect.
Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the relevant art and the present disclosure, and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
Example 1
Fig. 1 is a schematic diagram of a terminal test system based on a blockchain network according to an embodiment of the present invention. Referring to fig. 1, the system includes: a core server 11, a test meter device 12, a protocol conversion server 13, and a test terminal device 14. The core server 11 is configured to issue a federal learning task according to a model initial parameter of a protocol conversion model stored in the protocol conversion server 13. The test meter device 12 is configured to obtain, according to the federal learning task, a model initial parameter of a protocol conversion model stored in the protocol conversion server, and update the model initial parameter according to historical test data stored in the test meter device, to obtain a model update parameter. The core server 11 is further configured to update the protocol conversion model stored in the protocol conversion server according to model update parameters obtained by the plurality of test meter devices. And the protocol conversion server 13 is used for executing protocol conversion processing on the test instruction sent by the test instrument equipment through the updated protocol conversion model, and sending the test instruction after the protocol conversion processing to the test terminal equipment so as to realize the test process of the test instrument equipment on the test terminal equipment. And the test terminal device 14 is used for receiving the test instruction sent by the protocol conversion server 13 and testing.
The core server is an important component of the whole terminal test system, and is usually a server for issuing federal learning tasks and updating a protocol conversion model. When receiving a test task message issued by a user who needs to use the meter device, the core server issues a federal learning task in the whole blockchain. The core server distributes the federation learning task according to the model initial parameters of the protocol conversion model stored in the protocol conversion server, firstly acquires the stored protocol conversion model from the protocol conversion server, then creates the federation learning task according to the model initial parameters of the protocol conversion model, and distributes the federation learning task in the blockchain so as to supply test instrument equipment accessed to the same blockchain network to acquire the task. Correspondingly, a protocol conversion server connected with the core server stores model initial parameters of the protocol conversion model. The model initial parameters are a group of parameters which can be read and analyzed by the test instrument, the test instrument can quantitatively display the test efficiency, the test performance, the test accuracy and corresponding data of the test instrument by running the model initial parameters, so as to distinguish the test capability parameters of different test instrument devices, and the more outstanding the test capability parameters are, the more suitable the test instrument device is for the federal study. In addition, because the protocols used by different test instrument devices are different, in order to enable the test terminal devices such as mobile phones to identify various protocols, protocol conversion processing is required to be performed on the test instructions sent by the test instrument devices by means of a protocol conversion model in a protocol conversion server, so that the processed test instructions can be identified by the test terminal devices. The test instructions sent by the test instrument equipment are divided into a plurality of types, the test instructions can be used for carrying out multidimensional tests on the test terminal equipment, the multidimensional tests comprise radio frequency capability tests, processor performance tests, anti-interference tests and the like, and the dimension capabilities of the test terminal equipment can be reflected through the tests.
The test instrument equipment which is in the same blockchain network with the core server firstly receives the federal learning task issued by the core server, then obtains the stored model initial parameters of the protocol conversion model from the protocol conversion server according to the data in the federal learning task, and then updates the model initial parameters according to the historical test data stored in the test instrument equipment to obtain model update parameters. The test instrument equipment is the instrument equipment which is in an idle state and is connected with the network, the instrument equipment only signs into the core server to receive the federal learning task when being connected with the network and in the idle state, and the federal learning task can not be performed if the instrument equipment is in a load state at the moment because the federal learning task can occupy the computing resource of the instrument equipment. After the test instrument device acquires the stored model initial parameters of the protocol conversion model from the protocol conversion server, the model initial parameters are updated by using the historical test data stored by the test instrument device. The historical test data are related data such as instruction content of an original test instruction and a corresponding test result sent by the test instrument equipment when the test is performed before, and are used for training the protocol conversion model as training samples. Correspondingly, after receiving the model updating parameters sent by the test instrument equipment, the core server updates the protocol conversion model stored in the protocol conversion server, so that the conversion result of the protocol conversion model is more and more accurate in continuous updating, and each test instrument equipment can be accurately screened.
After the protocol conversion model in the protocol conversion server is updated, the protocol conversion server uses the updated protocol conversion model to execute protocol conversion processing on the test instruction sent by the test instrument equipment, and sends the test instruction after the protocol conversion processing to the test terminal equipment so as to realize the test process of the test instrument equipment on the test terminal equipment. The test instruction can be used for testing the 4G network performance or the 5G network performance of the mobile phone and testing other radio frequency performance or processor performance of the mobile phone. The method specifically comprises the following steps: a signal start test instruction, a signal stop test instruction, a test state reset instruction, and the like.
By means of the federal learning task issued by the core server, the test instrument equipment can receive the federal learning task and update the model initial parameters by using the history test data stored by the test instrument equipment, so that the accuracy of the model initial parameters is improved. In addition, the core server, the protocol conversion server and the test instrument equipment support the whole federal learning process in a mutual data exchange and cooperation mode, so that the test terminal equipment to be tested can use the test instrument equipment in the blockchain to test, waste of idle test instrument equipment is reduced, and resource utilization efficiency is improved.
Optionally, in order to make the testing manner more flexible, this embodiment further includes multiple implementations.
In an alternative implementation, to facilitate screening out the test meter devices, the core server is further configured to receive learning resource data amounts fed back by the plurality of test meter devices according to the federal learning task. Accordingly, the core server is specifically configured to: and receiving learning resource data quantity fed back by the plurality of test instrument devices according to the federal learning task, screening target instrument devices from the plurality of test instrument devices according to the learning resource data quantity, sending a learning task starting instruction to the target instrument devices so that the target instrument devices execute and acquire model initial parameters of a protocol conversion model stored in a protocol conversion server under the condition of receiving the learning task starting instruction, and updating the model initial parameters according to historical test data stored in the test instrument devices to obtain model updating parameters. The test instrument device feeds back the learning resource data amount to the core server, which is an active behavior of the test instrument device, and the test instrument device actively decides the resource amount which can be paid by participating in model training in the mode. The core server screens out proper target instrument equipment according to the learning resource data quantity fed back by the test instrument equipment and sends a learning task starting instruction to the target instrument equipment. In addition, in yet another alternative implementation, the learning resource data amount fed back by the plurality of test meter devices according to the federal learning task includes at least one of: the total amount of system resources in the meter device that can be used to perform the federal learning task, the local computing accuracy of the meter device, and the meter device identification. That is, the learning resource data amount is a bid value, which includes information such as the data amount that can be provided, the local calculation accuracy, and the corresponding energy cost, device ID, address, etc., and these information are uploaded to the entire blockchain after encryption processing, and are acquired by the core server. The core server screens out target instrument equipment through the learning resource data quantity sent by all the test instrument equipment, then sends a task starting instruction to the test instrument equipment, and starts the federal learning task.
For example, after the idle test meter device receives the federal learning task sent by the core server in the blockchain, the owner of the meter device can actively determine the resources of the test meter device willing to pay for the federal learning task, then the owner of the meter device submits a bidding parameter to the core server according to wish, the bidding parameter includes information such as basic information and identity of the test meter device, the information is encrypted and then uploaded to the blockchain, and the core server can acquire the information and read the resources willing to pay for the federal learning by the owner of the meter device. That is, the core server acts as an auction "auction vendor" which issues an "auction item" of the federal learning task to all auction players, and the owners of the test devices act as "buyers" willing to bid, who make "bids" by feeding back bidding parameters to the core server, which determines whether to share the federal learning task to the test meter device, and if the bidding parameters of the test meter device pass, the core server sends a learning task start instruction equivalent to "success" to the test meter device. It should be noted that the federal learning task may be commonly performed by a plurality of test meter devices, and that one federal learning task is not only "sold (i.e., distributed)" to a single "buyer".
By means of the method, the core server can screen out proper target instrument equipment and send the learning task starting instruction to the target instrument equipment by means of receiving learning resource data quantity fed back by the plurality of test instrument equipment for the federal learning task, and the federal learning task is started. The mode enables the selection between the test instrument equipment and the core server to be diversified, and the stability of the whole system and the freedom degree of the federal learning process are improved.
In yet another alternative implementation, to facilitate calculation of federal learning rewards, the core server is further configured to calculate a first rewards amount that matches the amount of learning resource data fed back by the test meter device. Accordingly, the core server is specifically configured to: under the condition that model updating parameters returned by the test instrument equipment are received, calculating a first rewarding amount matched with learning resource data quantity fed back by the test instrument equipment; and sending first rewards information corresponding to the first rewards amount to the test meter apparatus returning the model update parameters. The first rewarding amount is distributed by the core server according to learning resource data fed back by the test instrument equipment, and is determined according to system resource amount of the test instrument equipment which can be used for executing federal learning tasks and local calculation accuracy of the instrument equipment. The test instrument equipment updates the initial parameters of the model according to the historical test data stored by the test instrument equipment to obtain model update parameters, and then the core server updates the protocol conversion model stored in the protocol conversion server according to the collected model update parameters. During this time, the core server calls out the learning resource data amount sent by the test meter device, and calculates the first prize amount that the test meter device should acquire according to the learning resource data amount. The first rewarding amount can be specific real currency amount information or virtual encryption currency information, and is used as a core server to use test instrument equipment to conduct federal learning. And then, the core server performs identity verification according to the address, equipment and other information in the learning resource data quantity fed back by the test instrument equipment, and sends first rewarding information corresponding to the first rewarding amount to the corresponding test instrument equipment. Wherein the first prize information includes a first prize amount representing the monetary amount information, and further includes other data including validation and verification of the meter device information, payment means for the first prize amount, and the like.
It can be seen that this approach is mainly used for the core server to feed back rewards information to the test meter device. In an alternative implementation, the blockchain broadcasting may be used to broadcast the prize amount information to all of the test meter devices in the blockchain that does not contain sensitive information of the test meter devices to increase the aggressiveness of the test meter devices to participate in federal learning tasks. Through the mode, the overall enthusiasm and stability of federal learning can be improved, and a positive feedback effect is generated.
For example, in one specific example, after the core server receives the model update parameter sent by the test meter device, it confirms that the test meter device has completed the corresponding calculation, and then determines the rewards share and identity information that should be obtained by the test meter device according to the system resource amount parameter, the meter device local calculation accuracy parameter, and the device information sent by the corresponding test meter device and that can be used to perform the federal learning task, and feeds back the rewards information to the test meter device by broadcasting through a blockchain.
By means of the method, the enthusiasm of the test instrument equipment to participate in the federal learning task can be mobilized by means of the first rewarding information matched with the learning resource data amount, and the quality and efficiency of subsequent federal learning can be effectively improved.
In yet another alternative implementation manner, in order to screen out a suitable test instrument device, the core server is specifically configured to issue a test task for testing the test terminal device, and receive a test resource data amount fed back by each test instrument device for the test task; and screening the test instrument equipment from the plurality of test instrument equipment according to the test resource data quantity, and sending a test task starting instruction to the test instrument equipment so that the test instrument equipment can send the test instruction to the protocol conversion server under the condition of receiving the test task starting instruction. The core server firstly issues a test task for testing the test terminal equipment. The test terminal equipment is the terminal equipment to be tested, and the test instrument equipment receiving the test task can test the terminal equipment in the aspects of radio frequency performance, chip performance, anti-interference performance and the like. And then, receiving the test resource data quantity fed back by each test instrument device for the test task. The test resource data amount is the system resource amount of the test instrument equipment for executing corresponding test, and can be the calculation power of the system resource, the occupation condition of the system equipment and the like. The core server screens out proper test instrument equipment according to the test resource data quantity fed back by the test instrument equipment and sends a test task starting instruction to the test instrument equipment. After receiving the test task starting instruction, the screened test instrument equipment sends a test instruction to the protocol conversion server, and the protocol conversion server converts the test instruction and sends the test instruction to the test terminal equipment.
In an alternative implementation, the test task and the federal learning task may be performed sequentially, e.g., the federal learning task is issued first to update the protocol conversion model. And after updating the protocol conversion model, a test task is further distributed so as to test according to the updated protocol conversion model. Alternatively, the two processes may be alternately executed, and the test task may be issued first, and if the execution result of the test task is not ideal or the instrument protocol is updated, the federal learning task is further issued to update the model. The federation learning task for updating the protocol conversion model is a service for the test task, so that the protocol conversion model used when the test task is executed is more accurate.
For example, in one specific example, the core server first issues a federal learning task, and the test meter device is motivated by the first prize amount to update the model initial parameters using the historical test data stored by itself, where the updated model initial parameters have higher accuracy and precision. Then, after the model initial parameters with higher precision and accuracy are obtained to update the protocol conversion model, the core server issues a test task and uses the updated protocol conversion model for testing. After the test task is issued, the core server receives the test resource data quantity fed back by the test instrument equipment, and selects a certain test instrument equipment with proper data quantity to send a test task starting instruction. And the selected test instrument equipment sends a test instruction to the protocol conversion server according to the test task starting instruction so as to initiate a test on the test terminal equipment.
By the mode, the core server can conveniently and rapidly select the matched test instrument equipment to test the test terminal equipment by means of issuing the test task by the core server and according to the test resource data quantity fed back by the test instrument equipment, so that the test efficiency and stability are improved.
In yet another alternative implementation, to activate the test meter devices, the core server is further configured to calculate, for each test meter device, a second prize amount that matches the amount of test resource data fed back by that test meter device; and sending second prize information corresponding to the second prize amount to the test meter device. The second prize amount is distributed by the core server according to the test resource data amount fed back by the test instrument equipment, and is determined according to the system resource amount which can be used for executing the test by the test instrument equipment. The test instrument device feeds back the test resource data amount for the task for testing the test terminal device issued by the core server, representing the calculation power which can be provided for the test and the number of instrument resources. The core server calculates a second prize amount to be obtained by the test meter device based on the amount of the collected test resource data. The second prize amount may be specific real currency amount information or virtual encrypted currency information, and is used as a use reward for testing by using the test instrument device by the core server. Then, the core server performs identity verification according to the address, the equipment and other information fed back by the test instrument equipment, and sends second rewarding information corresponding to the second rewarding amount to the corresponding test instrument equipment. Wherein the second prize information includes a second prize amount representing the monetary amount information, and further includes other data including validation and verification of the meter device information, payment means for the second prize amount, and the like.
Therefore, the method is mainly used for the core server to feed back the rewarding information of the test instrument to the test instrument. In an alternative implementation, the blockchain broadcasting may be used to broadcast the prize amount information to all of the test meter devices in the blockchain that does not contain sensitive information of the test meter devices to increase the aggressiveness of the test meter devices to participate in federal learning tasks. Through the mode, the overall enthusiasm and stability of federal learning can be improved, and a positive feedback effect is generated.
For example, in one specific example, after the core server receives the model update parameter sent by the test meter device, it confirms that the test meter device has completed the corresponding calculation, and then determines the rewards share and identity information that should be obtained by the test meter device according to the system resource amount parameter, the meter device local calculation accuracy parameter, and the device information sent by the corresponding test meter device and that can be used to perform the federal learning task, and feeds back the rewards information to the test meter device by broadcasting through a blockchain.
By means of the method, the enthusiasm of the test instrument equipment to participate in the federal learning task can be mobilized by means of the first rewarding information matched with the learning resource data amount, and the quality and efficiency of subsequent federal learning can be effectively improved.
Summarizing, according to the invention, the auction mode is utilized to stimulate the instrument equipment to participate in federal learning and to perform reasonable user selection, thereby realizing maximization of the interests of the participants. In the invention, a core server for issuing the federal learning task is regarded as an auction vendor, each instrument device participating in the device test is regarded as a bidder, and each round of federal learning task is regarded as an auction to collect bidding data (including relevant information such as bidding price, local data volume, local training accurate value and the like) from all instrument devices in a communication range as an incentive mechanism. Compared with a scheme that meter equipment directly pricing data to participate in federal learning, the auction mechanism can be more flexibly adapted to dynamic market environment and meet real-time requirements of users. In addition, the method enables the instrument equipment to be connected into the blockchain network, so that sharing of the instrument equipment is facilitated, and the utilization rate of the instrument equipment is improved.
Example two
Fig. 2 shows a flowchart of a terminal testing method based on a blockchain network according to a second embodiment of the present invention, and referring to fig. 2, the method includes:
step S200: the core server issues federal learning tasks.
Optionally, step S200 specifically includes:
the core server firstly issues a federal learning task according to model initial parameters of a protocol conversion model stored in the protocol conversion server, so that the test instrument equipment can learn the task according to the federal.
Step S210: the test instrument equipment acquires initial parameters of the model, and updates the initial parameters of the model according to the stored historical test data to obtain updated parameters of the model.
Optionally, step S210 specifically includes:
the test instrument equipment acquires the model initial parameters of the protocol conversion model stored in the protocol conversion server, and updates the model initial parameters according to the stored historical test data to obtain model update parameters.
Step S220: the core server updates the protocol conversion model stored in the protocol conversion server.
Optionally, the core server further needs to acquire and collect model update parameters obtained by a plurality of meter test devices before updating the protocol conversion model stored in the protocol conversion server.
Step S230: the protocol conversion server executes protocol conversion processing on the test instruction sent by the test instrument equipment and sends the test instruction after the protocol conversion processing to the test terminal equipment.
Because the protocols used by different test instrument devices are different, in order to enable the test terminal devices such as mobile phones to identify various protocols, protocol conversion processing is required to be performed on the test instructions sent by the test instrument devices by means of a protocol conversion model in a protocol conversion server, so that the processed test instructions can be identified by the test terminal devices.
The specific implementation of each step may refer to a description of a corresponding portion of the system embodiment, which is not repeated herein.
It can be seen that, in this embodiment, the core server is configured to issue a federal learning task according to a model initial parameter of a protocol conversion model stored in the protocol conversion server, and the test meter is configured to obtain, according to the federal learning task, the model initial parameter of the protocol conversion model stored in the protocol conversion server, and update the model initial parameter according to historical test data stored in the test meter device, so as to obtain a model update parameter. The core server is further used for updating the protocol conversion model stored in the protocol conversion server according to model updating parameters obtained by the plurality of test instrument devices. The protocol conversion server is used for executing protocol conversion processing on the test instruction sent by the test instrument equipment through the updated protocol conversion model, and sending the test instruction after the protocol conversion processing to the test terminal equipment so as to realize the test process of the test instrument equipment on the test terminal equipment.
Example III
Fig. 3 is a schematic structural diagram of an electronic device according to a third embodiment of the present invention, and the specific embodiment of the present invention is not limited to the specific implementation of the electronic device. Referring to fig. 3, the electronic device includes:
at least one processor 301; a memory 302 communicatively coupled to the at least one processor; a communication interface 303; and a communication bus 304.
Wherein:
the processor 301, memory 302, and communication interface 303 perform communication with each other via a communication bus 304.
A communication interface 303 for communicating with network elements of other devices, such as clients or other servers.
The memory 302 stores one or more computer programs 305 executable by the at least one processor 301, the one or more computer programs 305 being executable by the at least one processor 301 to enable the at least one processor 301 to perform the respective operations corresponding to the communication intercom method embodiments as described above.
Example IV
A fourth embodiment of the present application provides a non-volatile computer storage medium, where at least one executable instruction is stored, where the computer executable instruction may perform the method for loading an object in a virtual scene in any of the foregoing method embodiments. The executable instructions may be particularly useful for causing a processor to perform the operations corresponding to the method embodiments described above.
Those of ordinary skill in the art will appreciate that all or some of the steps, systems, functional modules/units in the apparatus, and methods disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. In a hardware implementation, the division between the functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed cooperatively by several physical components. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer-readable storage media, which may include computer storage media (or non-transitory media) and communication media (or transitory media).
The term computer storage media includes both volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable program instructions, data structures, program modules or other data, as known to those skilled in the art. Computer storage media includes, but is not limited to, random Access Memory (RAM), read Only Memory (ROM), erasable Programmable Read Only Memory (EPROM), static Random Access Memory (SRAM), flash memory or other memory technology, portable compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical disc storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by a computer. Furthermore, as is well known to those of ordinary skill in the art, communication media typically embodies computer readable program instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and may include any information delivery media.
The computer readable program instructions described herein may be downloaded from a computer readable storage medium to a respective computing/processing device or to an external computer or external storage device over a network, such as the internet, a local area network, a wide area network, and/or a wireless network. The network may include copper transmission cables, fiber optic transmissions, wireless transmissions, routers, firewalls, switches, gateway computers and/or edge servers. The network interface card or network interface in each computing/processing device receives computer readable program instructions from the network and forwards the computer readable program instructions for storage in a computer readable storage medium in the respective computing/processing device.
Computer program instructions for performing the operations of the present disclosure can be assembly instructions, instruction Set Architecture (ISA) instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, c++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The computer readable program instructions may be executed entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider). In some embodiments, aspects of the present disclosure are implemented by personalizing electronic circuitry, such as programmable logic circuitry, field Programmable Gate Arrays (FPGAs), or Programmable Logic Arrays (PLAs), with state information of computer readable program instructions, which can execute the computer readable program instructions.
The computer program product described herein may be embodied in hardware, software, or a combination thereof. In an alternative embodiment, the computer program product is embodied as a computer storage medium, and in another alternative embodiment, the computer program product is embodied as a software product, such as a software development kit (Software Development Kit, SDK), or the like.
Various aspects of the present disclosure are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the disclosure. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer-readable program instructions.
These computer readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer readable program instructions may also be stored in a computer readable storage medium that can direct a computer, programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer readable medium having the instructions stored therein includes an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer, other programmable apparatus or other devices implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Example embodiments have been disclosed herein, and although specific terms are employed, they are used and should be interpreted in a generic and descriptive sense only and not for purpose of limitation. In some instances, it will be apparent to one skilled in the art that features, characteristics, and/or elements described in connection with a particular embodiment may be used alone or in combination with other embodiments unless explicitly stated otherwise. It will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the scope of the disclosure as set forth in the appended claims.

Claims (10)

1. A terminal test system based on a blockchain network, the terminal test system comprising: the system comprises a core server, a protocol conversion server, a plurality of test instrument devices and a plurality of test terminal devices, wherein the core server, the protocol conversion server, the plurality of test instrument devices and the plurality of test terminal devices are positioned in a blockchain network;
the core server is used for issuing a federation learning task according to the model initial parameters of the protocol conversion model stored in the protocol conversion server;
the test instrument equipment is used for acquiring model initial parameters of the protocol conversion model stored in the protocol conversion server according to the federal learning task, and updating the model initial parameters according to historical test data stored in the test instrument equipment to obtain model updating parameters;
The core server is also used for updating the protocol conversion model stored in the protocol conversion server according to model updating parameters obtained by a plurality of test instrument devices;
the protocol conversion server is used for executing protocol conversion processing on the test instruction sent by the test instrument equipment through the updated protocol conversion model, and sending the test instruction after the protocol conversion processing to the test terminal equipment so as to realize the test process of the test instrument equipment on the test terminal equipment.
2. The terminal test system of claim 1, wherein the core server is further configured to:
and receiving learning resource data quantity fed back by the plurality of test instrument devices according to the federal learning task, screening target instrument devices from the plurality of test instrument devices according to the learning resource data quantity, sending a learning task starting instruction to the target instrument devices so that the target instrument devices execute the operation of acquiring the model initial parameters of the protocol conversion model stored in the protocol conversion server under the condition of receiving the learning task starting instruction, and updating the model initial parameters according to historical test data stored in the test instrument devices to obtain model updating parameters.
3. The terminal test system of claim 2, wherein the learning resource data amount fed back by the plurality of test meter devices according to the federal learning task comprises at least one of:
the total amount of system resources in the meter device that can be used to perform the federal learning task, the local computing accuracy of the meter device, and the meter device identification.
4. The terminal test system of claim 1, wherein the core server is further configured to:
under the condition that model updating parameters returned by the test instrument equipment are received, calculating a first rewarding amount matched with learning resource data quantity fed back by the test instrument equipment;
and sending first rewards information corresponding to the first rewards amount to the test meter apparatus returning the model update parameters.
5. The terminal test system according to claim 1, wherein the test meter device is specifically configured to:
obtaining model initial parameters of a protocol conversion model stored in the protocol conversion server according to the federation learning task;
and according to the historical test data stored in the test instrument equipment and the model initial parameters, executing a local training process with preset iteration times through a random gradient descent algorithm, and updating the model initial parameters through the local training process to obtain model updating parameters.
6. The terminal test system of claim 1, wherein the core server is further configured to:
issuing a test task for testing the test terminal equipment, and receiving the test resource data quantity fed back by each test instrument equipment aiming at the test task;
and screening test instrument equipment from a plurality of test instrument equipment according to the test resource data quantity, and sending a test task starting instruction to the test instrument equipment so that the test instrument equipment can send the test instruction to the protocol conversion server under the condition that the test task starting instruction is received.
7. The terminal test system of claim 6, wherein the core server is further configured to:
calculating, for each test meter device, a second prize amount that matches the amount of test resource data fed back by the test meter device;
and sending second prize information corresponding to the second prize amount to the test meter device.
8. A terminal testing method based on a blockchain network, wherein the method is applied to a terminal testing system, and the terminal testing system comprises: the system comprises a core server, a protocol conversion server, a plurality of test instrument devices and a plurality of test terminal devices, wherein the core server, the protocol conversion server, the plurality of test instrument devices and the plurality of test terminal devices are positioned in a blockchain network; wherein the method comprises the following steps:
Issuing a federal learning task through a core server according to model initial parameters of a protocol conversion model stored in a protocol conversion server, so that test instrument equipment obtains the model initial parameters of the protocol conversion model stored in the protocol conversion server according to the federal learning task, and updating the model initial parameters according to historical test data stored in the test instrument equipment to obtain model updating parameters;
and the core server updates the protocol conversion model stored in the protocol conversion server according to model updating parameters obtained by the plurality of test instrument devices so that the protocol conversion server executes protocol conversion processing on the test instruction sent by the test instrument devices through the updated protocol conversion model and sends the test instruction after the protocol conversion processing to the test terminal device.
9. An electronic device, comprising:
at least one processor; and a memory communicatively coupled to the at least one processor;
wherein the memory stores one or more computer programs executable by the at least one processor, one or more of the computer programs being executable by the at least one processor to enable the at least one processor to perform the method of claim 8.
10. A computer readable storage medium, on which a computer program is stored which, when being executed by a processor, implements the method according to claim 8.
CN202211717793.XA 2022-12-29 2022-12-29 Terminal test system and method based on blockchain network and electronic equipment Pending CN116185731A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211717793.XA CN116185731A (en) 2022-12-29 2022-12-29 Terminal test system and method based on blockchain network and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211717793.XA CN116185731A (en) 2022-12-29 2022-12-29 Terminal test system and method based on blockchain network and electronic equipment

Publications (1)

Publication Number Publication Date
CN116185731A true CN116185731A (en) 2023-05-30

Family

ID=86439551

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211717793.XA Pending CN116185731A (en) 2022-12-29 2022-12-29 Terminal test system and method based on blockchain network and electronic equipment

Country Status (1)

Country Link
CN (1) CN116185731A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117032832A (en) * 2023-08-25 2023-11-10 重庆邮电大学 Minimum task calling cost unloading method based on mobile edge calculation

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117032832A (en) * 2023-08-25 2023-11-10 重庆邮电大学 Minimum task calling cost unloading method based on mobile edge calculation
CN117032832B (en) * 2023-08-25 2024-03-08 重庆邮电大学 Minimum task calling cost unloading method based on mobile edge calculation

Similar Documents

Publication Publication Date Title
JP5394915B2 (en) Distributed architecture for online advertising
RU2530693C2 (en) Brokering system for location-based tasks
US20180068350A1 (en) Automated method for allocation of advertising expenditures to maximize performance through look-alike customer acquisition
CN105190671A (en) Compact data interface for real time bidding in digital video advertisement systems
CN105610877A (en) Data interaction method, data interaction platform server and data interaction system
CN111222922B (en) Advertisement putting method and device, advertisement putting server and storage medium
CN113365092B (en) Resource processing method and device
CN116185731A (en) Terminal test system and method based on blockchain network and electronic equipment
US20080189199A1 (en) On-line trading of prospective customer leads
CN109087124A (en) A kind of application program Value Prediction Methods and device
US20200193464A1 (en) Blockchain-based platform for monetizing social media following
CN110322612A (en) Business data processing method, calculates equipment and storage medium at device
US20120109771A1 (en) Application Name Marketplace
CN108876339B (en) E-pet transaction method and device based on certificate
US8050978B2 (en) Method and system for an electronic marketplace for information products
CN109714381B (en) Consumption tracking based information pushing method, equipment, storage medium and device
Wu et al. PIE: A personalized incentive for location-aware mobile crowd sensing
CN110796445A (en) Payment method, device and system for house source online sales and mobile terminal
CN110751534A (en) Method and device for on-line sale of house resources and computer equipment
CN110874331A (en) Storage address allocation method and device and electronic equipment
US20120185342A1 (en) Systems and methods for utilizing customer-provided information within social media applications
US20210182952A1 (en) Electronic platform for auction
CN110378609B (en) Service processing method, service processing device, electronic device and medium
KR102569395B1 (en) Data broker device of competitive data trading system and operating method thereof
JP2020515936A (en) System and method for sequencing or combining multiple related but different transaction requests into a single transaction

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination