CN109788349A - A kind of method and relevant apparatus detecting computing capability - Google Patents

A kind of method and relevant apparatus detecting computing capability Download PDF

Info

Publication number
CN109788349A
CN109788349A CN201910038559.6A CN201910038559A CN109788349A CN 109788349 A CN109788349 A CN 109788349A CN 201910038559 A CN201910038559 A CN 201910038559A CN 109788349 A CN109788349 A CN 109788349A
Authority
CN
China
Prior art keywords
client
message
live streaming
platform server
streaming platform
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910038559.6A
Other languages
Chinese (zh)
Other versions
CN109788349B (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 Douyu Network Technology Co Ltd
Original Assignee
Wuhan Douyu 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 Douyu Network Technology Co Ltd filed Critical Wuhan Douyu Network Technology Co Ltd
Priority to CN201910038559.6A priority Critical patent/CN109788349B/en
Publication of CN109788349A publication Critical patent/CN109788349A/en
Application granted granted Critical
Publication of CN109788349B publication Critical patent/CN109788349B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Power Sources (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the present application discloses a kind of method and relevant apparatus for detecting computing capability, for improving the safety and efficiency that communicate between server and client.The embodiment of the present application method includes: live streaming Platform Server to client transmission first message, and first message is used to indicate the computing capability of detecting customer terminal;Platform Server is broadcast live and receives the first response message in response to first message that client is sent, client is calculated power detection calculated result and is calculated according to first message according to predetermined manner by client;Live streaming Platform Server obtains platform according to predetermined manner according to first message and client sequence number and calculates power detection calculated result;If judging, client calculates power detection calculated result and calculates power detection calculating the result is that no consistent with platform;If so, live streaming Platform Server consumes total duration determination with calculating according to the equipment identification information of client and stores the computing capability of client, the computing capability of client and calculating consume total duration negative correlation.

Description

A kind of method and relevant apparatus detecting computing capability
Technical field
This application involves live streaming platform field more particularly to a kind of methods and relevant apparatus for detecting computing capability.
Background technique
With the continuous universal and development of network, live streaming becomes more and more popular with users on line.It is flat for some live streamings For platform, all may all to be utilized by hacker by way of obtaining income online number simultaneously, hacker passes through False client is forged to obtain corresponding income, compromises manufacturer's interests.
In consideration of it, in the prior art, by the threshold for improving hack to the encryption of agreement.But due to client It is that can be published in the equipment of all users, so that hacker is always available to cracking by the conversed analysis of plenty of time Method.Therefore a kind of safer and efficient verification method is needed, even if making the feelings of the authentication function of hacker's known client Also the method for more difficult benefit under condition.
Summary of the invention
The embodiment of the present application provides a kind of method and relevant apparatus for detecting computing capability, for improving server and visitor The safety and efficiency communicated between the end of family.
The first aspect of the embodiment of the present application provides a kind of method for detecting computing capability, comprising: live streaming platform service Device sends first message to client, and the first message is used to indicate the computing capability for detecting the client, and described first Message includes timestamp information, encryption number and the random data of presently described live streaming Platform Server;The live streaming platform clothes Business device receives the first response message in response to the first message that the client is sent, and first response message includes It calculates consumption total duration, the equipment identification information of the client and client calculates power detection calculating as a result, the client is calculated Power detection calculated result is calculated according to the first message according to predetermined manner by the client, client's terminal sequence It number is issued from the live streaming Platform Server to the client;The live streaming Platform Server is according to the first message and institute It states client sequence number and obtains platform calculation power detection calculated result according to the predetermined manner;The live streaming Platform Server judgement The client calculates power detection calculated result and calculates power detection calculating the result is that no consistent with the platform;If so, the live streaming Platform Server is determining according to the equipment identification information of the client and calculating consumption total duration and stores the client The computing capability at end, the computing capability of the client and calculating consumption total duration are negatively correlated.
In a kind of possible embodiment, the live streaming Platform Server is according to the first message and the client sequence Row number obtains platform to calculate power detection calculated result including: the live streaming Platform Server according to the visitor according to the predetermined manner Family terminal sequence number, the timestamp information, the equipment identification information of the client, current room number and user identity information into Row HASH operation, obtains the first key;The live streaming Platform Server carries out HASH operation according to the random data, obtains the Two keys;The live streaming Platform Server obtains target key according to first key and second key, and according to institute The Blowfish computations that the target key carries out n times are stated, the platform is obtained and calculates power detection calculated result.
In a kind of possible embodiment, the live streaming Platform Server is according to the client sequence number, the time It stabs information, the equipment identification information of the client, current room number and user identity information and carries out HASH operation, obtain first Key includes: to obtain first key: Key1=Md5.Create (sessionid+UserId+ in the following way DeviceID+roomid+TimeStamp);The Key1 is for indicating first key, and the sessionid is for indicating The sequence number of the client, the UserId is for indicating the user identity information, and the DeviceID is for indicating institute The equipment identification information of client is stated, the roomid is for indicating the current room number, and the TimeStamp is for indicating The timestamp information, the Md5.Create () are used to indicate the calculating interface of HASH algorithm md5.
In a kind of possible embodiment, the live streaming Platform Server receive that the client sends in response to described First response message of first message includes: the example of the live streaming Platform Server creation message parsing class DataDecoder Object;The live streaming Platform Server parses class DataDecoder according to the message and parses first response message, with solution Analysis obtains the type of first response message, described calculate consumes total duration, the equipment identification information of the client and visitor It calculates power and detects calculated result in family end.
The second aspect of the embodiment of the present application provides a kind of method for detecting computing capability, comprising: client creation is visited Survey line journey, the detection thread is for realizing the computing capability for detecting the client;It is flat that the client receives the live streaming The first message that platform server is sent, the first message are used to indicate the computing capability for detecting the client, and described first Message includes timestamp information, encryption number and the random data of presently described live streaming Platform Server;Based on the detection line Journey, the client obtains calculating consumption total duration according to predetermined manner according to the first message and client calculates power surveymeter Calculate result;In response to the first message, the client sends the first response message to the live streaming Platform Server, described First response message includes calculating consumption total duration, the equipment identification information of the client and client to calculate power detection calculating knot Fruit.
In a kind of possible embodiment, the client creation detection thread includes: the client by calling system Function pthread_create unite to create the detection thread, the system function pthread_create includes being directed toward thread Pointer, thread attribute, the address of the detection thread and the operation execution parameter for detecting thread of identifier.
The third aspect of the embodiment of the present application provides a kind of live streaming Platform Server, comprising: Transmit-Receive Unit is used for visitor Family end sends first message, and the first message is used to indicate the computing capability for detecting the client, the first message packet Include timestamp information, encryption number and the random data of presently described live streaming Platform Server;Receive what the client was sent In response to the first response message of the first message, first response message includes calculating consumption total duration, the client The equipment identification information and client at end are calculated power detection and are calculated as a result, the client calculates power detection calculated result by the client End be calculated according to the first message according to predetermined manner, the client sequence number from the live streaming Platform Server to The client issues;Computing unit is used for according to the first message and the client sequence number according to the default side Formula obtains platform and calculates power detection calculated result;Judging unit, for judging that the client calculates power detection calculated result and described Platform is calculated power detection and is calculated the result is that no consistent;Determination unit, for if so, according to the equipment identification information of the client It is determining and store the computing capability of the client with the consumption total duration that calculates, the computing capability of the client with it is described It is negatively correlated to calculate consumption total duration.
The fourth aspect of the embodiment of the present application provides a kind of client, comprising: creating unit, for creating detection line Journey, the detection thread is for realizing the computing capability for detecting the client;Transmit-Receive Unit, for receiving the live streaming platform The first message that server is sent, the first message are used to indicate the computing capability for detecting the client, and described first disappears Breath includes timestamp information, encryption number and the random data of presently described live streaming Platform Server;Based on the detection thread, Computing unit calculates consumption total duration and client calculation power surveymeter for obtaining according to the first message according to predetermined manner Calculate result;In response to the first message, the Transmit-Receive Unit is also used to send the first response to the live streaming Platform Server Message, first response message include calculating consumption total duration, the equipment identification information of the client and client to calculate power Detect calculated result.
The 5th aspect of the application provides a kind of electronic equipment, including memory, processor, which is characterized in that the place It is realized as described in above-mentioned first aspect any one when reason device is for executing the computer management class method stored in memory Voice connects the step of mode of wheat.
The 6th aspect of the application provides a kind of computer readable storage medium, in the computer readable storage medium It is stored with instruction, when run on a computer, so that computer executes method described in above-mentioned various aspects.
The 7th aspect of the application provides a kind of computer program product comprising instruction, when it runs on computers When, so that computer executes method described in above-mentioned various aspects.
As can be seen from the above technical solutions, the embodiment of the present application has the advantage that live streaming Platform Server to client End sends first message, and the first message is used to indicate the computing capability for detecting the client, and the first message includes Timestamp information, encryption number and the random data of presently described live streaming Platform Server;The live streaming Platform Server receives The first response message in response to the first message that the client is sent, first response message include calculating consumption Total duration, the equipment identification information of the client and client are calculated power detection and are calculated as a result, the client calculates power surveymeter It calculates result to be calculated according to the first message according to predetermined manner by the client, the client sequence number is by described Live streaming Platform Server is issued to the client;The live streaming Platform Server is according to the first message and the client Sequence number obtains platform according to the predetermined manner and calculates power detection calculated result;The live streaming Platform Server judges the client It calculates power detection calculated result and calculates with platform calculation power detection the result is that no consistent in end;If so, the live streaming platform service Equipment identification information and the calculating that calculates consumption total duration determination and store the client of the device according to the client Ability, the computing capability of the client and calculating consumption total duration are negatively correlated.In the embodiment of the present application, live streaming platform clothes Business device consumes total duration according to the calculating of client and obtains the computing capability of client, allows and Platform Server foundation is broadcast live The different computing capability of equipment issues different Validation Modes, improves the safety and effect communicated between server and client Rate.
Detailed description of the invention
Fig. 1 is a kind of flow chart of method for detecting computing capability provided by the embodiments of the present application;
Fig. 2 a is the structural schematic diagram of the possible live streaming Platform Server of one kind provided by the embodiments of the present application;
Fig. 2 b is a kind of structural schematic diagram of possible client provided by the embodiments of the present application;
Fig. 3 a is a kind of hardware structural diagram of possible electronic equipment provided by the embodiments of the present application;
Fig. 3 b is the hardware structural diagram of another possible electronic equipment provided by the embodiments of the present application
Fig. 4 a is a kind of hardware structural diagram of possible computer readable storage medium provided by the embodiments of the present application;
Fig. 4 b is the hardware structural diagram of another possible computer readable storage medium provided by the embodiments of the present application.
Specific embodiment
The embodiment of the present application provides a kind of method and relevant apparatus for detecting computing capability, for improving server and visitor The safety and efficiency communicated between the end of family.
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on Embodiment in the application, those skilled in the art's every other implementation obtained without making creative work Example, shall fall in the protection scope of this application.
It is understood that the computing capability of different equipment is different, for example, for iphoneX mobile phone and for For iphone4 mobile phone, the cpu performance itself having is different, therefore the computing capability of two equipment falls far short, then taking Device be engaged in when power verifying is calculated in the verifying for carrying out computing capability to client, if the Validation Mode that server issues is just as , then needing to calculate for a long time for poor equipment, and completion can be calculated soon for good equipment. Therefore will cause server be difficult select a suitable computation model, conventional method be by obtain equipment CPU model or Person's device model is to obtain the computing capability of the equipment, however hacker can then obtain the interface of device model by hook To distort the computing capability of equipment.So need to provide a kind of more reasonably more perfect calculation for obtaining client computing capability Method.In consideration of it, a set of algorithm is devised herein to investigate the computing capability of client, so that Platform Server is broadcast live can foundation The different computing capability of equipment issues different Validation Modes.
Referring to Fig. 1, for a kind of flow chart for the method for detecting computing capability provided by the embodiments of the present application, it is specific to wrap It includes:
101, Platform Server and client consulted encryption algorithm is broadcast live;
It should be noted that be a proof of the true and false of a client for the entire scheme of the application, therefore In the verification process of the entire client true and false, need to select a set of algorithm can be obtained based on different inputs it is different defeated Out, while server can also carry out the verifying of client calculated result, need to meet its data length after initial data encryption The duration for not changing, while calculating needs ratio faster.In the embodiment of the present application, it can choose Blowfish encryption and calculate Method, this algorithm meet above-mentioned condition, at the same it is subsequent bright using the calculation strong evidence of client when also will use this algorithm.So The calculation strong evidence of this paper is bright, is to issue one piece of data by server and be given to client constantly to be encrypted, by constantly plus Close, final to encrypt the time consumed by preset times to obtain the calculation power probe value of its client, wherein the preset times can be with It is 1000 times.
And should be mentioned that the relevant verifying of live streaming platform and proof in the application, then it is related then to can use live streaming platform Characteristic enhance the safety of algorithm and crack threshold.For security algorithm and safety verification, more diverse information It is more capable of providing the safety of algorithm, while being herein also to carry out some calculation power detections or even some equipment to different equipment It will do it multiple calculation power detection, it is therefore desirable to which the result calculated when detection every time is all different, while each user is also different Sample.Live streaming Platform Server can be all logged on after client terminal start-up each first, then client will create a transmission control The length of agreement (transmission control protocol, TCP) connects to connect the barrage server of live streaming platform, from And barrage is sended and received, server will create a unique sequence number i.e. in order to distinguish different users then at this time Sessionid is distinguished, and in subsequent step, sequence number, that is, sessionid of each user, which can also be participated in, calculates power detection Calculating in.In addition, can have an equipment identification information for every equipment, i.e. the unique DeviceID of equipment is used This equipment is indicated, then can also participate in equipment DeviceID in entire calculating process in the present embodiment.For every When a user logs on to live streaming platform, each user also has the user i.e. userid of unique user identity information, this reality Can also userid be participated in entire calculating process by applying example.Furthermore when watching live streaming based on user, being also bound to, there are one A room number roomid, thus every time into different rooms when, it is that power is calculated in entire detection the result is that different, so roomid Also it can participate in the detection process entirely calculated.In order to ensure that every time live streaming Platform Server carries out client to calculate power detection When result it is all inconsistent, to improve the safety of algorithm, then when live streaming Platform Server is detected by client every time, Server can all carry a live streaming Platform Server moment i.e. timestamp information at that time and be dealt into client, thus the timestamp Information can then participate in entire calculating process, while Platform Server is broadcast live in order to ensure the randomness of calculated result, also can It generates one section of random data and is issued to client, client can participate in data of calculating in the entire calculating for calculating power detection.
As a result it will be appreciated that calculating power detection for the client of this paper is to issue detection number based on live streaming Platform Server According to and calculation times, client calculate obtaining according to the data that issue of live streaming Platform Server as a result, client will As a result live streaming Platform Server is reported, live streaming Platform Server is known that the corresponding gradient of calculation power of client.After being Continuous client calculates power verifying model and provides basic data.So live streaming Platform Server will issue data to client and visitor Family end transmits data to live streaming Platform Server after calculating completion result, then client and server is needed to carry out network protocol Negotiation and transmission, i.e., live streaming Platform Server need to client consulted encryption algorithm, specifically, live streaming Platform Server and visitor Family end negotiates calculate the data that power detection needs and the predetermined manner that both sides share, and how the predetermined manner is for be calculated Power detects calculated result.
102, client creation detection thread;
After Platform Server and client consulted encryption algorithm is broadcast live, client will create detection thread calculate power and visit The calculating of survey.I.e. for client, the independent calculation power detection for being broadcast live Platform Server requirement is needed, so needing One independent thread of creation calculates the function calculating of power detection to execute, and calculating consumption total duration just can be than calibrated obtained from Really.Specifically, it is necessary first to define a thread and execute function, so that the thread of creation can go to execute the thread execution letter write Number.It is executed in this thread and then needs to write the entire calculating logic for calculating power detection inside function, next then pass through calling system Function pthread_create creates a thread, and specific function is accomplished by
static void*thread_func(void*arg){
int pthread_create(pthread_t*tidp,const pthread_attr_t*attr,
(void*)(*start_rtn)(void*),void*arg);
};
Wherein first parameter pthread_t*tidp is the pointer for being directed toward thread identifier;Wherein second parameter Const pthread_attr_t*attr is used to that thread attribute is arranged;Wherein third parameter (void*) (* start_rtn) (void*) be thread operation function address, that is to say that the thread write herein executes function thread_func;Wherein arg is then It is the incoming parameter that active thread executes function.Next then pass through calling system function pthread_create creation one herein A thread, specific implementation function are as follows:
pthread_create(&tidp,NULL,thread_func,(void*)arg);
It is understood that this detection thread can go to hold after this line code detects thread creation after the completion of executing Code logic in line function thread_func.
103, live streaming Platform Server sends first message to client;
When live streaming Platform Server needs the computing capability of detecting customer terminal, live streaming Platform Server is sent to client First message, the first message are used to indicate the computing capability of detecting customer terminal, therefore according to Platform Server is broadcast live in step 101 Negotiation between client, first message include the timestamp information of current live Platform Server, encryption times N and random Data, wherein N is positive integer, for example, N can be 1000.Specifically, live streaming Platform Server can in the following manner to Client sends first message:
Type@=CalcAbilityReq/TimeStamp@=1540100990/Times@=1000/RandData@= ab123dab9876abdabcd34a3aaaa32453/;
Type@is the type of first message, and type@=CalcAbilityReq indicates that the type is to issue data detection The computing capability of client;@=1540100990 item TimeStamp indicate the current time stamp information of live streaming Platform Server; @=1000 item Times indicate the calculation times that live streaming Platform Server requirement client is encrypted, i.e., above-mentioned N; RandData@=ab123dab9876abdabcd34a3aaaa32453/ is then the random data in first message, i.e. live streaming is flat Platform server will be sent to client and carry out calculating the random data that power calculates.
It is understood that this first to reinforce the safety of data transmission between live streaming Platform Server and client Message can be transferred to client after encryption, and cipher mode can be the mode of symmetric cryptography or the side of asymmetric cryptosystem Formula, specifically herein without limitation.It should be noted that the cipher mode is also that live streaming Platform Server and client appoint in advance Fixed, i.e., after live streaming Platform Server encrypts first message by cipher mode, client can be using the corresponding cipher mode Manner of decryption is decrypted.
104, client obtains calculating consumption total duration according to first message according to predetermined manner and client calculates power detection Calculated result;
105, client sends the first response message to live streaming Platform Server;
After client receives the first message that live streaming Platform Server is sent, it will do it parsing first, parse first The content of each field in message, and then client can be calculated with local algorithm according to the content of each field in client End is reported to server after calculating power detection result.It should be noted that if being broadcast live after Platform Server encrypts first message again It is sent to client, then after client receives encrypted first message, also needs first to decrypt, then parsed.Wherein, this Shen Please be in embodiment, client includes: to the decryption of first message
1) instance objects of a message parsing class DataDecoder are created first, and specific implementation function is as follows:
DataDecoder*pDecoder=new DataDecoder ();
2) it parses class DataDecoder according to message to parse the first message received, specific implementation function is as follows:
pDecoder->Parse(buf);
Wherein buf indicates the first message that the live streaming Platform Server received issues.This first message is obtained after parsing Type of message, specific implementation function it is as follows:
Std::string cmdtype=std::string (pDecoder- > GetItem (" type "));
The type of message for obtaining first message can be parsed by this function, wherein cmdtype value indicates first message Type.In the embodiment of the present application, if the type of first message is the message for calculating power detection, also need to parse other words Section, to obtain the calculation times in first message, timestamp information and random number, specific implementation function is as follows:
After being resolved to each field, i.e. calculation times Times, current timestamp information TimeStamp and random number According to RandData, subsequent client can carry out the calculating of data by the Encryption Algorithm of this paper.
After client receives first message, parses first message and the first sound is generated according to each field that parsing obtains Message is answered, wherein the first response message includes calculating consumption total duration, the equipment identification information of client and client to calculate power spy Calculated result is surveyed, for example, the first response message can be by being sent to live streaming Platform Server with minor function:
Type@=CalcAbilityRes/elapse@=990/DeviceID@=ab234addda89/ ResultData@=adabcd34ab3487aad822daaabbbbccc2/;
Wherein type@=CalcAbilityRes indicates the first response message, i.e. client replys that server issues One message;@=990 item elapse indicate that the calculating consumption total duration of client, i.e. client calculate consumed total time milli Number of seconds;The equipment identification information of DeviceID@=ab234addda89 expression client;
ResultData@=adabcd34ab3487aad822daaabbbbccc2 indicates that client calculates power detection result and is Client calculates the result data that power detection calculates.Calculating when client then can be included in for these data after the completion of power detection calculates Live streaming Platform Server is reported in one response message.It is understood that the first response message for reporting of client can also be with Live streaming Platform Server is re-send to after encryption.
Specifically, it how next it will be described for client according to first message the first response message of generation, including counted It calculates consumption total duration and client calculates power and detects calculated result:
In the embodiment of the present application, the logic function in the detection thread thread_func that step 102 creates is executed.Specifically It is accomplished by and defines the initial time that a variable record beginning client calculate power detection first,
static void*thread_func(void*arg){
Uint64_t nStartTime=Time ();
NStartTime is used to indicate that record to calculate the initial time of power detection, can be by calling in the embodiment of the present application Function Time () is united to obtain the initial time.
Secondly, calculate again client calculate power detection calculate as a result, include: 1) client according to the client in first message Sequence number, the equipment identification information of timestamp information and client and current room number and user identity information carry out HASH Operation obtains the first key, and specific implementation function is as follows: Key1=Md5.Create (sessionid+UserId+DeviceID +roomid+TimeStamp);Wherein Key1 is used to indicate the sequence number of client for the first key of expression, sessionid, For indicating that user identity information, DeviceID are used for the equipment identification information of client, roomid works as UserId for indicating Preceding room number, TimeStamp is for indicating timestamp information, and Md5.Create () is for indicating that the calculating of HASH algorithm md5 connects Mouthful, i.e., it by these data include the sessionid and Userid and equipment that Platform Server creation is broadcast live in the embodiment of the present application Unique DeviceID and room number and timestamp information TimeStamp carry out md5 together and the first key Key1 are calculated.It should First key Key1 is one 32 data, and needs one 64 keys herein, thus also need to calculate another Two key Key2 obtain final target key.2) client carries out HASH fortune further according to the random data in first message It calculates, obtains the second key, specific implementation function is as follows: Key2=Md5.Create (RandData);Wherein, Key2 is for indicating Second key, RandData are used to indicate the random data in first message;3) client is according to the first obtained key and Two keys obtain target key, and specific implementation function is as follows: Key=Key1+Key2, wherein Key is used to indicate target key, because It is one 32 data for what Md5 was calculated, then calculating 2 Md5 herein then obtains final 64 data i.e. mesh Mark key;4) the Blowfish computations that encryption times N time is carried out according to target key obtain client and calculate power detection calculating As a result, starting the computations of progress Blowfish, specific implementation function is as follows:
First definition needs the input data encrypted, wherein the data for needing to encrypt are then that live streaming Platform Server generation issues Random data RandData, which is the data of 32 bit lengths, and function realization can be such that
Char input []=RandData;
The environmental variance of blowfish needs is re-defined, that is, defines the context environmental variable of a blowfish, function Realization can be such that
BLOWFISH_CTX ctx;
Then function Blowfish_Init is initialized, and wherein function Blowfish_Init is initialization or more The environmental variance interface of text, and the key key of meeting assignment encryption, into environmental variance, function realization can be such that
Blowfish_Init(&ctx,key,sizeof(key));
Next cycle calculations are carried out to the calculation power detection of client requirements, wherein the embodiment of the present application has been write for and followed Ring is encrypted, wherein encryption number is then that the encryption times N carried in the first message that Platform Server issues is broadcast live, is used Times indicates that function realization can be such that
For (int i=0;i<Times;i++){
Encryption interface Blowfish_Encrypt following then by blowfish calculates input data, from And encrypted result is obtained, function realization can be such that.
Blowfish_Encrypt(&ctx,input);
The wherein environmental variance that Can Shuo &ctx is defined before being then;Input is then the data for needing to encrypt, i.e. random data RandData, encrypted result can then store in input after the completion of encryption.By circulation, then encrypted result is constantly encrypted, To complete times number encryption, obtains client and calculate power detection calculated result.
}
Next the time this moment is then obtained after the completion of encryption, function realization can be such that.
Uint64_t nCurrentTime=Time ();
Uint64_t nElapse=nCurrentTime-nStartTime;
Initial time is subtracted by current time then obtain the time nElapse of entire algorithm consumption disappear to get to calculating Consume total duration.
}
Result is included then calculating consumption total duration and client calculates power detection calculated result and packages generation by client After first response message, live streaming Platform Server will be reported to after first response message encryption.
106, live streaming Platform Server obtains platform according to predetermined manner according to first message and client sequence number and calculates power Detect calculated result;
After live streaming platform receives the first response message, the first response message can be then parsed first and obtains the calculating of client As a result.Then hacker bypasses calculating therein in order to prevent, so live streaming Platform Server can carry out a school to calculated result It tests, illustrates that the calculating duration of client is correct calculating elapsed time if verification is normal, comprising:
1) instance objects of a message parsing class DataDecoder are created, possible function is accomplished by
DataDecoder*pDecoder=new DataDecoder ();
Then the message received is parsed,
pDecoder->Parse(buf);
Wherein buf then indicates the internet message that the calculation power that the client received issues calculates, i.e. the first response message.Parsing The type of message of the first response message of this is obtained afterwards,
Std::string cmdtype=std::string (pDecoder- > GetItem (" type "));
The type value for wherein obtaining message field indicates the type of its message, if the type expression of the message is a calculation power The message of calculating then also needs to parse other fields, by obtain the first response message in client equipment identification information, in terms of It calculates consumption total duration and client is calculated power detection and calculated as a result, specific implementation function is as follows:
If (cmdtype==" CalcAbilityRes ")
DeviceID=pDecoder- > GetItemAsInt (" DeviceID ");
Elapse=pDecoder- > GetItemAsInt (" elapse ");
ResultData=pDecoder- > GetItemAsInt (" ResultData ");
Wherein, CalcAbilityRes indicates that the type of the first response message is one and calculates the message that power calculates; The equipment identification information of DeviceID expression client;@=990 item elapse indicate the calculating consumption total duration of client; ResultData indicates that client calculates power and detects calculated result.
After having parsed the first response message, live streaming Platform Server calculates platform according to first message and calculates power surveymeter It calculates as a result, it is desirable to which explanation, live streaming Platform Server computing platform calculates the mode of power detection calculated result and client calculates The mode that client calculates power detection calculated result is similar, and specific details are not described herein again.
107, when client calculation power detection calculated result is consistent with platform calculation power detection calculated result, platform service is broadcast live Device is determining according to the equipment identification information and calculating consumption total duration of client and stores the computing capability of client.
Then live streaming Platform Server comparison platform calculates power detection calculated result and client calculates client and calculates power detection Whether calculated result is consistent, if it is inconsistent, live streaming Platform Server determines that the client is the client illegally forged;Such as Fruit is consistent, then further according to the equipment identification information of client and calculating consumption total duration determination and the calculating for storing client Ability, specifically, the calculating consumption total duration that live streaming Platform Server is reported according to client determine the computing capability of client, Wherein, the computing capability of calculating consumption total duration and client is negatively correlated, i.e. calculating consumption total duration is longer, the meter of client Calculation ability is weaker;Conversely, calculating, consumption total duration is shorter, and the computing capability of client is stronger.
In practical application, live streaming Platform Server can find out the calculating with the client in preset calculation power table of grading The corresponding target of ability calculates power grade, this is preset, and to calculate power table of grading include calculating being associated with for consumption total duration and calculation power grade System, the calculation power grade are used to evaluate the computing capability of client, for ease of understanding, please join and make a list 1, provide for the embodiment of the present application The possible preset calculation power table of grading of one kind:
Table 1
Calculate consumption total duration (ms) Calculate power grade
0~100 A
101~1000 B
1001~2000 C
If the calculating consumption total duration that client reports is 800ms, it is determined that the calculation power grade of the client is B.This reality It applies in example, can also be stored the computing capability correspondence of client to the use of the client by the equipment identification information of client In the information of family, and then different verifying models is issued according to the computing capability of client.
In the embodiment of the present application, the algorithm of a set of calculation power verifying is devised, is issued not according to the computing capability of client Same verifying model, carrys out the cpu performance of detecting customer terminal including devising a set of algorithm, to facilitate subsequent client validation And server issues suitable computation model.Be herein simultaneously one be used in live streaming platform calculate the bright calculation to this paper of strong evidence Strong evidence is bright, can calculate in conjunction with some characteristics that platform is broadcast live.
The embodiment of the present application is described from the angle of the method for detection computing capability above, below from live streaming platform The embodiment of the present application is described in the angle of server and client side.
Fig. 2 a is please referred to, Fig. 2 a is that the implementation of the possible live streaming Platform Server of one kind provided by the embodiments of the present application illustrates It is intended to, wherein the live streaming Platform Server specifically includes:
Transmit-Receive Unit 201, for sending first message to client, the first message is used to indicate the detection client The computing capability at end, the first message include it is presently described live streaming Platform Server timestamp information, encryption number and with Machine data;Receive the first response message in response to the first message that the client is sent, first response message Equipment identification information and client including calculating consumption total duration, the client are calculated power detection and are calculated as a result, the client End is calculated power detection calculated result and is calculated according to the first message according to predetermined manner by the client, the client Sequence number is issued from the live streaming Platform Server to the client;
Computing unit 202, for being obtained according to the first message and the client sequence number according to the predetermined manner Power, which is calculated, to platform detects calculated result;
Judging unit 203, for judging that the client calculates power detection calculated result and the platform is calculated power detection and calculated As a result whether consistent;
Determination unit 204, for if so, when according to the equipment identification information of the client and total calculating consumption The long computing capability determined and store the client, the computing capability of the client and the calculating consume total duration negative It closes.
Fig. 2 b is please referred to, Fig. 2 b is a kind of embodiment schematic diagram of possible client provided by the embodiments of the present application, In, which specifically includes:
Creating unit 210, for creating detection thread, the detection thread is for realizing the calculating for detecting the client Ability;
Transmit-Receive Unit 211, the first message sent for receiving the live streaming Platform Server, the first message are used for Indicate that the computing capability of the detection client, the first message include the timestamp letter of presently described live streaming Platform Server Breath, encryption number and random data;
Based on the detection thread, computing unit 212, for being calculated according to the first message according to predetermined manner It consumes total duration and client calculates power and detects calculated result;
In response to the first message, the Transmit-Receive Unit 211 is also used to send first to the live streaming Platform Server Response message, first response message include the equipment identification information and client for calculating consumption total duration, the client It calculates power and detects calculated result.
Fig. 3 a is please referred to, Fig. 3 a is the embodiment schematic diagram of electronic equipment provided by the embodiments of the present application.
As shown in Figure 3a, the embodiment of the present application provides a kind of electronic equipment, including memory 310, processor 320 and deposits The computer program 311 that can be run on memory 320 and on the processor 320 is stored up, processor 320 executes computer program It is performed the steps of when 311 to client and sends first message, the first message is used to indicate the meter for detecting the client Calculation ability, the first message include current timestamp information, encryption number and random data;The client is received to send The first response message in response to the first message, first response message include calculate consumption total duration, the visitor The equipment identification information and client at family end are calculated power detection and are calculated as a result, the client calculates power detection calculated result by the visitor Family end is calculated according to the first message according to predetermined manner, and the client sequence number to the client from issuing; Platform, which is obtained, according to the predetermined manner according to the first message and the client sequence number calculates power detection calculated result;Sentence The client of breaking calculates power detection calculated result and calculates power detection calculating the result is that no consistent with the platform;If so, according to institute The equipment identification information and the calculating for stating client consume total duration determination and store the computing capability of the client, described The computing capability of client and calculating consumption total duration are negatively correlated.
Optionally, in a kind of possible embodiment, the processor 320 is specifically used for: according to client's terminal sequence Number, the timestamp information, the equipment identification information of the client, current room number and user identity information carry out HASH fortune It calculates, obtains the first key;The live streaming Platform Server carries out HASH operation according to the random data, obtains the second key; The live streaming Platform Server obtains target key according to first key and second key, and according to the mesh The Blowfish computations that key carries out n times are marked, the platform is obtained and calculates power detection calculated result.
Optionally, in a kind of possible embodiment, the processor 320 is specifically used for: obtaining institute in the following way State the first key: Key1=Md5.Create (sessionid+UserId+DeviceID+roomid+TimeStamp);It is described Key1 is for indicating that first key, the sessionid are used to indicate that the sequence number of the client, the UserId to be used In indicating the user identity information, the DeviceID is used to indicate the equipment identification information of the client, described Roomid is described for indicating the timestamp information for indicating the current room number, the TimeStamp Md5.Create () is used to indicate the calculating interface of HASH algorithm md5.
Optionally, in a kind of possible embodiment, the processor 320 is specifically used for: creation message parses class The instance objects of DataDecoder;The live streaming Platform Server is according to message parsing class DataDecoder parsing First response message obtains the type of first response message, described calculates consumption total duration, the client to parse Equipment identification information and client calculate power and detect calculated result.
As shown in Figure 3b, the embodiment of the present application provides a kind of electronic equipment, including memory 330, processor 340 and deposits The computer program 331 that can be run on memory 340 and on processor 340 is stored up, processor 340 executes computer program Creation detection thread is performed the steps of when 331, the thread that detects is for realizing the computing capability of detection;It receives described straight The first message of Platform Server transmission is broadcast, the first message is used to indicate the computing capability of detection, the first message packet Include timestamp information, encryption number and the random data of presently described live streaming Platform Server;Based on the detection thread, according to The first message obtains calculating consumption total duration according to predetermined manner and client calculates power detection calculated result;In response to described First message sends the first response message to the live streaming Platform Server, and first response message includes calculating consumption always Duration, equipment identification information and client calculate power and detect calculated result.
Optionally, in a kind of possible embodiment, the processor 340 is specifically used for: by calling system function Pthread_create creates the detection thread, and the system function pthread_create includes being directed toward thread identifier Pointer, thread attribute, it is described detection thread address and operation it is described detection thread execution parameter.
The electronic equipment introduced by the present embodiment for implement in the embodiment of the present application a kind of live streaming Platform Server or Equipment used by person's client, so based on method described in the embodiment of the present application, those skilled in the art's energy The specific embodiment and its various change form of the electronic equipment of solution the present embodiment much of that, so being set herein for the electronics It is standby how to realize that the method in the embodiment of the present application is no longer discussed in detail, as long as those skilled in the art implement the application reality Equipment used by the method in example is applied, the range to be protected of the application is belonged to.
Fig. 4 a is please referred to, Fig. 4 a is a kind of embodiment signal of computer readable storage medium provided by the embodiments of the present application Figure.
As shown in fig. 4 a, a kind of computer readable storage medium 400 is present embodiments provided, computer journey is stored thereon with Sequence 411, the computer program 411 realize following steps when being executed by processor: to client send first message, described first Message is used to indicate the computing capability for detecting the client, and the first message includes current timestamp information, encryption time Several and random data;Receive the first response message in response to the first message that the client is sent, first sound Answering message includes calculating consumption total duration, the equipment identification information of the client and client to calculate power detection calculating as a result, institute Client calculation power detection calculated result is stated to be calculated according to the first message according to predetermined manner by the client, it is described Client sequence number to the client from issuing;According to the first message and the client sequence number according to described default Mode obtains platform and calculates power detection calculated result;Judge that the client calculates power detection calculated result and the platform calculates power detection Whether calculated result is consistent;If so, being determined according to the equipment identification information of the client and calculating consumption total duration And the computing capability of the client is stored, the computing capability of the client and calculating consumption total duration are negatively correlated.
Optionally, in a kind of possible embodiment, it is specifically used for realizing when which is executed by processor Following steps: according to the client sequence number, the timestamp information, the client equipment identification information, work as anterior chamber Between number and user identity information carry out HASH operation, obtain the first key;The live streaming Platform Server is according to the random number According to HASH operation is carried out, the second key is obtained;The live streaming Platform Server is according to first key and second key Target key is obtained, and carries out the Blowfish computations of n times according to the target key, the platform is obtained and calculates power Detect calculated result.
Optionally, in a kind of possible embodiment, it is specifically used for realizing when which is executed by processor Following steps: first key: Key1=Md5.Create (sessionid+UserId+ is obtained in the following way DeviceID+roomid+TimeStamp);The Key1 is for indicating first key, and the sessionid is for indicating The sequence number of the client, the UserId is for indicating the user identity information, and the DeviceID is for indicating institute The equipment identification information of client is stated, the roomid is for indicating the current room number, and the TimeStamp is for indicating The timestamp information, the Md5.Create () are used to indicate the calculating interface of HASH algorithm md5.
Optionally, in a kind of possible embodiment, it is specifically used for realizing when which is executed by processor Following steps: the instance objects of creation message parsing class DataDecoder;The live streaming Platform Server is according to the message solution It analyses class DataDecoder and parses first response message, to parse the type for obtaining first response message, the calculating It consumes total duration, the equipment identification information of the client and client and calculates power detection calculated result.
Fig. 4 b is please referred to, Fig. 4 b is a kind of embodiment signal of computer readable storage medium provided by the embodiments of the present application Figure.
As shown in Figure 4 b, a kind of computer readable storage medium 420 is present embodiments provided, computer journey is stored thereon with Sequence 431, the computer program 431 realize following steps when being executed by processor: creation detection thread, the detection thread are used for Realize the computing capability of detection;The first message that the live streaming Platform Server is sent is received, the first message is used to indicate The computing capability of detection, the first message include it is presently described live streaming Platform Server timestamp information, encryption number and Random data;Based on the detection thread, obtained calculating consumption total duration and visitor according to predetermined manner according to the first message It calculates power and detects calculated result in family end;In response to the first message, the first response message is sent to the live streaming Platform Server, First response message includes calculating consumption total duration, equipment identification information and client to calculate power detection calculated result.
Optionally, in a kind of possible embodiment, it is specifically used for realizing when which is executed by processor Following steps: the detection thread, the system function are created by calling system function pthread_create Pthread_create includes described in the pointer for being directed toward thread identifier, thread attribute, the address of the detection thread and operation Detect the execution parameter of thread.
It should be noted that in the above-described embodiments, all emphasizing particularly on different fields to the description of each embodiment, in some embodiment The part being not described in may refer to the associated description of other embodiments.
It should be understood by those skilled in the art that, embodiments herein can provide as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the application Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the application, which can be used in one or more, The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces The form of product.
The application is referring to method, the process of equipment (system) and computer program product according to the embodiment of the present application Figure and/or block diagram describe.It should be understood that each process in flowchart and/or the block diagram can be realized by computer program instructions And/or the combination of the process and/or box in box and flowchart and/or the block diagram.It can provide these computer programs to refer to Enable the processor of general purpose computer, special purpose computer, embedded computer or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
Although the preferred embodiment of the application has been described, it is created once a person skilled in the art knows basic Concept, then additional changes and modifications may be made to these embodiments.So it includes preferred that the following claims are intended to be interpreted as Embodiment and all change and modification for falling into the application range.
Obviously, those skilled in the art can carry out various modification and variations without departing from the essence of the application to the application Mind and range.In this way, if these modifications and variations of the application belong to the range of the claim of this application and its equivalent technologies Within, then the application is also intended to including these modification and variations.

