CN112134961B - Client use control method, client and computer storage medium - Google Patents

Client use control method, client and computer storage medium Download PDF

Info

Publication number
CN112134961B
CN112134961B CN202011041858.4A CN202011041858A CN112134961B CN 112134961 B CN112134961 B CN 112134961B CN 202011041858 A CN202011041858 A CN 202011041858A CN 112134961 B CN112134961 B CN 112134961B
Authority
CN
China
Prior art keywords
client
server
network connection
package
upgrading
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011041858.4A
Other languages
Chinese (zh)
Other versions
CN112134961A (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.)
Shenzhen Launch Technology Co Ltd
Original Assignee
Shenzhen Launch 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 Shenzhen Launch Technology Co Ltd filed Critical Shenzhen Launch Technology Co Ltd
Priority to CN202011041858.4A priority Critical patent/CN112134961B/en
Publication of CN112134961A publication Critical patent/CN112134961A/en
Application granted granted Critical
Publication of CN112134961B publication Critical patent/CN112134961B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0811Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • H04L63/108Network architectures or network communication protocols for network security for controlling access to devices or network resources when the policy decisions are valid for a limited amount of time
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Computer Hardware Design (AREA)
  • Health & Medical Sciences (AREA)
  • Environmental & Geological Engineering (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the application discloses a client use control method, a client and a computer storage medium, which are used for controlling the upgrading of the client and the use of the client. The method comprises the following steps: when the target time length of the network connection between the client and the server is not longer than the preset time length threshold, the data interaction and transmission between the client and the server are affected, so that a user is prompted to establish the network connection between the client and the server, the client can acquire a software upgrade package from the server and further execute upgrade update, meanwhile, the problem that part of functions of the client are not supported is solved after the upgrade update, the user does not need to request after-sales service of the client, and after-sales cost is saved.

Description

Client use control method, client and computer storage medium
Technical Field
The embodiment of the application relates to the field of equipment control, in particular to a use control method of a client, the client and a computer storage medium.
Background
The automobile diagnosis system is a diagnosis system for carrying out non-disassembly detection and diagnosis on an automobile by comprehensively utilizing modern detection technology, electronic technology and computer application technology. The automobile diagnosis system has the diagnosis functions of detecting and diagnosing various performance parameters of the automobile indoors, finding out possible fault conditions and the like, and provides reliable basis for comprehensively and accurately evaluating the service performance and technical conditions of the automobile. The automobile diagnosis system comprises an automobile diagnosis client and a server, wherein the client can be installed in a 4S store to provide an automobile diagnosis function for the 4S store; the server is used for developing and updating the automobile diagnosis function of the client, and technical developers upload an upgrade package of the client to the server, so that the client can request the upgrade package from the server and upgrade the automobile diagnosis function or configure a new diagnosis function.
After the 4S store installs the client, the provider of the client needs to provide after-market services for the 4S store using the client. With the continuous development and soundness of automobile electronics, more and more suppliers choose to remodel after-sales services, and when a client is connected with a server through a network, the client can acquire an upgrade package from the server and upgrade the upgrade package. However, when the client of the 4S store is not used in a network, or the server has a version update of the client, the client is not selected for updating, which results in that a part of diagnosis functions do not support the current client, and a diagnosis error problem may occur in the use process of the client. When the problems are caused by the fact that the client is not used in a networking mode, the 4S shop can only contact after-sales, so that time for automobile diagnosis is wasted, and after-sales cost is increased.
Disclosure of Invention
The embodiment of the application provides a client use control method, a client and a computer storage medium, which are used for controlling the upgrading of the client and the use of the client.
An embodiment of the present application provides a method for controlling use of a client, where the method is applied to the client, and includes:
checking the connection state of the client and the server;
if the client is not connected, calculating a target duration from a networking time point stored when the client establishes network connection with the server last time to a current time point;
if the target time length is greater than a preset time length threshold, prompting a user to establish network connection between the client and the server;
and if the target duration is smaller than the preset duration threshold, allowing the user to use the client.
Preferably, when the client does not establish a network connection with the server, if the target time period is longer than the preset time period threshold, the method further includes:
suspending the user right to use the function of the client.
Preferably, when the client establishes a network connection with the server, the method further includes:
determining that the server has a software upgrade package of the client;
and acquiring the software upgrading package issued by the server, and upgrading and updating the client according to the software upgrading package.
Preferably, the obtaining the software upgrade package issued by the server, and updating the client according to the software upgrade package, includes:
acquiring the software upgrading package and the attribute of the software upgrading package issued by the server;
if the attribute of the software upgrading package is a forced upgrading attribute, upgrading and updating the client according to the software upgrading package;
if the attribute of the software upgrading package is not the forced upgrading attribute, prompting the user whether to execute upgrading updating of the client according to the software upgrading package;
and when the user determines to upgrade and update the client, upgrading and updating the client according to the software upgrade package.
Preferably, the preset duration threshold is preset through the server, and the preset duration threshold is set according to the attribute of the software upgrade package;
the attribute of the software upgrading package is preset through the server.
Preferably, when the client establishes a network connection with the server, the method further includes:
and acquiring and storing the networking time point recorded by the server and the preset duration threshold preset by the server.
Preferably, the client is a vehicle diagnostic system client.
A second aspect of an embodiment of the present application provides a client, including:
the checking unit is used for checking the connection state of the client and the server;
the computing unit is used for computing target duration from a networking time point stored when the client establishes network connection with the server last time to a current time point when the client does not establish network connection with the server;
the prompting unit is used for prompting a user to establish network connection between the client and the server if the target time length is greater than a preset time length threshold;
and the permission unit is used for allowing the user to use the client if the target duration is smaller than the preset duration threshold.
Preferably, when the client does not establish network connection with the server, if the target time period is longer than the preset time period threshold, the permission unit is further configured to suspend the user from using the function of the client.
Preferably, the client further includes:
the determining unit is used for determining that the server has the software upgrading package of the client;
the acquisition unit is used for acquiring the software upgrade package issued by the server;
and the upgrading unit is used for upgrading and updating the client according to the software upgrading package.
Preferably, the obtaining unit is specifically configured to obtain the software upgrade package and the attribute of the software upgrade package that are issued by the server;
the upgrade unit is specifically configured to upgrade the client according to the software upgrade package if the attribute of the software upgrade package is a forced upgrade attribute, prompt the user whether to execute upgrade update of the client according to the software upgrade package if the attribute of the software upgrade package is not a forced upgrade attribute, and upgrade update the client according to the software upgrade package when the user determines to upgrade update the client.
Preferably, the preset duration threshold is preset through the server, and the preset duration threshold is set according to the attribute of the software upgrade package;
the attribute of the software upgrading package is preset through the server.
Preferably, the obtaining unit is further configured to obtain and store the networking time point recorded by the server and the preset duration threshold preset by the server.
Preferably, the client is a vehicle diagnostic system client.
A third aspect of the embodiments of the present application provides a client, including:
a processor, a memory, a bus, and an input/output device;
the processor is connected with the memory and the input and output equipment;
the bus is respectively connected with the processor, the memory and the input and output equipment;
the processor is used for checking the connection state of the client and the server, and calculating the target duration from the networking time point stored when the client establishes the network connection with the server last time to the current time point when the client does not establish the network connection with the server; if the target time length is greater than a preset time length threshold, prompting a user to establish network connection between the client and the server; and if the target duration is smaller than the preset duration threshold, allowing the user to use the client.
A fourth aspect of the embodiments provides a computer storage medium having stored therein instructions which, when executed on a computer, cause the computer to perform the method of the first aspect described above.
From the above technical solutions, the embodiments of the present application have the following advantages:
in the embodiment of the application, when the target time period of the client end which does not establish the network connection with the server is longer than the preset time period threshold, the data interaction and transmission between the client end and the server are affected, so that the user is prompted to establish the network connection between the client end and the server, the client end can acquire the software upgrade package from the server, upgrade update is further executed, meanwhile, the problem that part of functions of the client end are not supported after upgrade update is solved, the user does not need to request after-sales service of the client end, and after-sales cost is saved.
Drawings
Fig. 1 is a schematic diagram of a network architecture in an embodiment of the present application;
FIG. 2 is a flow chart of a method for controlling client usage in an embodiment of the present application;
FIG. 3 is another flow chart of a method for controlling client usage in an embodiment of the present application;
fig. 4 is a schematic structural diagram of a client in an embodiment of the present application;
fig. 5 is another schematic structural diagram of a client in an embodiment of the present application.
Detailed Description
The embodiment of the application provides a client use control method, a client and a computer storage medium, which are used for controlling the upgrading of the client and the use of the client.
Referring to fig. 1, in an embodiment of the present application, a network architecture includes:
terminal 101, server 102, network 103.
The terminal 101 may establish a connection with the server 102 through the network 103 and perform data interaction and data transmission after establishing the network connection. The network 103 is typically a wireless network, but may also be a wired network, and if the network is a wireless network, the type of the network may be a cellular wireless network, a WiFi network, or another type of wireless network. In the case of a wired network, the network is typically in the form of a fiber optic network.
The server 102 may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing basic cloud computing services such as a cloud database, cloud computing, big data, an artificial intelligence platform, and the like. The terminal 101 may be a smart phone, tablet, laptop portable computer, desktop computer, self-service terminal, and wearable electronic device.
In the network architecture, the user 104 may input any executable operation instruction to the terminal 101, and the terminal 101 may execute a corresponding processing operation according to the operation instruction and feed back a processing result to the user 104, thereby implementing man-machine interaction.
It should be noted that the present network architecture only exemplifies one terminal 101 and one server 102, but the present network architecture may also have more terminals and/or servers to participate, which is not limited herein.
The following describes a method for controlling usage of a client in an embodiment of the present application with reference to the network framework of fig. 1:
referring to fig. 2, an embodiment of a method for controlling usage of a client in an embodiment of the present application includes:
201. checking the connection state of the client and the server;
in this embodiment, the client may be used in an unconnected state, that is, the user may use a client of a single-version client, but the unconnected use of the client may affect the upgrade update of the client, so as to avoid that the client misses the upgrade update and causes that a part of functions are not supported and the use of the client is affected, and when the client is started, it needs to check whether the client is connected to the network or not, and whether a network connection is established with the server.
202. When the client does not establish network connection with the server, calculating a target duration from a networking time point stored when the client establishes network connection with the server last time to a current time point;
when the client side does not establish network connection with the server, the networking time point stored when the client side establishes network connection with the server last time is obtained, and the target duration between the networking time point and the current time point is calculated. The networking time point refers to a time point in a period when the client establishes network connection with the server, and preferably, the networking time point is a time point when the client breaks network connection at one time.
For example, the networking time point saved by the client when the last established a network connection with the server is 2020-9-810:00, if the current time point is 2020-9-1211:00, the target time length is 4 days and zero 1 hour.
Therefore, the target duration represents the duration of the time period when the client and the server are disconnected from the network, if the duration is long, normal information exchange between the client and the server may be affected, for example, the client cannot acquire a software upgrade package of the client from the server, so that update and upgrade cannot be performed, and use of some functions of the client may be abnormal or newly developed functions may not be used; it will also affect the uploading of data by the client to the server.
203. If the target time length is greater than the preset time length threshold, prompting a user to establish network connection between the client and the server;
after the target duration is calculated, judging whether the target duration exceeds a preset duration threshold, if so, indicating that the client has not been connected with the server for a long time, and prompting a user to establish network connection between the client and the server so as to facilitate the client to acquire a software upgrading packet from the server, update and upgrade the client, and also facilitate the client to upload data to the server, thereby ensuring normal operation of information transmission.
Following the example illustrated in step 202, if the preset duration threshold is set to 3 days, the target duration for the client to disconnect from the server has exceeded the preset duration threshold, and the user will be prompted to network.
204. If the target duration is smaller than the preset duration threshold, allowing the user to use the client;
if the target duration is less than the preset duration threshold, it indicates that the duration of disconnecting the client from the server is still within an acceptable range, and the client and the server may not need to perform related data transmission and data interaction in a short time, so that the user may be allowed to use the client without the client being networked (i.e., without establishing a network connection with the server).
In this embodiment, when the target time period when the client does not establish the network connection with the server is longer than the preset time period threshold, the data interaction and transmission between the client and the server are affected, so that the user is prompted to establish the network connection between the client and the server, the client can acquire the software upgrade package from the server, and further upgrade update is performed, and meanwhile, the problem that part of functions of the client are not supported after upgrade update is solved, so that the user does not need to request after-sales service of the client, and after-sales cost is saved.
Embodiments of the present application will be described in further detail below on the basis of the foregoing embodiment shown in fig. 2. Referring to fig. 3, another embodiment of a method for controlling client usage in an embodiment of the present application includes:
301. checking the connection state of the client and the server;
302. when the client does not establish network connection with the server, calculating a target duration from a networking time point stored when the client establishes network connection with the server last time to a current time point;
303. if the target time length is greater than the preset time length threshold, prompting a user to establish network connection between the client and the server;
the operations performed in steps 301 to 303 are similar to those performed in steps 201 to 203 in the embodiment shown in fig. 2 described above. In this embodiment, the client may be any type of client, and in one implementation manner, the client may be a vehicle diagnostic system client, and a user may use the vehicle diagnostic system client to perform a series of operations such as vehicle diagnosis, where the client may be used in a network or in a stand-alone manner, that is, in a case of disconnecting the network, where the stand-alone manner cannot receive a software upgrade package of the client and cannot perform upgrade update, so that the stand-alone manner may cause that a part of vehicle diagnostic functions are not supported and affect use of the client.
In step 303, when the client does not establish a network connection with the server and the target time period is longer than the preset time period threshold, it indicates that the client has not been in network connection with the server for a long time, which greatly affects information communication between the client and the server, and the server may already have a software upgrade package of the client, and the client cannot be updated in real time due to the fact that the client is not in network connection for a long time, which affects use of the client.
304. If the target duration is smaller than the preset duration threshold, allowing the user to use the client;
the operations performed by this step are similar to those performed by step 204 in the embodiment of fig. 2 described above. In this embodiment, a developer of the software upgrade package of the client may upload the software upgrade package after development to the server, and then the server issues the software upgrade package to each client. Meanwhile, the developer may also preset the preset duration threshold on the server, for example, set the preset duration threshold to 3 days, 4 days, or other durations. And then, when the client establishes network connection with the server, the client can acquire the preset duration threshold value from the server.
In addition, the preset duration threshold may also be set by the client, for example, the client may provide a plurality of duration thresholds for 3 days, 4 days, 5 days, and so on, and then the user selects one of the duration thresholds to set. The setting manner of the preset duration threshold is not limited in this embodiment.
305. When the client establishes network connection with the server, determining that the server has a software upgrade package of the client;
when the client is started, whether the client establishes network connection with the server is determined, and if the network connection is established, the client inquires the server whether the server has a software upgrade package of the client. If the server does not have the software upgrade package of the client, the current version of the client is the latest version, and the user can directly use the client without upgrading and updating. If the server has the software upgrade package of the client, the client needs to update according to the software upgrade package.
306. Acquiring a software upgrading package issued by a server, and upgrading and updating a client according to the software upgrading package;
after determining that the server has the software upgrade package of the client, downloading the software upgrade package from the server, and updating the client according to the software upgrade package.
In this embodiment, a developer of the software upgrade package may preset an attribute of the software upgrade package on the server, where the attribute includes a forced upgrade attribute and a non-forced upgrade attribute, and the forced upgrade attribute refers to whether the client needs to be forced upgraded, and does not need a user to select whether to execute upgrade of the client; the optional upgrade attribute then indicates whether the upgrade of the client may be selected by the user to be performed. The software upgrade package of the forced upgrade attribute relates to the normal use function of the client, and if the corresponding upgrade update is not performed, the normal use of the client is seriously affected, so the forced upgrade attribute indicates that the client needs to be upgraded; the software upgrade package of the non-forced upgrade attribute only relates to the normal upgrade, and does not affect the normal use of the client, so that the user can select whether to execute the upgrade of the client according to the software upgrade package of the non-forced upgrade attribute.
Therefore, when the software upgrade package is acquired, the attribute of the software upgrade package is acquired at the same time. When the attribute of the software upgrade package is the forced upgrade attribute, the user is prompted that the client of the current version needs to execute upgrade update, and upgrade update is directly carried out on the client according to the software upgrade package, so that whether the client is upgraded or not is not needed to be selected by the user.
If the attribute of the software upgrade package is not the forced upgrade attribute, prompting the user whether to execute upgrade update of the client according to the software upgrade package, if the user selects to temporarily not upgrade the client, the client does not upgrade, and allowing the user to use the client; when the user determines that the client needs to be upgraded, the client performs upgrading and updating according to the software upgrading package.
In this embodiment, the preset duration threshold in steps 303 to 304 may be set according to the attribute of the software upgrade package, that is, when the attribute of the software upgrade package is the forced upgrade attribute, the preset duration threshold may be set to a shorter duration; if the attribute of the software upgrade package is a non-forced upgrade attribute, the preset duration threshold may be set to a longer duration. For example, when the software upgrade package is a forced upgrade attribute, the preset duration threshold may be set for 1 day; if the software upgrade package is a non-mandatory upgrade attribute, the preset duration threshold may be set for 1 week or other durations.
The upgrading and updating of the client may be to add a new vehicle diagnosis function or perfect an original vehicle diagnosis function, or repair some loopholes or defects of the client program, and the scope of upgrading and updating is not limited in this embodiment.
In this embodiment, when the client and the server establish a network connection, in order to save the time of the current network connection, the client will also acquire the networking time point recorded by the server from the server, and similarly, the networking time point is a time point in the time period of the current network connection. For example, the client at 10:00 to 19:00 is connected with a server in a network, and in the time period, the client acquires and stores the networking time point in real time and updates the networking time point stored before the local. And acquiring a networking time point when establishing network connection, so as to calculate the networking target duration when the client is networking the next time.
In this embodiment, the networking time point may also be recorded by the client, that is, the client records the time point of the current networking, but, because the time point of the client is easily tampered by the user, in order to ensure the authenticity of the networking time point, it is preferable to use the networking time point recorded by the server.
After the client has completed the upgrade update, the client is restarted and the user may perform a series of operations using the client, such as vehicle diagnostics using the vehicle diagnostics client.
In this embodiment, when the client and the server establish network connection, when the server has a software upgrade package of the client and the software upgrade package is a forced upgrade attribute, the client will force upgrade according to the software upgrade package, and the upgraded client will be more beneficial to the use of the user, and meanwhile, the management of the after-sale server to the client of the user is also facilitated, and the after-sale cost is saved.
The method for controlling the use of the client in the embodiment of the present application is described above, and the client in the embodiment of the present application is described below, referring to fig. 4, where an embodiment of the client in the embodiment of the present application includes:
an inspection unit 401 for inspecting a connection state of the client and the server;
a calculating unit 402, configured to calculate, when the client does not establish a network connection with the server, a target duration between a networking time point stored when the client last establishes a network connection with the server and a current time point;
a prompting unit 403, configured to prompt a user to establish network connection between the client and the server if the target time period is greater than a preset time period threshold;
and a permission unit 404, configured to allow the user to use the client if the target duration is less than the preset duration threshold.
In a preferred implementation manner of this embodiment, when the client does not establish a network connection with the server, if the target time period is longer than the preset time period threshold, the permission unit 404 is further configured to suspend the user's use authority of the function of the client.
In a preferred implementation manner of this embodiment, the client further includes:
a determining unit 405, configured to determine that the server has a software upgrade package of the client;
an obtaining unit 406, configured to obtain a software upgrade package issued by a server;
the upgrade unit 407 is configured to upgrade and update the client according to the software upgrade package.
In a preferred implementation manner of this embodiment, the obtaining unit 406 is specifically configured to obtain a software upgrade package and an attribute of the software upgrade package that are issued by a server;
the upgrade unit 407 is specifically configured to upgrade the client according to the software upgrade package if the attribute of the software upgrade package is a forced upgrade attribute, and prompt the user whether to execute upgrade update of the client according to the software upgrade package if the attribute of the software upgrade package is not the forced upgrade attribute, and upgrade update of the client according to the software upgrade package when the user determines to upgrade update of the client.
In a preferred implementation manner of this embodiment, a preset duration threshold is preset by a server, where the preset duration threshold is set according to an attribute of the software upgrade package;
the attribute of the software upgrade package is preset through a server.
In a preferred implementation manner of this embodiment, the obtaining unit 406 is further configured to obtain and store a networking time point recorded by the server and a preset duration threshold preset by the server.
In a preferred implementation of this embodiment, the client is a vehicle diagnostic system client.
In this embodiment, the operations performed by the units in the client are similar to those described in the embodiments shown in fig. 2 to 3, and are not repeated here.
In this embodiment, when the target time period when the client does not establish the network connection with the server is longer than the preset time period threshold, the data interaction and transmission between the client and the server are affected, so the prompting unit 403 prompts the user to establish the network connection between the client and the server, and the upgrading unit 407 can obtain the software upgrading package from the server, and further execute upgrading and updating.
Referring to fig. 5, an embodiment of a client in the embodiment of the present application includes:
the client 500 may include one or more central processing units (central processing units, CPU) 501 and a memory 505, where the memory 505 stores one or more application programs or data.
Wherein the memory 505 may be volatile storage or persistent storage. The program stored in the memory 505 may include one or more modules, each of which may include a series of instruction operations in a client. Still further, the central processor 501 may be configured to communicate with the memory 505 and execute a series of instruction operations in the memory 505 on the client 500.
The client 500 may also include one or more power supplies 502, one or more wired or wireless network interfaces 503, one or more input/output interfaces 504, and/or one or more operating systems, such as Windows ServerTM, mac OS XTM, unixTM, linuxTM, freeBSDTM, etc.
The cpu 501 may perform the operations performed by the client in the embodiments shown in fig. 2 to 3, and detailed descriptions thereof are omitted herein.
Embodiments of the present application also provide a computer storage medium, where one embodiment includes: the computer storage medium has stored therein instructions that, when executed on a computer, cause the computer to perform the operations performed by the client in the embodiments shown in fig. 2-3.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, which are not repeated herein.
In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods may be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a storage medium, including several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a read-only memory (ROM), a random access memory (RAM, random access memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.

Claims (8)

1. A method for controlling use of a client, the method being applied to the client, the method comprising:
checking the connection state of the client and the server;
if the client is not connected, calculating a target duration from a networking time point stored when the client establishes network connection with the server last time to a current time point;
if the target time length is greater than a preset time length threshold, prompting a user to establish network connection between the client and the server;
if the target duration is smaller than the preset duration threshold, allowing the user to use the client;
wherein when the client establishes a network connection with the server, the method further comprises:
determining that the server has a software upgrade package of the client;
and acquiring the software upgrading package issued by the server, and upgrading and updating the client according to the software upgrading package.
2. The method according to claim 1, wherein the obtaining the software upgrade package issued by the server and upgrading and updating the client according to the software upgrade package includes:
acquiring the software upgrading package and the attribute of the software upgrading package issued by the server;
if the attribute of the software upgrading package is a forced upgrading attribute, upgrading and updating the client according to the software upgrading package;
if the attribute of the software upgrading package is not the forced upgrading attribute, prompting the user whether to execute upgrading updating of the client according to the software upgrading package;
and when the user determines to upgrade and update the client, upgrading and updating the client according to the software upgrade package.
3. The method according to claim 2, wherein the preset duration threshold is preset by the server, and the preset duration threshold is set according to the attribute of the software upgrade package; the attribute of the software upgrading package is preset through the server.
4. A method according to any one of claims 1 to 3, wherein when the client establishes a network connection with the server, the method further comprises:
and acquiring and storing the networking time point recorded by the server and the preset duration threshold preset by the server.
5. The method of claim 1, wherein when the client does not establish a network connection with the server, if the target time period is greater than the preset time period threshold, the method further comprises:
suspending the user right to use the function of the client.
6. A client, comprising:
the checking unit is used for checking the connection state of the client and the server;
the computing unit is used for computing target duration from a networking time point stored when the client establishes network connection with the server last time to a current time point when the client does not establish network connection with the server;
the prompting unit is used for prompting a user to establish network connection between the client and the server if the target time length is greater than a preset time length threshold;
a permission unit, configured to allow the user to use the client if the target duration is less than the preset duration threshold;
wherein when the client establishes a network connection with the server, the client further comprises:
the determining unit is used for determining that the server has the software upgrading package of the client;
the acquisition unit is used for acquiring the software upgrade package issued by the server;
and the upgrading unit is used for upgrading and updating the client according to the software upgrading package.
7. A client, comprising:
a processor, a memory, a bus, and an input/output device;
the processor is connected with the memory and the input and output equipment;
the bus is respectively connected with the processor, the memory and the input and output equipment;
the processor is used for checking the connection state of the client and the server, and calculating the target duration from the networking time point stored when the client establishes the network connection with the server last time to the current time point when the client does not establish the network connection with the server; if the target time length is greater than a preset time length threshold, prompting a user to establish network connection between the client and the server; if the target duration is smaller than the preset duration threshold, allowing the user to use the client;
when the client establishes network connection with the server, the processor is further used for determining that the server has a software upgrade package of the client; and acquiring the software upgrading package issued by the server, and upgrading and updating the client according to the software upgrading package.
8. A computer storage medium having instructions stored therein, which when executed on a computer, cause the computer to perform the method of any of claims 1 to 5.
CN202011041858.4A 2020-09-28 2020-09-28 Client use control method, client and computer storage medium Active CN112134961B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011041858.4A CN112134961B (en) 2020-09-28 2020-09-28 Client use control method, client and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011041858.4A CN112134961B (en) 2020-09-28 2020-09-28 Client use control method, client and computer storage medium

Publications (2)

Publication Number Publication Date
CN112134961A CN112134961A (en) 2020-12-25
CN112134961B true CN112134961B (en) 2023-08-08

Family

ID=73844338

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011041858.4A Active CN112134961B (en) 2020-09-28 2020-09-28 Client use control method, client and computer storage medium

Country Status (1)

Country Link
CN (1) CN112134961B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112711431A (en) * 2020-12-29 2021-04-27 杭州当贝网络科技有限公司 Wireless remote controller upgrading method and system
CN113407215A (en) * 2021-06-29 2021-09-17 山东新一代信息产业技术研究院有限公司 Automatic operation and maintenance method and system based on multi-node server mode
CN114063517A (en) * 2021-11-16 2022-02-18 天津金米特科技股份有限公司 Control method of wearable device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103731815A (en) * 2012-10-11 2014-04-16 北京新媒传信科技有限公司 Method and device for achieving mobile phone client software upgrading
CN104598286A (en) * 2015-02-26 2015-05-06 深圳市欧珀通信软件有限公司 Software updating method and device for mobile terminal
CN105302603A (en) * 2015-10-26 2016-02-03 广州视睿电子科技有限公司 Software upgrading method and device
CN109639827A (en) * 2019-01-07 2019-04-16 新华三云计算技术有限公司 Client side upgrading method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6751794B1 (en) * 2000-05-25 2004-06-15 Everdream Corporation Intelligent patch checker

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103731815A (en) * 2012-10-11 2014-04-16 北京新媒传信科技有限公司 Method and device for achieving mobile phone client software upgrading
CN104598286A (en) * 2015-02-26 2015-05-06 深圳市欧珀通信软件有限公司 Software updating method and device for mobile terminal
CN105302603A (en) * 2015-10-26 2016-02-03 广州视睿电子科技有限公司 Software upgrading method and device
CN109639827A (en) * 2019-01-07 2019-04-16 新华三云计算技术有限公司 Client side upgrading method and device

Also Published As

Publication number Publication date
CN112134961A (en) 2020-12-25

Similar Documents

Publication Publication Date Title
CN112134961B (en) Client use control method, client and computer storage medium
KR101835303B1 (en) Systems and methods for collecting, tracking, and storing system performance and event data for computing devices
US10002054B2 (en) Method and system for performing automatic system recovery
US20100318986A1 (en) Using software state tracking information to enact granular update rollback
US7065560B2 (en) Verification of computer program versions based on a selected recipe from a recipe table
US20060156129A1 (en) System for maintaining data
CN106980565B (en) Upgrading process monitoring method and device
US20140289719A1 (en) Automatic version management
CN113050960B (en) OTA upgrading method and device, vehicle-mounted terminal and storage medium
CN111506331A (en) Server BMC refreshing method, system, terminal and storage medium
CN111258854A (en) Model training method, alarm method based on prediction model and related device
CN112527589A (en) Process monitoring method and process monitoring device
CN112436974B (en) CDN data resource consistency detection method and device and computer equipment
CN114880004A (en) Firmware replacement method and device for BMC (baseboard management controller), server and storage medium
CN110971478A (en) Pressure measurement method and device for cloud platform service performance and computing equipment
CN114650211A (en) Fault repairing method, device, electronic equipment and computer readable storage medium
CN103942129A (en) Data center baseboard management controller (BMC) management system and method
CN113608939A (en) Server starting timing method, device, terminal and storage medium in performance test
CN112636986A (en) Gateway plug-in updating method and device
CN110874238A (en) Online service updating method and device
CN115242615B (en) Server operation management method and device, electronic equipment and storage medium
US20240129202A1 (en) Analysis device, analysis system, analysis method, and analysis program
CN112965886B (en) Step counting method, step counting device, terminal equipment and computer readable storage medium
CN113890825B (en) Interactive upgrade test method and device of equipment, storage medium and electronic equipment
CN114489884A (en) Application management method and device based on cloud desktop

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