CN109510816B - Service request validity verification method, client and server - Google Patents

Service request validity verification method, client and server Download PDF

Info

Publication number
CN109510816B
CN109510816B CN201811239450.0A CN201811239450A CN109510816B CN 109510816 B CN109510816 B CN 109510816B CN 201811239450 A CN201811239450 A CN 201811239450A CN 109510816 B CN109510816 B CN 109510816B
Authority
CN
China
Prior art keywords
client
service request
calculation
request information
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811239450.0A
Other languages
Chinese (zh)
Other versions
CN109510816A (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.)
Wuhan Jiyi Network Technology Co ltd
Original Assignee
Wuhan Jiyi 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 Wuhan Jiyi Network Technology Co ltd filed Critical Wuhan Jiyi Network Technology Co ltd
Priority to CN201811239450.0A priority Critical patent/CN109510816B/en
Publication of CN109510816A publication Critical patent/CN109510816A/en
Application granted granted Critical
Publication of CN109510816B publication Critical patent/CN109510816B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer And Data Communications (AREA)

Abstract

The embodiment of the invention provides a service request validity verification method, which comprises the following steps: receiving service request information sent by a client, wherein the service request information carries a calculation result obtained by the client through calculation by using a preset algorithm according to the obtained calculation parameters; and if the calculation result is judged to be correct, responding to the service request information. According to the service request validity verification method provided by the embodiment of the invention, the service request information carries the calculation result obtained by the client through calculation by using the preset algorithm according to the obtained calculation parameters, so that the client needs to consume certain calculation resources before sending the service request information, the cost for sending the service request information is increased, malicious requests are reduced, and the waste of server resources is avoided.

Description