Claims (10)

1. a kind of method for detecting computing capability characterized by comprising
Platform Server is broadcast live and sends first message to client, the first message is used to indicate the meter for detecting the client Calculation ability, the first message include timestamp information, encryption times N and the random number of presently described live streaming Platform Server According to the N is positive integer;
The live streaming Platform Server receives the first response message in response to the first message that the client is sent, institute Stating the first response message includes calculating consumption total duration, the equipment identification information of the client and client to calculate power detection calculating It is calculated according to the first message according to predetermined manner as a result, the client calculates power detection calculated result by the client It arrives, the client sequence number is issued from the live streaming Platform Server to the client;
The live streaming Platform Server is obtained according to the first message and the client sequence number according to the predetermined manner Platform calculates power and detects calculated result;
The live streaming Platform Server judges that the client calculates power detection calculated result and the platform calculates power detection and calculates knot Whether fruit is consistent;
If so, the live streaming Platform Server consumes total duration according to the equipment identification information of the client and the calculating The computing capability of the client is determined and stores, the computing capability of the client and the calculating consume total duration negative It closes.
2. the method according to claim 1, wherein the live streaming Platform Server according to the first message and The client sequence number obtains platform calculation power detection calculated result according to the predetermined manner
It is described live streaming Platform Server according to the client sequence number, the timestamp information, the client equipment mark Know information, current room number and user identity information and carry out HASH operation, obtains the first key;
The live streaming Platform Server carries out HASH operation according to the random data, obtains the second key;
The live streaming Platform Server obtains target key according to first key and second key, and according to the mesh Mark key carries out the Blowfish computations of the n times, obtains the platform and calculates power detection calculated result.
3. according to the method described in claim 2, it is characterized in that, the live streaming Platform Server is according to client's terminal sequence Number, the timestamp information, the equipment identification information of the client, current room number and user identity information carry out HASH fortune It calculates, obtaining the first key includes:
First key is obtained in the following way:
Key1=Md5.Create (sessionid+UserId+DeviceID+roomid+TimeStamp);
For the Key1 for indicating first key, the sessionid is used to indicate the sequence number of the client, described UserId is used to indicate that the user identity information, the DeviceID to be used to indicate the equipment identification information of the client, The roomid is described for indicating the timestamp information for indicating the current room number, the TimeStamp Md5.Create () is used to indicate the calculating interface of HASH algorithm md5.
4. being sent the method according to claim 1, wherein the live streaming Platform Server receives the client The first response message in response to the first message include:
The instance objects of the live streaming Platform Server creation message parsing class DataDecoder;
The live streaming Platform Server parses class DataDecoder according to the message and parses first response message, with solution Analysis obtains the type of first response message, described calculate consumes total duration, the equipment identification information of the client and visitor It calculates power and detects calculated result in family end.
5. a kind of method for detecting computing capability characterized by comprising
Client creation detection thread, the detection thread is for realizing the computing capability for detecting the client;
The client receives the first message that the live streaming Platform Server is sent, and the first message is used to indicate detection institute The computing capability of client is stated, the first message includes the timestamp information of presently described live streaming Platform Server, encryption time Several and random data;
Based on the detection thread, the client obtains calculating consumption total duration according to predetermined manner according to the first message Power, which is calculated, with client detects calculated result;
In response to the first message, the client sends the first response message to the live streaming Platform Server, and described the One response message includes calculating consumption total duration, the equipment identification information of the client and client to calculate power detection calculating knot Fruit.
6. according to the method described in claim 5, it is characterized in that, client creation detection thread includes:
The client creates the detection thread, the system function by calling system function pthread_create Pthread_create includes described in the pointer for being directed toward thread identifier, thread attribute, the address of the detection thread and operation Detect the execution parameter of thread.
7. a kind of live streaming Platform Server, feature is certainly, comprising:
Transmit-Receive Unit, for sending first message to client, the first message is used to indicate the meter for detecting the client Calculation ability, the first message include timestamp information, encryption number and the random data of presently described live streaming Platform Server; The first response message in response to the first message that the client is sent is received, first response message includes calculating It consumes total duration, the equipment identification information of the client and client and calculates power detection calculating as a result, client calculation power is visited Survey calculated result be calculated according to the first message according to predetermined manner by the client, the client sequence number by The live streaming Platform Server is issued to the client;
Computing unit is calculated for obtaining platform according to the predetermined manner according to the first message and the client sequence number Power detects calculated result;
Judging unit, for judging that the client calculates power detection calculated result and the platform is calculated power detection and calculated the result is that no Unanimously;
Determination unit, for if so, being determined according to the equipment identification information of the client and calculating consumption total duration And the computing capability of the client is stored, the computing capability of the client and calculating consumption total duration are negatively correlated.
8. a kind of client characterized by comprising
Creating unit, for creating detection thread, the detection thread is for realizing the computing capability for detecting the client;
Transmit-Receive Unit, the first message sent for receiving the live streaming Platform Server, the first message are used to indicate spy The computing capability of the client is surveyed, the first message includes the timestamp information of presently described live streaming Platform Server, adds Close number and random data;
Based on the detection thread, computing unit, for obtaining calculating consumption always according to predetermined manner according to the first message Duration and client calculate power and detect calculated result;
In response to the first message, the Transmit-Receive Unit, which is also used to send the first response to the live streaming Platform Server, to disappear Breath, first response message include calculating consumption total duration, the equipment identification information of the client and client to calculate power spy Survey calculated result.
9. a kind of computer readable storage medium, including instruction, when run on a computer, so that computer is executed as weighed Benefit requires method described in 1-6 any one.
10. a kind of computer program product comprising instruction, when run on a computer, so that computer executes such as right It is required that method described in 1-6 any one.
CN201910038559.6A 2019-01-16 2019-01-16 Method and related device for detecting computing capability Active CN109788349B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910038559.6A CN109788349B (en) 2019-01-16 2019-01-16 Method and related device for detecting computing capability

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910038559.6A CN109788349B (en) 2019-01-16 2019-01-16 Method and related device for detecting computing capability

