CN112688831A - Joint debugging test method and device, electronic equipment and computer readable storage medium - Google Patents

Joint debugging test method and device, electronic equipment and computer readable storage medium Download PDF

Info

Publication number
CN112688831A
CN112688831A CN202011539800.2A CN202011539800A CN112688831A CN 112688831 A CN112688831 A CN 112688831A CN 202011539800 A CN202011539800 A CN 202011539800A CN 112688831 A CN112688831 A CN 112688831A
Authority
CN
China
Prior art keywords
time
client
joint debugging
debugging test
test
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011539800.2A
Other languages
Chinese (zh)
Other versions
CN112688831B (en
Inventor
廖文鑫
李军
万鸿飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Douyin Vision Co Ltd
Douyin Vision Beijing Co Ltd
Original Assignee
Beijing ByteDance Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN202011539800.2A priority Critical patent/CN112688831B/en
Publication of CN112688831A publication Critical patent/CN112688831A/en
Application granted granted Critical
Publication of CN112688831B publication Critical patent/CN112688831B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The disclosure provides a joint debugging test method and device, electronic equipment and a computer readable storage medium, and relates to the technical field of computers. The method comprises the following steps: receiving a time configuration request of a client, wherein the time configuration request comprises a client identifier; acquiring the time to be configured corresponding to the client based on the client identifier; the time to be configured is used for adjusting a test time node of joint debugging test of the client; and synchronizing the time to be configured to the client so that the client adjusts the time to be configured and starts to perform joint debugging test from the time to be configured. The method and the device realize that the time to be configured of the server is synchronized to the client so as to adjust the testing progress of the joint debugging test.

Description

Joint debugging test method and device, electronic equipment and computer readable storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a joint debugging test method and apparatus, an electronic device, and a computer-readable storage medium.
Background
With the development of the internet technology, the functions of the client are more and more, the functions need to be completed by the cooperation of a plurality of modules, the joint debugging test among the modules needs to be carried out, and because each module has different time nodes when carrying out the joint debugging test, the time can be adjusted to adjust the progress of the joint debugging test to a certain time node to continue the test.
Currently, one time adjustment scheme is: the time of the client is modified locally at the client, and then the modified time of the client is synchronized to the server, so as to ensure that the time of the client is synchronized with the time of the server, but the data of the client is easily tampered, so that the security of the existing time adjustment scheme is very poor.
Disclosure of Invention
This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the detailed description. This summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
A first aspect of the present disclosure provides a joint debugging test method, including:
receiving a time configuration request of a client, wherein the time configuration request comprises a client identifier;
acquiring the time to be configured corresponding to the client based on the client identifier; the time to be configured is used for adjusting a test time node of the joint debugging test of the client;
and synchronizing the time to be configured to the client so that the client adjusts the time to be configured and starts to perform joint debugging test from the time to be configured.
A second aspect of the present disclosure provides a joint debugging testing method, including:
sending a time configuration request to a server, wherein the time configuration request comprises a client identifier;
receiving the time to be configured sent by the server; the time to be configured is obtained by the server based on the client identification; the time to be configured is used for adjusting a test time node of the joint debugging test of the client;
and adjusting the time to be configured, and starting to perform joint debugging test from the time to be configured.
A third aspect of the present disclosure provides a joint debugging test apparatus, including:
the first receiving module is used for receiving a time configuration request of a client, wherein the time configuration request comprises a client identifier;
the first obtaining module is used for obtaining the time to be configured corresponding to the client based on the client identifier; the time to be configured is used for adjusting a test time node of the joint debugging test of the client;
and the first synchronization module is used for synchronizing the time to be configured to the client so as to enable the client to adjust the time to be configured and carry out joint debugging test from the time to be configured.
A fourth aspect of the present disclosure provides a joint debugging test apparatus, including:
the system comprises a sending module, a receiving module and a sending module, wherein the sending module is used for sending a time configuration request to a server, and the time configuration request comprises a client identifier;
the second receiving module is used for receiving the time to be configured sent by the server; the time to be configured is obtained by the server based on the client identification; the time to be configured is used for adjusting a test time node of the joint debugging test of the client;
and the adjusting module is used for adjusting the time to be configured and starting to perform joint debugging test from the time to be configured.
In a fifth aspect of the present disclosure, an electronic device is provided, which includes:
the electronic device comprises a memory and a processor;
the memory has a computer program stored therein;
a processor for performing the method of the first or second aspect when executing the computer program.
A sixth aspect of the present disclosure provides a computer readable medium having stored thereon a computer program which, when executed by a processor, performs the method of the first or second aspect.
The technical scheme provided by the disclosure has the following beneficial effects:
in this embodiment, after receiving a time configuration request from a client, because the time configuration request includes a client identifier, the corresponding time to be configured may be obtained based on the client identifier, and thus after synchronizing the time to be configured to the client, the client may adjust the time to be configured, so that a joint debugging test may be performed from the time to be configured, and adjustment of a testing progress of the joint debugging test is achieved.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and features are not necessarily drawn to scale.
FIG. 1 is a schematic diagram of one embodiment of a joint debugging test method of the present disclosure;
FIG. 2 is a schematic view of a scenario of the joint debugging test method of the present disclosure;
FIG. 3 is a schematic diagram of another scenario of the joint debugging test method of the present disclosure;
FIG. 4 is a schematic diagram of another embodiment of the joint debugging test method of the present disclosure;
FIG. 5 is a schematic diagram of another embodiment of the joint debugging test method of the present disclosure;
FIG. 6 is a schematic structural diagram of a joint debugging test apparatus according to the present disclosure;
FIG. 7 is a schematic structural diagram of a joint debugging test apparatus according to the present disclosure;
fig. 8 is a schematic structural diagram of an electronic device according to the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order, and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the devices, modules or units to be determined as different devices, modules or units, and are not used for limiting the sequence or interdependence relationship of the functions executed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
In the following, several technical terms related to the present disclosure will be explained first.
The time of the client refers to the time of the client side, and the client can be a mobile phone, a computer, a tablet computer and the like.
Joint debugging test is also called assembly test or joint test, and means that each module realizes service interaction with other modules through an interface platform so as to realize cooperative test among the modules and accurately complete various service scenes. The joint debugging test generally involves a plurality of developers, possibly crosses departments, even is docked with developers outside a company, because the joint debugging test involves cooperation of a plurality of persons, different developers may concern different time nodes in the test process, for example, a certain developer only concerns the test of a module developed by the developer in the joint debugging test process, but the developer needs to wait for the test of other modules tested before the module to be completed before testing the module to test the module, obviously, the efficiency of the joint debugging test is very low, so that the efficiency of the joint debugging test is improved, and the problem to be solved is always needed.
Currently, the time of the client can be modified locally at the client, and then the time of the client is synchronized to the server, so that the progress of the joint debugging test can be adjusted to a certain time node to continue the test, but the method has the following defects:
1. the client side is easy to impersonate or maliciously modify data, and the security is very poor;
2. the time of the client after the client sends the edition cannot be modified, once the time of the client is wrong, the time difference exists between the time of the client and the time of the server, and joint debugging test cannot be normally carried out;
3. synchronizing the time of the client to the server is equivalent to performing pressure measurement on the server, so that the development cost is very high;
4. when the number of the clients is too large, the time of the corresponding client needs to be set on the clients respectively, and the implementation is very difficult.
To solve the above technical problem, referring to fig. 1, the present disclosure provides a joint debugging test method, where the method may be executed by a server, and the server may be an entity server or a virtual server, and the method may include:
step S101, receiving a time configuration request of a client, wherein the time configuration request comprises a client identifier;
the server can receive the time configuration request sent by the client, when the number of the clients is one, the server receives the time configuration request of the client, and when the number of the clients is two or more, the server respectively receives the time configuration request sent by each client.
The time configuration request comprises client identification, and the client identification can uniquely identify one client.
Step S102, acquiring time to be configured corresponding to a client based on a client identifier; the time to be configured is used for adjusting a test time node of joint debugging test of the client;
the time to be configured of the client corresponds to the client identifier one to one, and based on the client identifier, the server can acquire the pre-stored time to be configured corresponding to the client identifier.
In this embodiment, the time to be configured is the time adjusted according to the test progress of the joint debugging test, and may be a certain time node in the joint debugging test process, specifically, a test start time node of any module in each module of the joint debugging test, more specifically, a test start time node of a module developed by the developer, and certainly, a test start time node of a module developed by other developers.
Step S103, synchronizing the time to be configured to the client so that the client adjusts the time to be configured and starts to perform joint debugging test from the time to be configured.
The server can synchronize the time to be configured to the corresponding client so that the client can adjust the time to be configured, and therefore synchronization of the time of the server and the time of the client is achieved.
For example, the total test duration of the joint debugging test is x, after the joint debugging test is started, the client time is adjusted to the time to be configured, and the progress of the joint debugging test can be adjusted to the y-th time in the duration of x, so that the joint debugging test can be continuously performed downwards from the y-th time, and x and y are positive integers.
In this embodiment, after receiving a time configuration request from a client, because the time configuration request includes a client identifier, the corresponding time to be configured may be obtained based on the client identifier, and thus after synchronizing the time to be configured to the client, the client may adjust the time to be configured, so that a joint debugging test may be performed from the time to be configured, and adjustment of a testing progress of the joint debugging test is achieved.
Meanwhile, compared with the existing scheme, the time disclosed by the invention is controllable in convergence, and the client side is subject to the time issued by the server, so that the server can intervene in the time of the client side at any time, the joint debugging test is ensured to be normally carried out, meanwhile, the server is prevented from being subjected to pressure test, and the development cost of the server is reduced.
Meanwhile, the time to be configured can be distinguished based on the client identifier, the time to be configured of each client can be prevented from interfering with each other, the time to be configured of each client cannot be confused, the time to be configured of each client is guaranteed to be isolated, and the time to be configured of a plurality of clients can be managed well.
Optionally, in step S102, obtaining the time to be configured corresponding to the client based on the client identifier may include:
acquiring a time configuration file;
and inquiring the time to be configured corresponding to the client in the time configuration file based on the client identification.
In this embodiment, the server may obtain a time configuration file from a storage space of the server, where the time configuration file includes times to be configured of multiple clients, and the times to be configured of the clients may be the same or different, and are not limited herein.
The server may obtain, based on the client identifier, a time to be configured corresponding to the client identifier by querying in the time configuration file, that is, the time to be configured corresponding to the client indicated by the client identifier is obtained.
In the present embodiment, (one) possible case is:
obtaining the time profile includes: receiving and storing a time configuration file sent by a management client, specifically:
the server can receive the time to be configured and the client identification sent by the management client through the acquisition tool, form a time configuration file based on the time to be configured and store the time configuration file in a storage space of the server, and simultaneously store the client identification.
In this embodiment, the collection tool is a tool for collecting data reported to the server by the management client, the collection tool collects the time to be configured sent by the management client, so that the time can be better managed, and then the collection tool sends the collected time to be configured to the server for storage. The collection tool may be a function module in the server, or a module independent of the server and the management client, specifically, the collection tool may be an operation platform, which is embodied as a web page on the management client, and the user may log in the operation platform to input the client identifier and the time to be configured to report data. The acquisition tool can report the acquired time to be configured to the server in real time, and the acquisition tool can also report the acquired data to the server after the number of the time to be configured reaches a preset number or a preset reporting period reaches.
In this embodiment, the management client may configure the to-be-configured times of the multiple clients, and report the identifiers of the multiple clients and the to-be-configured times respectively to the server through the collection tool, and the management client may configure the to-be-configured times of the multiple clients as the same time or configure the to-be-configured times of the multiple clients as different times, which is not limited herein.
For the situation that any management client can configure the time to be configured of multiple clients to be the same time, the management client is generally used as a representative in a management client group, and if each management client in the management client group wants to configure the same time to be configured, one representative can be selected for configuration.
For example, if 100 management clients all want to configure the time to be configured to a specific time, the 100 management clients may select one representative to configure, and thus each management client is not required to configure.
Therefore, the time to be configured sent by one management client and the time of the plurality of clients can be adjusted based on the time to be configured and the plurality of client identifications, so that the plurality of management clients are not required to configure the time to be configured on own equipment, the time adjustment difficulty when the data volume of the management clients is too large is reduced, and the method and the device are suitable for more scenes.
(two) another possible case is: the obtaining of the time configuration file may be that the server configures the time to be configured of each client, forms the time configuration file, and establishes a corresponding relationship between the time to be configured and the client identifier.
In the embodiment of the present disclosure, the management client is a different client from the client described above, and an application scenario of the scheme of the present disclosure is described below:
as in fig. 2, one possible scenario of the present disclosure is: one or more management clients send the identifications of the clients 1 to n and the corresponding time to be configured to an acquisition tool, wherein any management client can send the identifications of the clients and the corresponding time to be configured to the acquisition tool, namely, one management client can manage a large amount of time to be configured of the clients, the acquisition tool sends the identifications of the clients 1 to n and the corresponding time to be configured to a server so that the server can store time configuration, namely, the identifications of the clients 1 to n and the corresponding time to be configured are stored, after a subsequent server receives a time configuration request of any client in the n clients, the subsequent server inquires the time to be configured from a time configuration file based on the client identification in the time configuration request and synchronizes the time to be configured to the any client so as to adjust the test progress of the any client, n is a positive integer.
Referring to fig. 3, another possible scenario of an embodiment of the present disclosure is: if a plurality of management clients all want to configure the time to be configured into one time, the management clients can be selected from the plurality of management clients to represent and send the time to be configured and the identifiers of the clients 1 to n to a server through an acquisition tool, the server stores the time to be configured, after the server receives a time configuration request of any client in the n clients, the time to be configured is obtained through inquiry based on the client identifier in the time configuration request, the time to be configured is synchronized to the client, the test progress of the client is adjusted, and n and k are positive integers.
Optionally, in this embodiment of the present disclosure, not all management clients have time to configure the rights, specifically: the server receives the time to be configured and the client identifier sent by the management client, and also receives the identifier of the management client sent by the management client, so that whether the management client has the time configuration authority is determined based on the identifier of the management client, and if the management client has the time configuration authority, the time to be configured and the client identifier sent by the management client are stored for subsequent time configuration.
Therefore, the management client with the time configuration authority is only allowed to perform time configuration, the safety of time configuration is guaranteed, and compared with the existing scheme, the safety of joint debugging testing is improved.
Optionally, after the client configures time as the time to be configured, the time to be configured stored in the server flows naturally, and the time to be configured also increases continuously, because the change of the client to time is unknown, if the client needs to use the latest time to be configured and needs to be issued by the server, then:
after the step S103 synchronizes the time to be configured to the client, the method further includes:
acquiring the current reference time of a client, and determining the newly added time of the reference time;
determining the time to be configured after the time change based on the newly added time and the time to be configured;
and synchronizing the time to be configured after the time change to the client.
In this embodiment, the reference time is used as a reference for the time to be configured, and the increase of the time to be configured may be correspondingly determined by the increase of the reference time, where the reference time may be the current real time of the client, or may be a time arbitrarily set by the server, as long as the reference time can implement natural flow of time so as to keep the time continuously increasing.
When the reference time naturally flows, the reference time is continuously increased, for example, the time naturally flows from No. 2 month 1 to No. 2 month 2, and the time naturally increases by 24 hours, in this embodiment, the server may determine a new time caused by the reference time passing through the natural flow, so that for the time to be configured, the server adds the new time to the time to be configured, that is, how much time the reference time is added, and the time to be configured is also increased by the same time, so that the time to be configured after the time change can be obtained, and the server may synchronize the time to be configured after the time change to the client.
When the reference time is the current real time of the client, namely the current real time is increased by 1S second every time, and the time to be configured is increased by 1 second.
For example, assuming that the reference time is 2/1/2020 and the user needs to experience the activity of 3/1/2020, then:
from _ time 1580486400 (reference time), to _ time 1582992000 (time to be configured), 24 hours after the natural flow time (24 60), from _ time _2 1580572800(from _ time +24 60), to _ time _2 1583078400(to _ time +24 60), and time to be configured after the change is 2020/3/20: 0: 0.
In this embodiment, the reason that the client needs to use the latest time to be configured is that the large-scale activity of the joint debugging test is often a continuous activity series, and when the progress of the joint debugging test is adjusted to a certain activity, the flow of the subsequent time can also directly trigger the start of another activity, so that the whole activity flow can be experienced by considering intervention.
For example, for billing services, such as red parcel transfer, and order services, the latest time to be configured is required.
Therefore, the method and the device can ensure the natural change of time, so that the real environment of the product can be simulated, and various service scenes when the product is used can be experienced during joint debugging test.
Optionally, determining the time to be configured after the time change based on the new time and the time to be configured includes:
acquiring a time change rate;
and determining the time to be configured after the time change based on the newly added time, the time to be configured and the time change rate.
In this embodiment, a time change rate when the time to be configured changes may also be controlled, where the time change rate is input by the server receiving the management client, and the time change rate refers to a rate at which the time to be configured changes (or flows) with respect to the reference time, for example, the time change rate is k1, that is, the time to be configured changes k1 hours every time the reference time changes by 1 hour, and k1 is an integer greater than or equal to 1.
When the reference time is the current real time of the client, that is, the reference time indicates that every 1 second is added to the current real time, and the time to be configured is added by k1 seconds.
In this embodiment, the to _ time _2 in the above example is 1583078400(to _ time +24 × 60 × k 1).
In practical application, when the progress of the joint debugging test is adjusted to the y-th time in the x-th time (the test time of the joint debugging test), and after the joint debugging test is continuously performed from the y-th time, t hours may be required from the y-th time to the downward test to the end of the joint debugging test, and by setting the time change rate k1, the joint debugging test can be completed by only dividing (t) by k1) hours.
It can be seen that this embodiment can accelerate the flow of time through setting up time rate of change, can carry out the joint debugging test fast, has further promoted the efficiency of joint debugging test.
Optionally, synchronizing the time to be configured after the time change to the client may include:
and if the time to be configured after the time change is the time for stopping the joint debugging test, synchronizing the time to be configured after the time change to the client.
In this embodiment, a plurality of important time nodes are provided in the test duration of the joint debugging test, and the server may synchronize the changed time to be configured to the corresponding client when the time to be configured naturally flows to reach the preset time node.
In this embodiment, in a possible case, the preset time node may also be a time node for stopping the joint debugging test, specifically:
the server receives the time for stopping the joint debugging test input by the management client, and when the time to be configured reaches the time for stopping the joint debugging test, the server sends the changed time to be configured to the client, so that the client can stop performing the joint debugging test based on the changed time to be configured.
In this embodiment, it may be another possible case that the preset time node is a time node set by the server with a certain time period as a scale, for example, one preset time node is set every 1h, or the preset time node may be a time of issuing a red packet or a time of getting the red packet in a red packet service scene.
While the solution of the present disclosure is described above from the perspective of a server, referring to fig. 4, a joint debugging test method of the present disclosure is described below from the perspective of a client, where the method may include:
step S401, sending a time configuration request to a server, wherein the time configuration request comprises a client identifier;
step S402, receiving the time to be configured sent by the server; the time to be configured is obtained by the server based on the client identification; the time to be configured is used for adjusting a test time node of joint debugging test of the client;
and S403, adjusting the time to be configured, and starting to perform joint debugging test from the time to be configured.
The solution of this embodiment is substantially the same as the solution of the embodiment in fig. 1, and the specific implementation manner of this embodiment may refer to the solution of the embodiment in fig. 1, which is not described herein again specifically.
As described above, the solution of the present embodiment is substantially realized by the client and the server interactively, and the solution of the present disclosure is described below with reference to fig. 5.
S1: the management client sends a client identifier and the time to be configured to the server;
s2: the server stores the time to be configured and the client identifier;
s3: a server receives a time configuration request sent by a client; the time configuration request comprises a client identifier;
s4: the server finds out the corresponding time to be configured based on the client identifier;
s5: the server synchronizes the time to be configured to the client;
s6: the client adjusts the time to be configured, and performs joint debugging test from the time to be configured;
s7, the server determines the changed time to be configured;
and S8, the server synchronizes the changed time to be configured to the client.
The scheme of this embodiment is substantially the same as the scheme of the embodiment shown in fig. 1 and fig. 4, and the specific implementation manner of this embodiment may refer to the scheme of the embodiment shown in fig. 1 and fig. 4, which is not described herein again specifically.
Referring to fig. 6, the present disclosure provides a joint debugging test apparatus, which may include:
a first receiving module 601, configured to receive a time configuration request of a client, where the time configuration request includes a client identifier;
a first obtaining module 602, configured to obtain, based on the client identifier, a time to be configured corresponding to the client; the time to be configured is used for adjusting a test time node of joint debugging test of the client;
the first synchronization module 603 is configured to synchronize the time to be configured to the client, so that the client adjusts the time to be configured, and performs joint debugging testing from the time to be configured.
Optionally, the first obtaining module 602 is specifically configured to:
acquiring a time configuration file;
and inquiring the time to be configured corresponding to the client in the time configuration file based on the client identification.
Optionally, when acquiring the time configuration file, the first acquiring module 602 is specifically configured to:
and receiving and storing the time configuration file sent by the management client.
Optionally, the apparatus further includes a second obtaining module, a determining module, and a second synchronizing module;
the first synchronization module 603 synchronizes the time to be configured to the back of the client;
the second acquisition module is used for acquiring the current reference time of the client and determining the newly added time of the reference time;
the determining module is used for determining the time to be configured after the time change based on the newly added time and the time to be configured;
and the second synchronization module is used for synchronizing the time to be configured after the time change to the client.
Optionally, the determining module is specifically configured to:
acquiring a time change rate;
and determining the time to be configured after the time change based on the newly added time, the time to be configured and the time change rate.
Optionally, the second synchronization module is specifically configured to:
and if the time to be configured after the time change is the time for stopping the joint debugging test, synchronizing the time to be configured after the time change to the client.
Referring to fig. 7, the present disclosure further provides a joint debugging testing apparatus, including:
a sending module 701, configured to send a time configuration request to a server, where the time configuration request includes a client identifier;
a second receiving module 702, configured to receive the time to be configured sent by the server; the time to be configured is obtained by the server based on the client identification; the time to be configured is used for adjusting a test time node of joint debugging test of the client;
the adjusting module 703 is configured to adjust the time to a time to be configured, and perform joint debugging testing from the time to be configured.
Referring now to FIG. 8, a schematic diagram of an electronic device (e.g., the server of FIG. 1 or the client of FIG. 4) 600 suitable for use in implementing embodiments of the present disclosure is shown. The terminal device in the embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. The electronic device shown in fig. 8 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
The electronic device includes: a memory and a processor, wherein the processor may be referred to as the processing device 601 hereinafter, and the memory may include at least one of a Read Only Memory (ROM)602, a Random Access Memory (RAM)603 and a storage device 608 hereinafter, which are specifically shown as follows:
as shown in fig. 8, electronic device 600 may include a processing means (e.g., central processing unit, graphics processor, etc.) 601 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)602 or a program loaded from a storage means 608 into a Random Access Memory (RAM) 603. In the RAM 603, various programs and data necessary for the operation of the electronic apparatus 600 are also stored. The processing device 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
Generally, the following devices may be connected to the I/O interface 605: input devices 606 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 607 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 608 including, for example, tape, hard disk, etc.; and a communication device 609. The communication means 609 may allow the electronic device 600 to communicate with other devices wirelessly or by wire to exchange data. While fig. 8 illustrates an electronic device 600 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means 609, or may be installed from the storage means 608, or may be installed from the ROM 602. The computer program, when executed by the processing device 601, performs the above-described functions defined in the methods of the embodiments of the present disclosure.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: receiving a time configuration request of a client, wherein the time configuration request comprises a client identifier; acquiring the time to be configured corresponding to the client based on the client identifier; the time to be configured is used for adjusting a test time node of joint debugging test of the client; and synchronizing the time to be configured to the client so that the client adjusts the time to be configured and starts to perform joint debugging test from the time to be configured.
Or the computer readable medium carrying one or more programs which, when executed by the electronic device, cause the electronic device to: sending a time configuration request to a server, wherein the time configuration request comprises a client identifier; receiving time to be configured sent by a server; the time to be configured is obtained by the server based on the client identification; the time to be configured is used for adjusting a test time node of joint debugging test of the client; and adjusting the time to be configured, and starting to perform joint debugging test from the time to be configured.
Computer program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including but not limited to an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute 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 type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart 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 code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, 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.
The modules or units described in the embodiments of the present disclosure may be implemented by software or hardware. Where the name of a module or unit does not in some cases constitute a limitation of the unit itself, for example, the first receiving module may also be described as a "module receiving a time configuration request of a client".
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
In accordance with one or more embodiments of the present disclosure, there is provided a joint debugging testing method, which may include:
receiving a time configuration request of a client, wherein the time configuration request comprises a client identifier;
acquiring the time to be configured corresponding to the client based on the client identifier; the time to be configured is used for adjusting a test time node of joint debugging test of the client;
and synchronizing the time to be configured to the client so that the client adjusts the time to be configured and starts to perform joint debugging test from the time to be configured.
Optionally, obtaining the time to be configured corresponding to the client based on the client identifier includes:
acquiring a time configuration file;
and inquiring the time to be configured corresponding to the client in the time configuration file based on the client identification.
Optionally, obtaining the time configuration file further includes:
and receiving and storing the time configuration file sent by the management client.
Optionally, after synchronizing the time to be configured to the client, the method further includes:
acquiring the current reference time of a client, and determining the newly added time of the reference time;
determining the time to be configured after the time change based on the newly added time and the time to be configured;
and synchronizing the time to be configured after the time change to the client.
Optionally, determining the time to be configured after the time change based on the new time and the time to be configured includes:
acquiring a time change rate;
and determining the time to be configured after the time change based on the newly added time, the time to be configured and the time change rate.
Optionally, synchronizing the time to be configured after the time change to the client includes:
and if the time to be configured after the time change is the time for stopping the joint debugging test, synchronizing the time to be configured after the time change to the client.
In accordance with one or more embodiments of the present disclosure, there is provided a joint debugging testing method, which may include:
sending a time configuration request to a server, wherein the time configuration request comprises a client identifier; receiving time to be configured sent by a server; the time to be configured is obtained by the server based on the client identification; the time to be configured is used for adjusting a test time node of joint debugging test of the client;
and adjusting the time to be configured, and starting to perform joint debugging test from the time to be configured.
One or more embodiments of the present disclosure also provide a joint debugging test apparatus, which may include:
the first receiving module is used for receiving a time configuration request of a client, wherein the time configuration request comprises a client identifier;
the first acquisition module is used for acquiring the time to be configured corresponding to the client based on the client identifier; the time to be configured is used for adjusting a test time node of joint debugging test of the client;
the first synchronization module is used for synchronizing the time to be configured to the client so that the client adjusts the time to be configured and starts to perform joint debugging test from the time to be configured.
Optionally, the first obtaining module. The method is specifically used for:
acquiring a time configuration file;
and inquiring the time to be configured corresponding to the client in the time configuration file based on the client identification.
Optionally, the first obtaining module, when obtaining the time configuration file, is configured to:
and receiving and storing the time configuration file sent by the management client.
Optionally, the apparatus further includes a second obtaining module, a determining module, and a second synchronizing module;
the first synchronization module synchronizes the time to be configured to the back of the client;
the second acquisition module is used for acquiring the current reference time of the client and determining the newly added time of the reference time;
the determining module is used for determining the time to be configured after the time change based on the newly added time and the time to be configured;
and the second synchronization module is used for synchronizing the time to be configured after the time change to the client.
Optionally, the determining module is specifically configured to:
acquiring a time change rate;
and determining the time to be configured after the time change based on the newly added time, the time to be configured and the time change rate.
Optionally, the second synchronization module is specifically configured to:
and if the time to be configured after the time change is the time for stopping the joint debugging test, synchronizing the time to be configured after the time change to the client.
One or more embodiments of the present disclosure also provide a joint debugging test apparatus, which may include:
the sending module is used for sending a time configuration request to the server, wherein the time configuration request comprises a client identifier; receiving time to be configured sent by a server; the time to be configured is obtained by the server based on the client identification; the time to be configured is used for adjusting a test time node of joint debugging test of the client;
and the adjusting module is used for adjusting the time to be configured and starting to perform joint debugging test from the time to be configured.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.
Further, while operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.