Service request validity verification method, client and server
Technical Field
The embodiment of the invention relates to the technical field of computers, in particular to a service request validity verification method, a client and a server.
Background
With the rapid development and wide application of computer and network communication, a large amount of internet software is on the market, the internet software comprises a client and a server, the internet software directly takes the internet as a medium, and the client can experience various services provided by the server without installing unnecessary application plug-ins.
In the prior art, service requests sent by a client to a server are all exposed to the outside, anyone can know a contract interface of the service requests and forge service interface parameters to send the service requests, the service requests have no cost, and the data returned by the server can be easily acquired by anyone, and if a large number of illegal service requests exist, server resources can be consumed. Aiming at the exposure of the interface, the method avoids receiving a large number of illegal requests, the server can block a large number of IP addresses of clients sending service requests, or the relationship between contract interfaces is increased, the interface parameters are associated, and the parameters cannot be used independently.
However, the forbidden IP address is a post-processing behavior, the timeliness is poor, the associated logic of the contract interface parameter is easy to crack at the client, and the reliability and the safety are poor.
Disclosure of Invention
It is an object of embodiments of the present invention to provide a service request validity verification method, a client and a server that overcome or at least partially solve the above-mentioned problems.
In order to solve the foregoing technical problem, in one aspect, an embodiment of the present invention provides a method for verifying validity of a service request, including:
receiving service request information sent by a client, wherein the service request information carries a calculation result obtained by the client through calculation by using a preset algorithm according to the obtained calculation parameters;
and if the calculation result is judged to be correct, responding to the service request information.
On the other hand, an embodiment of the present invention provides another method for verifying validity of a service request, including:
calculating by using a preset algorithm according to the obtained calculation parameters to obtain a calculation result;
and sending service request information to a server, wherein the service request information carries the calculation result so that the server can verify the validity of the service request information according to the calculation result.
In another aspect, an embodiment of the present invention provides a server, including:
the receiving module is used for receiving service request information sent by a client, wherein the service request information carries a calculation result obtained by the client through calculation by using a preset algorithm according to the obtained calculation parameters;
and the checking module is used for responding to the service request information if the calculation result is judged to be correct.
In another aspect, an embodiment of the present invention provides a client, including:
the calculation module is used for calculating a calculation result by using a preset algorithm according to the obtained calculation parameters;
and the request module is used for sending service request information to a server, wherein the service request information carries the calculation result so that the server can verify the validity of the service request information according to the calculation result.
In another aspect, an embodiment of the present invention provides an electronic device, including:
the processor and the memory are communicated with each other through a bus; the memory stores program instructions executable by the processor, which when called by the processor are capable of performing the methods described above.
In yet another aspect, the present invention provides a non-transitory computer readable storage medium, on which a computer program is stored, which when executed by a processor, implements the above-mentioned method.
According to the service request validity verification method, the client and the server provided by the embodiment of the invention, the service request information carries the calculation result obtained by the client through calculation by using the preset algorithm according to the obtained calculation parameter, so that the validity of the service request information is verified, a certain amount of calculation resources are consumed before the client sends the service request information, the cost for sending the service request information is increased, malicious requests are reduced, and the waste of server resources is avoided.
Drawings
Fig. 1 is a schematic diagram illustrating a method for verifying validity of a service request according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a server according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a schematic diagram of a service request validity verification method according to an embodiment of the present invention, and as shown in fig. 1, an embodiment of the present invention provides a service request validity verification method, an execution subject of which is a server, and the method includes:
step S101, receiving service request information sent by a client, wherein the service request information carries a calculation result obtained by the client through calculation by using a preset algorithm according to the obtained calculation parameters;
and step S102, if the calculation result is judged to be correct, responding to the service request information.
Specifically, when the client sends the service request information to the server, the service request information needs to carry a calculation result obtained by the client performing calculation by using a preset algorithm according to the obtained calculation parameter. The calculation parameter may be a character string composed of characters, or may be other parameters such as a character. The preset algorithm can use an encryption algorithm or other algorithms, and different calculation results are output after different calculation parameters are input into the preset algorithm.
The calculation result is the basis for the server to judge whether the service request information is valid.
After the server receives the service request information, the calculation result is analyzed from the service request information, the calculation result is verified, if the calculation result is correct, the client side performs calculation, the service request information is valid, and then the server responds to the service request information and executes the next operation.
For example, the client receives a calculation parameter that is a character string aaaa, the client inputs the character string aaaa to a preset encryption algorithm for calculation, the output calculation result is 1234, the server receives service request information that is sent by the client and carries the calculation result 1234, analyzes the calculation result 1234, then verifies the calculation result 1234, and if the calculation result 1234 obtained after the encryption algorithm calculation is performed on the calculation parameter aaaa, the calculation result 1234 is correct, the service request information is valid, and then the server performs the next operation, for example, service data and the like are fed back to the client according to the service request information.
According to the service request validity verification method provided by the embodiment of the invention, the service request information carries the calculation result obtained by the client through calculation by using the preset algorithm according to the obtained calculation parameters, so that the client needs to consume certain calculation resources before sending the service request information, the cost for sending the service request information is increased, malicious requests are reduced, and the waste of server resources is avoided.
On the basis of the foregoing embodiment, further before the receiving the service request information sent by the client, the method further includes:
and sending a calculation parameter matched with the installation environment information of the client to the client, so that the client can calculate by using the preset algorithm according to the calculation parameter to obtain the calculation result.
Specifically, before receiving service request information sent by a client, a server first needs to determine a calculation parameter matched with the installation environment information of the client according to the obtained installation environment information of the client, and issues the calculation parameter matched with the installation environment to the client, so that the client performs calculation by using a preset algorithm according to the calculation parameter to obtain a calculation result.
The installation environment information of the client is used for indicating the local computing capacity of the client, and the server can issue different computing parameters according to different installation environment information. In addition, different installation environment preset algorithms may also be different.
According to the service request validity verification method provided by the embodiment of the invention, the service request information carries the calculation result obtained by the client through calculation by using the preset algorithm according to the obtained calculation parameters, so that the client needs to consume certain calculation resources before sending the service request information, the cost for sending the service request information is increased, malicious requests are reduced, and the waste of server resources is avoided.
On the basis of the foregoing embodiments, further, after receiving the service request information sent by the client, the method further includes:
and if the calculation result is judged to be wrong, discarding the service request information.
Specifically, after the server receives the service request information, the calculation result is analyzed from the service request information, the calculation result is checked, if the calculation result is wrong, it is indicated that the client does not perform calculation, the service request information is illegal, the server directly discards the service request information, and operation is prevented or service data is not returned to the client.
For example, if the client is a legal client, the received calculation parameter is also a character string aaaa, the client inputs the character string aaaa to a preset encryption algorithm for calculation, the output calculation result is 1234, the server analyzes the calculation result 1234 after receiving the service request information which is sent by the client and carries the calculation result 1234, then the server verifies the calculation result 1234, the verification is performed, if the calculation result 1234 is obtained after the encryption algorithm calculation for the calculation parameter aaaa, the calculation result 1234 is correct, the service request information is valid, and then the server performs the next operation, for example, service data and the like are fed back to the client according to the service request information.
If the client is an illegal client, the received calculation parameter is a character string aaaa, the illegal client has not been calculated, it does not get the computation result 1234, if an illegitimate client forges one computation result abc, then sending service request information carrying the computation result abc to the server, after the server receives the service request information carrying the computation result abc, the calculation result abc is analyzed from the calculation result abc, the server checks the calculation result abc, after the check, if, for the calculation parameter aaaa, after the calculation of the encryption algorithm, the calculation result should be 1234, if the current analyzed calculation result is abc, the calculation result abc is wrong, the service request information is invalid, the server will directly discard the service request information and prevent operation or not return service data to the illegal client.
According to the service request validity verification method provided by the embodiment of the invention, the service request information carries the calculation result obtained by the client through calculation by using the preset algorithm according to the obtained calculation parameters, so that the client needs to consume certain calculation resources before sending the service request information, the cost for sending the service request information is increased, malicious requests are reduced, and the waste of server resources is avoided.
The embodiment of the invention provides another service request validity verification method, the execution main body of which is a client, and the method comprises the following steps:
calculating by using a preset algorithm according to the obtained calculation parameters to obtain a calculation result;
and sending service request information to a server, wherein the service request information carries the calculation result so that the server can verify the validity of the service request information according to the calculation result.
Specifically, the client calculates a calculation result by using a preset algorithm according to a calculation parameter issued by the server.
The calculation parameter may be a character string composed of characters, or may be other parameters such as a character. The preset algorithm can use an encryption algorithm or other algorithms, and different calculation results are output after different calculation parameters are input into the preset algorithm.
And then, sending service request information to the server, wherein when the client sends the service request information to the server, the service request information needs to carry a calculation result obtained by the client through calculation by using a preset algorithm according to the obtained calculation parameters.
The calculation result is the basis for the server to judge whether the service request information is valid.
After the server receives the service request information, the calculation result is analyzed from the service request information, the calculation result is verified, if the calculation result is correct, the client side performs calculation, the service request information is valid, and then the server responds to the service request information and executes the next operation.
For example, the client receives a calculation parameter that is a character string aaaa, the client inputs the character string aaaa to a preset encryption algorithm for calculation, the output calculation result is 1234, the server receives service request information that is sent by the client and carries the calculation result 1234, analyzes the calculation result 1234, then verifies the calculation result 1234, and if the calculation result 1234 obtained after the encryption algorithm calculation is performed on the calculation parameter aaaa, the calculation result 1234 is correct, the service request information is valid, and then the server performs the next operation, for example, service data and the like are fed back to the client according to the service request information.
According to the service request validity verification method provided by the embodiment of the invention, the service request information carries the calculation result obtained by the client through calculation by using the preset algorithm according to the obtained calculation parameters, so that the client needs to consume certain calculation resources before sending the service request information, the cost for sending the service request information is increased, malicious requests are reduced, and the waste of server resources is avoided.
On the basis of the foregoing embodiment, further, before the obtaining, according to the obtained calculation parameter, a calculation result obtained by performing calculation by using a preset algorithm, the method further includes:
and sending the installation environment information of the client to the server so that the server issues the calculation parameters matched with the installation environment information to the client.
Specifically, before calculating a calculation result by using a preset algorithm according to the acquired calculation parameters, the client first needs to report the installation environment information of the client to the server.
The server needs to determine a calculation parameter matched with the installation environment information of the client according to the acquired installation environment information of the client, and issues the calculation parameter matched with the installation environment to the client, so that the client performs calculation according to the calculation parameter and by using a preset algorithm to obtain a calculation result.
The installation environment information of the client is used for indicating the local computing capacity of the client, and the server can issue different computing parameters according to different installation environment information. In addition, different installation environment preset algorithms may also be different.
According to the service request validity verification method provided by the embodiment of the invention, the service request information carries the calculation result obtained by the client through calculation by using the preset algorithm according to the obtained calculation parameters, so that the client needs to consume certain calculation resources before sending the service request information, the cost for sending the service request information is increased, malicious requests are reduced, and the waste of server resources is avoided.
Fig. 2 is a schematic diagram of a server according to an embodiment of the present invention, and as shown in fig. 2, the embodiment of the present invention provides a server, which includes a receiving module 201 and a verifying module 202, where:
the receiving module 201 is configured to receive service request information sent by a client, where the service request information carries a calculation result obtained by the client through calculation by using a preset algorithm according to an obtained calculation parameter;
the checking module 202 is configured to respond to the service request information if it is determined that the calculation result is correct.
Specifically, when the client sends the service request information to the server, the service request information needs to carry a calculation result obtained by the client performing calculation by using a preset algorithm according to the obtained calculation parameter. The calculation parameter may be a character string composed of characters, or may be other parameters such as a character. The preset algorithm can use an encryption algorithm or other algorithms, and different calculation results are output after different calculation parameters are input into the preset algorithm.
The calculation result is the basis for the server to judge whether the service request information is valid.
After the server receives the service request information through the receiving module 201, the calculation result is analyzed from the service request information, the calculation result is verified through the verifying module 202, if the calculation result is correct, it indicates that the client performs calculation, the service request information is valid, and then the server responds to the service request information and executes the next operation.
For example, the client receives a calculation parameter that is a character string aaaa, the client inputs the character string aaaa to a preset encryption algorithm for calculation, the output calculation result is 1234, the server receives service request information that is sent by the client and carries the calculation result 1234, analyzes the calculation result 1234, then verifies the calculation result 1234, and if the calculation result 1234 obtained after the encryption algorithm calculation is performed on the calculation parameter aaaa, the calculation result 1234 is correct, the service request information is valid, and then the server performs the next operation, for example, service data and the like are fed back to the client according to the service request information.
According to the server provided by the embodiment of the invention, the service request information carries the calculation result obtained by the client through calculation by using the preset algorithm according to the obtained calculation parameter, and the validity of the service request information is verified, so that the client needs to consume certain calculation resources before sending the service request information, the cost for sending the service request information is increased, malicious requests are reduced, and the waste of server resources is avoided.
The embodiment of the invention provides a client, which comprises a computing module and a request module, wherein:
the calculation module is used for calculating a calculation result by using a preset algorithm according to the acquired calculation parameters;
the request module is used for sending service request information to a server, wherein the service request information carries the calculation result, so that the server can verify the validity of the service request information according to the calculation result.
Specifically, firstly, the client calculates a calculation result by using a preset algorithm according to a calculation parameter issued by the server through a calculation module.
The calculation parameter may be a character string composed of characters, or may be other parameters such as a character. The preset algorithm can use an encryption algorithm or other algorithms, and different calculation results are output after different calculation parameters are input into the preset algorithm.
Then, the request module sends service request information to the server, and when the client sends the service request information to the server, the service request information needs to carry a calculation result obtained by the client through calculation by using a preset algorithm according to the obtained calculation parameters.
The calculation result is the basis for the server to judge whether the service request information is valid.
After the server receives the service request information, the calculation result is analyzed from the service request information, the calculation result is verified, if the calculation result is correct, the client side performs calculation, the service request information is valid, and then the server responds to the service request information and executes the next operation.
For example, the client receives a calculation parameter that is a character string aaaa, the client inputs the character string aaaa to a preset encryption algorithm for calculation, the output calculation result is 1234, the server receives service request information that is sent by the client and carries the calculation result 1234, analyzes the calculation result 1234, then verifies the calculation result 1234, and if the calculation result 1234 obtained after the encryption algorithm calculation is performed on the calculation parameter aaaa, the calculation result 1234 is correct, the service request information is valid, and then the server performs the next operation, for example, service data and the like are fed back to the client according to the service request information.
According to the client provided by the embodiment of the invention, the service request information carries the calculation result obtained by the client through calculation by using the preset algorithm according to the obtained calculation parameter, and the validity of the service request information is verified, so that the client needs to consume certain calculation resources before sending the service request information, the cost for sending the service request information is increased, malicious requests are reduced, and the waste of server resources is avoided.
Fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, and as shown in fig. 3, the electronic device includes: a processor 301, a memory 302, and a bus 303;
the processor 301 and the memory 302 complete communication with each other through the bus 303;
processor 301 is configured to call program instructions in memory 302 to perform the methods provided by the various method embodiments described above, including, for example: receiving service request information sent by a client, wherein the service request information carries a calculation result obtained by the client through calculation by using a preset algorithm according to the obtained calculation parameters; and if the calculation result is judged to be correct, responding to the service request information.
Or comprises the following steps: calculating by using a preset algorithm according to the obtained calculation parameters to obtain a calculation result; and sending service request information to a server, wherein the service request information carries the calculation result so that the server can verify the validity of the service request information according to the calculation result.
Embodiments of the present invention provide a computer program product comprising a computer program stored on a non-transitory computer-readable storage medium, the computer program comprising program instructions that, when executed by a computer, enable the computer to perform the methods provided by the above-mentioned method embodiments, for example, including: receiving service request information sent by a client, wherein the service request information carries a calculation result obtained by the client through calculation by using a preset algorithm according to the obtained calculation parameters; and if the calculation result is judged to be correct, responding to the service request information.
Or comprises the following steps: calculating by using a preset algorithm according to the obtained calculation parameters to obtain a calculation result; and sending service request information to a server, wherein the service request information carries the calculation result so that the server can verify the validity of the service request information according to the calculation result.
Embodiments of the present invention provide a non-transitory computer-readable storage medium, which stores computer instructions, where the computer instructions cause the computer to perform the methods provided by the above method embodiments, for example, the methods include: receiving service request information sent by a client, wherein the service request information carries a calculation result obtained by the client through calculation by using a preset algorithm according to the obtained calculation parameters; and if the calculation result is judged to be correct, responding to the service request information.
Or comprises the following steps: calculating by using a preset algorithm according to the obtained calculation parameters to obtain a calculation result; and sending service request information to a server, wherein the service request information carries the calculation result so that the server can verify the validity of the service request information according to the calculation result.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
The above-described embodiments of the apparatuses and devices are merely illustrative, where the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (7)