Publications (2)

Publication Number Publication Date
CN109788349A true CN109788349A (en) 2019-05-21
CN109788349B CN109788349B (en) 2021-09-07

Family

ID=66499388

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910038559.6A Active CN109788349B (en) 2019-01-16 2019-01-16 Method and related device for detecting computing capability

Country Status (1)

Country Link
CN (1) CN109788349B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114062891A (en) * 2021-10-11 2022-02-18 深圳市德斯戈智能科技有限公司 Calculation force testing device based on AI chip
CN115065843A (en) * 2022-07-22 2022-09-16 广州万协通信息技术有限公司 Video encryption and decryption processing method and system under security authentication

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170154331A1 (en) * 2015-11-30 2017-06-01 ShapeShift Systems and methods for improving security in blockchain-asset exchange
CN107454110A (en) * 2017-09-26 2017-12-08 武汉斗鱼网络科技有限公司 A kind of data verification method and server

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170154331A1 (en) * 2015-11-30 2017-06-01 ShapeShift Systems and methods for improving security in blockchain-asset exchange
CN107454110A (en) * 2017-09-26 2017-12-08 武汉斗鱼网络科技有限公司 A kind of data verification method and server

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114062891A (en) * 2021-10-11 2022-02-18 深圳市德斯戈智能科技有限公司 Calculation force testing device based on AI chip
CN115065843A (en) * 2022-07-22 2022-09-16 广州万协通信息技术有限公司 Video encryption and decryption processing method and system under security authentication
CN115065843B (en) * 2022-07-22 2022-12-20 广州万协通信息技术有限公司 Video encryption and decryption processing method and system under security authentication