Claims (11)

1. A joint debugging test method, comprising:
receiving a time configuration request of a client, wherein the time configuration request comprises a client identifier;
acquiring the time to be configured corresponding to the client based on the client identifier; the time to be configured is used for adjusting a test time node of the joint debugging test of the client;
and synchronizing the time to be configured to the client so that the client adjusts the time to be configured and starts to perform joint debugging test from the time to be configured.
2. The method according to claim 1, wherein the obtaining the time to be configured corresponding to the client based on the client identifier comprises:
acquiring a time configuration file;
and inquiring the time to be configured corresponding to the client in the time configuration file based on the client identification.
3. The method of claim 2, wherein obtaining the time profile further comprises:
and receiving and storing the time configuration file sent by the management client.
4. The method according to any one of claims 1 to 3, wherein after synchronizing the time to be configured to the client, the method further comprises:
acquiring the current reference time of the client, and determining the newly added time of the reference time, wherein the newly added time is the time added by the target flowing time which is later than the time to be configured compared with the time to be configured;
determining the time to be configured after time change based on the newly added time and the time to be configured;
and synchronizing the time to be configured after the time change to the client.
5. The method of claim 4, wherein the determining the time to configure after the time change based on the new time and the time to configure comprises:
acquiring a time change rate;
and determining the time to be configured after time change based on the newly added time, the time to be configured and the time change rate.
6. The method according to claim 4, wherein the synchronizing the time-changed time to be configured to the client comprises:
and if the time to be configured after the time change is the time for stopping the joint debugging test, synchronizing the time to be configured after the time change to the client.
7. A joint debugging test method, comprising:
sending a time configuration request to a server, wherein the time configuration request comprises a client identifier;
receiving the time to be configured sent by the server; the time to be configured is obtained by the server based on the client identification and is used for adjusting a test time node of the joint debugging test of the client;
and adjusting the time to be configured, and starting to perform joint debugging test from the time to be configured.
8. A joint debugging test device, comprising:
the first receiving module is used for receiving a time configuration request of a client, wherein the time configuration request comprises a client identifier;
the first obtaining module is used for obtaining the time to be configured corresponding to the client based on the client identifier; the time to be configured is used for adjusting a test time node of the joint debugging test of the client;
and the first synchronization module is used for synchronizing the time to be configured to the client so as to enable the client to adjust the time to be configured and carry out joint debugging test from the time to be configured.
9. A joint debugging test device, comprising:
the system comprises a sending module, a receiving module and a sending module, wherein the sending module is used for sending a time configuration request to a server, and the time configuration request comprises a client identifier;
the second receiving module is used for receiving the time to be configured sent by the server; the time to be configured is obtained by the server based on the client identification; the time to be configured is used for adjusting a test time node of the joint debugging test of the client;
and the adjusting module is used for adjusting the time to be configured and starting to perform joint debugging test from the time to be configured.
10. An electronic device, comprising:
the electronic device comprises a memory and a processor;
the memory has stored therein a computer program;
the processor, when executing the computer program, is configured to perform the method of any of claims 1-7.
11. A computer-readable medium, on which a computer program is stored which, when being executed by a processor, carries out the method of any one of claims 1 to 7.
CN202011539800.2A 2020-12-23 2020-12-23 Joint debugging test method and device, electronic equipment and computer readable storage medium Active CN112688831B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011539800.2A CN112688831B (en) 2020-12-23 2020-12-23 Joint debugging test method and device, electronic equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011539800.2A CN112688831B (en) 2020-12-23 2020-12-23 Joint debugging test method and device, electronic equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN112688831A true CN112688831A (en) 2021-04-20
CN112688831B CN112688831B (en) 2022-03-25