1. A service request validity verification method is characterized by comprising the following steps:
receiving service request information sent by a client, wherein the service request information carries a calculation result obtained by the client through calculation by using a preset algorithm according to the obtained calculation parameters;
if the calculation result is judged to be correct, the service request information is responded;
before receiving the service request information sent by the client, the method further includes:
sending a calculation parameter matched with the installation environment information of the client to the client, so that the client can calculate by using the preset algorithm according to the calculation parameter to obtain the calculation result;
the installation environment information of the client is used for indicating the local computing capacity of the client, the server can issue different computing parameters according to different installation environment information, and different installation environment preset algorithms are different.
2. The method of claim 1, wherein after receiving the service request information sent by the client, the method further comprises:
and if the calculation result is judged to be wrong, discarding the service request information.
3. A service request validity verification method is characterized by comprising the following steps:
calculating by using a preset algorithm according to the obtained calculation parameters to obtain a calculation result;
sending service request information to a server, wherein the service request information carries the calculation result so that the server can verify the validity of the service request information according to the calculation result;
before the calculation result obtained by calculating according to the obtained calculation parameters by using a preset algorithm, the method further comprises the following steps:
sending installation environment information of a client to the server so that the server issues calculation parameters matched with the installation environment information to the client;
the installation environment information of the client is used for indicating the local computing capacity of the client, the server can issue different computing parameters according to different installation environment information, and different installation environment preset algorithms are different.
4. A server, comprising:
the receiving module is used for receiving service request information sent by a client, wherein the service request information carries a calculation result obtained by the client through calculation by using a preset algorithm according to the obtained calculation parameters;
the checking module is used for responding to the service request information if the calculation result is judged to be correct;
the server is further used for sending a calculation parameter matched with the installation environment information of the client to the client, so that the client can calculate according to the calculation parameter by using the preset algorithm to obtain the calculation result;
the installation environment information of the client is used for indicating the local computing capacity of the client, the server issues different computing parameters according to different installation environment information, and different installation environment preset algorithms are different.
5. A client, comprising:
the client is used for sending the installation environment information of the client to the server so that the server can issue calculation parameters matched with the installation environment information to the client;
the installation environment information of the client is used for indicating the local computing capacity of the client, the server can issue different computing parameters according to different installation environment information, and different installation environment preset algorithms are different;
the calculation module is used for calculating a calculation result by using a preset algorithm according to the obtained calculation parameters;
and the request module is used for sending service request information to a server, wherein the service request information carries the calculation result so that the server can verify the validity of the service request information according to the calculation result.
6. An electronic device, comprising:
the processor and the memory are communicated with each other through a bus; the memory stores program instructions executable by the processor, the processor invoking the program instructions to perform the method of any of claims 1 to 3.
7. A non-transitory computer-readable storage medium having stored thereon a computer program, which, when executed by a processor, implements the method of any one of claims 1 to 3.
CN201811239450.0A 2018-10-23 2018-10-23 Service request validity verification method, client and server Active CN109510816B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811239450.0A CN109510816B (en) 2018-10-23 2018-10-23 Service request validity verification method, client and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811239450.0A CN109510816B (en) 2018-10-23 2018-10-23 Service request validity verification method, client and server