Also Published As

Publication number Publication date
CN109788349B (en) 2021-09-07

Similar Documents

Publication Publication Date Title
Bera et al. Designing blockchain-based access control protocol in IoT-enabled smart-grid system
Chen et al. Towards statistical queries over distributed private user data
Gondree et al. Geolocation of data in the cloud
Badsha et al. Privacy preserving location-aware personalized web service recommendations
CN109714168A (en) Trusted remote method of proof, device and system
CN104933207B (en) The acquisition methods and system of user behavior data in application program
CN111510442A (en) User verification method and device, electronic equipment and storage medium
CN107342966B (en) Authority credentials distribution method and device
CN108881966A (en) A kind of information processing method and relevant device
CN108964901A (en) Information Authentication method, system, device
CN109788349A (en) A kind of method and relevant apparatus detecting computing capability
CN112699353A (en) Financial information transmission method and financial information transmission system
CN101459509A (en) Password protocol safety detection method based on novelty verification condition
CN106815734A (en) A kind of information transferring method and device
Tasopoulos et al. Energy consumption evaluation of post-quantum TLS 1.3 for resource-constrained embedded devices
CN111209577B (en) Method and device for adding watermark data, storage medium and electronic equipment
CN106549924B (en) A kind of communication security protection methods, devices and systems
CN108696530B (en) Online encrypted data security assessment method and device
Mengjun et al. Privacy-preserving distributed location proof generating system
Zhou et al. VFLF: A verifiable federated learning framework against malicious aggregators in Industrial Internet of Things
CN107277054A (en) A kind of method and system of data integrity validation
Carbunar et al. ${\rm PROFIL} _ {R} $: Toward Preserving Privacy and Functionality in Geosocial Networks
US20100100739A1 (en) System and method for secure communication, and a medium having computer readable program executing the method
CN107086918A (en) A kind of client validation method and server
CN110381342A (en) A kind of information processing method and relevant 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