Family

ID=75451133

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011539800.2A Active CN112688831B (en) 2020-12-23 2020-12-23 Joint debugging test method and device, electronic equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN112688831B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050120274A1 (en) * 2003-11-14 2005-06-02 Haghighat Mohammad R. Methods and apparatus to minimize debugging and testing time of applications
CN101483562A (en) * 2009-02-19 2009-07-15 中兴通讯股份有限公司 Method, system and related equipment for routine test
US20120005531A1 (en) * 2010-06-30 2012-01-05 International Business Machines Corporation Server throttled client debugging
CN203135888U (en) * 2013-01-15 2013-08-14 福建省电力有限公司 Microwave relay-OPGW fiber communication link
CN106874159A (en) * 2016-12-30 2017-06-20 北京同有飞骥科技股份有限公司 A kind of concentrating type automated testing method
CN110209315A (en) * 2019-06-11 2019-09-06 北京字节跳动网络技术有限公司 The display methods of character, device, electronic equipment and storage medium in user interface
CN110362479A (en) * 2019-06-19 2019-10-22 平安科技(深圳)有限公司 System upgrade test method and system
CN111427333A (en) * 2020-04-01 2020-07-17 北京四维智联科技有限公司 Test method and device for Internet of vehicles service platform and computer storage medium
CN111639027A (en) * 2020-05-25 2020-09-08 北京百度网讯科技有限公司 Test method and device and electronic equipment

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050120274A1 (en) * 2003-11-14 2005-06-02 Haghighat Mohammad R. Methods and apparatus to minimize debugging and testing time of applications
CN101483562A (en) * 2009-02-19 2009-07-15 中兴通讯股份有限公司 Method, system and related equipment for routine test
US20120005531A1 (en) * 2010-06-30 2012-01-05 International Business Machines Corporation Server throttled client debugging
CN203135888U (en) * 2013-01-15 2013-08-14 福建省电力有限公司 Microwave relay-OPGW fiber communication link
CN106874159A (en) * 2016-12-30 2017-06-20 北京同有飞骥科技股份有限公司 A kind of concentrating type automated testing method
CN110209315A (en) * 2019-06-11 2019-09-06 北京字节跳动网络技术有限公司 The display methods of character, device, electronic equipment and storage medium in user interface
CN110362479A (en) * 2019-06-19 2019-10-22 平安科技(深圳)有限公司 System upgrade test method and system
CN111427333A (en) * 2020-04-01 2020-07-17 北京四维智联科技有限公司 Test method and device for Internet of vehicles service platform and computer storage medium
CN111639027A (en) * 2020-05-25 2020-09-08 北京百度网讯科技有限公司 Test method and device and electronic equipment