Publications (2)

Publication Number Publication Date
CN109510816A CN109510816A (en) 2019-03-22
CN109510816B true CN109510816B (en) 2021-05-14

Family

ID=65745969

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811239450.0A Active CN109510816B (en) 2018-10-23 2018-10-23 Service request validity verification method, client and server

Country Status (1)

Country Link
CN (1) CN109510816B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112418678A (en) * 2020-11-24 2021-02-26 深圳集智数字科技有限公司 Engineering quality measuring method, server and client

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101515857A (en) * 2008-02-20 2009-08-26 华为技术有限公司 Multimedia capability-managing method and device
CN104767766A (en) * 2015-05-08 2015-07-08 广州视源电子科技股份有限公司 Web Service interface verification method, Web Service server and client
CN106156285A (en) * 2016-06-27 2016-11-23 北京小米移动软件有限公司 Image display method and device
EP2252030B1 (en) * 2009-05-14 2017-07-19 Hitachi Maxell, Ltd. Content transmitter and receiver apparatus and content transmitting and receiving method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101515857A (en) * 2008-02-20 2009-08-26 华为技术有限公司 Multimedia capability-managing method and device
EP2252030B1 (en) * 2009-05-14 2017-07-19 Hitachi Maxell, Ltd. Content transmitter and receiver apparatus and content transmitting and receiving method
CN104767766A (en) * 2015-05-08 2015-07-08 广州视源电子科技股份有限公司 Web Service interface verification method, Web Service server and client
CN106156285A (en) * 2016-06-27 2016-11-23 北京小米移动软件有限公司 Image display method and device

Also Published As

Publication number Publication date
CN109510816A (en) 2019-03-22

Similar Documents

Publication Publication Date Title
US20180097779A1 (en) Method and system for providing a transaction forwarding service in blockchain implementations
US10476833B2 (en) Warning method and apparatus, and processing server
US9230066B1 (en) Assessing risk for third-party data collectors
CN107046544B (en) Method and device for identifying illegal access request to website
CN107465693B (en) Request message processing method and device
WO2020259389A1 (en) Csrf vulnerability detection method and apparatus
CN111953770B (en) Route forwarding method and device, route equipment and readable storage medium
US20170279706A1 (en) Link processing method, apparatus, and system
CN113259429A (en) Session keeping control method, device, computer equipment and medium
CN109510816B (en) Service request validity verification method, client and server
CN108449186B (en) Security verification method and device
CN110740163A (en) Idempotent control method, idempotent control device, electronic equipment and readable storage medium
CN111211902A (en) Digital signature method and device based on enterprise browser
CN109150790A (en) The recognition methods of Web page crawler and device
CN104348815A (en) Method and device for verifying verification code
CN102243738A (en) Safety payment system and method
EP3174263A1 (en) Apparatus and method for verifying detection rule
CN111832015A (en) Abnormal request identification method, device, system, medium and electronic equipment
CN113225348B (en) Request anti-replay verification method and device
US12079099B2 (en) Managing virtual application performance in a virtual computing environment
US20220398310A1 (en) Sftp batch processing and credentials api for offline fraud assessment
CN109150871B (en) Security detection method and device, electronic equipment and computer readable storage medium
CN113986578A (en) Message checking method and first equipment
CN112272211A (en) Service request processing method, device and system
WO2021027505A1 (en) Smart contract-based data processing method, and related device

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