Also Published As

Publication number Publication date
CN112688831B (en) 2022-03-25

Similar Documents

Publication Publication Date Title
CN110909521B (en) Online document information synchronous processing method and device and electronic equipment
CN110753089B (en) Method, device, medium and electronic equipment for managing client
CN112130475B (en) Equipment control method, device, terminal and storage medium
CN113485918A (en) Test method, test device, electronic equipment and storage medium
CA3143824C (en) Special effect synchronization method, device, and storage medium
CN111163336B (en) Video resource pushing method and device, electronic equipment and computer readable medium
CN111371648A (en) Monitoring method and device for global fault of virtual gateway cluster
CN115996179A (en) Service node testing method and device, readable medium and electronic equipment
CN111161072A (en) Block chain-based random number generation method, equipment and storage medium
CN113144620A (en) Detection method, device, platform, readable medium and equipment for frame synchronization game
CN112688831B (en) Joint debugging test method and device, electronic equipment and computer readable storage medium
CN111628913B (en) Online time length determining method and device, readable medium and electronic equipment
CN112988313B (en) Path determining method and device and electronic equipment
CN113420400B (en) Routing relation establishment method, request processing method, device and equipment
CN112688793B (en) Data packet obtaining method and device and electronic equipment
CN111367592B (en) Information processing method and device
CN116319322B (en) Power equipment node communication connection method, device, equipment and computer medium
CN111246229B (en) Method, device, medium and electronic equipment for updating gift resources of live broadcast room
CN113691339B (en) Clock synchronization method, device, equipment and storage medium
CN111314457B (en) Method and device for setting virtual private cloud
CN115374187B (en) Index data acquisition method and device, electronic equipment and computer readable medium
CN110855767B (en) Method, device, equipment and storage medium for responding operation request
CN113626664A (en) House resource screening information processing method, device, equipment and computer readable medium
CN117667243A (en) Data detection method, device, equipment and storage medium
CN115470227A (en) Data updating method and device, electronic equipment and computer readable medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Patentee after: Douyin Vision Co.,Ltd.

Address before: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Patentee before: Tiktok vision (Beijing) Co.,Ltd.

Address after: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Patentee after: Tiktok vision (Beijing) Co.,Ltd.

Address before: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Patentee before: BEIJING BYTEDANCE NETWORK TECHNOLOGY Co.,Ltd.

CP01 Change in the name or title of a patent holder