CN113849756A - Information generation method and device, electronic equipment and computer readable medium - Google Patents

Information generation method and device, electronic equipment and computer readable medium Download PDF

Info

Publication number
CN113849756A
CN113849756A CN202011204302.2A CN202011204302A CN113849756A CN 113849756 A CN113849756 A CN 113849756A CN 202011204302 A CN202011204302 A CN 202011204302A CN 113849756 A CN113849756 A CN 113849756A
Authority
CN
China
Prior art keywords
data
data set
information
terminal equipment
terminal device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011204302.2A
Other languages
Chinese (zh)
Inventor
尚渭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Chaoge Smart Internet Technology Co ltd
Original Assignee
Guangdong Chaoge Smart Internet 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 Guangdong Chaoge Smart Internet Technology Co ltd filed Critical Guangdong Chaoge Smart Internet Technology Co ltd
Priority to CN202011204302.2A priority Critical patent/CN113849756A/en
Publication of CN113849756A publication Critical patent/CN113849756A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • G06F16/972Access to data in other repository systems, e.g. legacy data or dynamic Web page generation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • G06F16/9558Details of hyperlinks; Management of linked annotations

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the disclosure discloses an information generation method, an information generation device, electronic equipment and a computer readable medium. One embodiment of the method comprises: receiving a first data set and a second data set sent by terminal equipment; storing the information of each first terminal device included in the first data set and sending the first data set to a server; determining whether reply data of the server is received within a preset time delay; in response to the fact that the reply data of the server are received within the preset time delay, data updating is conducted on the information of each first terminal device included in the first data set on the basis of the reply data; comparing each piece of second terminal equipment information included in the second data set with each piece of first terminal equipment information included in the first data set to generate a comparison result; based on the comparison result, jump information is generated. The method and the system can improve the performance of the server, thereby reducing the generation time of the jump information and improving the user experience.

Description

Information generation method and device, electronic equipment and computer readable medium
Technical Field
Embodiments of the present disclosure relate to the field of computer technologies, and in particular, to an information generation method, an information generation device, an electronic device, and a computer-readable medium.
Background
The jump information is information for supporting a jump from a current web page to another web page. At present, when generating skip information for a user to perform identity authentication, all data in a channel is generally captured and judged, and then skip information is generated according to a judgment result and sent to the user for the user to perform authentication.
However, when the skip information is generated in the above manner for user authentication, the following technical problems often exist:
first, a common method is to capture all data in a channel and perform a judgment to generate skip information, so that the server efficiency is low due to an excessive amount of data, and the skip information is not generated in time.
Secondly, the initiated HTTP (hypertext Transfer Protocol) request is overtime due to a large amount of captured data and a delay in the network, and the authentication page cannot be popped up in time.
Disclosure of Invention
This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the detailed description. This summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
Some embodiments of the present disclosure propose information generation methods, apparatuses, electronic devices, and computer readable media to solve one or more of the technical problems mentioned in the background section above.
In a first aspect, some embodiments of the present disclosure provide an information generating method, including: receiving a first data set and a second data set sent by terminal equipment, wherein the first data comprises first terminal equipment information, and the second data comprises second terminal equipment information; storing the information of each first terminal device included in the first data set and sending the first data set to a server; determining whether reply data of the server is received within a preset time delay, wherein the reply data comprises an authentication data set; in response to the fact that the reply data of the server are received within the preset time delay, data updating is carried out on the information of each first terminal device included in the first data set on the basis of the reply data; comparing each piece of second terminal equipment information included in the second data set with each piece of first terminal equipment information included in the first data set to generate a comparison result; and generating jump information based on the comparison result.
In a second aspect, some embodiments of the present disclosure provide an information generating apparatus, the apparatus comprising: the terminal equipment comprises a receiving unit and a processing unit, wherein the receiving unit is configured to receive a first data set and a second data set sent by terminal equipment, the first data comprises first terminal equipment information, and the second data comprises second terminal equipment information; a sending unit configured to save each piece of first terminal device information included in the first data set and send the first data set to a server; a determining unit configured to determine whether reply data of the server is received within a predetermined time delay, wherein the reply data includes an authentication data set; an updating unit, configured to perform data updating on each piece of first terminal device information included in the first data set based on reply data in response to determining that the reply data of the server is received within a predetermined time delay; a comparison unit configured to compare each piece of second terminal device information included in the second data set with each piece of first terminal device information included in the first data set to generate a comparison result; and the generating unit is configured to generate the jump information based on the comparison result.
In a third aspect, some embodiments of the present disclosure provide an electronic device, comprising: one or more processors; a storage device having one or more programs stored thereon, which when executed by one or more processors, cause the one or more processors to implement the method described in any of the implementations of the first aspect.
In a fourth aspect, some embodiments of the present disclosure provide a computer readable medium on which a computer program is stored, wherein the program, when executed by a processor, implements the method described in any of the implementations of the first aspect.
The above embodiments of the present disclosure have the following advantages: first, a first data set and a second data set sent by a terminal device are received, information of each first terminal device included in the first data set is stored, and the first data set is sent to a server, wherein the first data includes information of the first terminal device, and the second data includes information of the second terminal device. The request data initiated by the terminal equipment is fragmented and forwarded, and the first data set is forwarded to the server, so that the data forwarding amount and the server data receiving amount are reduced. Then, whether reply data of the server is received within a preset time delay is determined, wherein the reply data comprises an authentication data set. And judging the time for sending each first data in the first data set to the server, and resending the request exceeding a preset time delay so as to avoid the overtime of the webpage. And then, in response to the fact that the reply data of the server is received within the preset time delay, data updating is carried out on the information of each first terminal device included in the first data set based on the reply data. To avoid the expiration of critical information such as tokens (e.g., access tokens) while reducing data redundancy. Then, comparing each piece of second terminal device information included in the second data set with each piece of first terminal device information included in the first data set to generate a comparison result. By contrast, it is convenient to determine the terminal device that makes the authentication request. And finally, generating jump information based on the comparison result. Because the data receiving amount of the server is reduced, and the re-request, data updating and information comparison operations are carried out, the load of the gateway is reduced, the performance of the server is improved, and the generation time of the skip information is reduced. Furthermore, the time for the user to perform identity authentication is reduced, and the user experience is improved.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and elements are not necessarily drawn to scale.
FIG. 1 is a schematic diagram of one application scenario of an information generation method according to some embodiments of the present disclosure;
FIG. 2 is a flow diagram of some embodiments of an information generation method according to the present disclosure;
FIG. 3 is a schematic block diagram of some embodiments of an information generating apparatus according to the present disclosure;
fig. 4 is a schematic structural diagram of an electronic device according to an information generation method of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings. The embodiments and features of the embodiments in the present disclosure may be combined with each other without conflict.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
The present disclosure will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
FIG. 1 is a schematic diagram of one application scenario of an information generation method according to some embodiments of the present disclosure;
in the application scenario of fig. 1, first, the computing device 101 may receive a first data set 103 and a second data set 104 sent by the terminal device 102, where the first data 1031 includes first terminal device information 1032, and the second data 1041 includes second terminal device information 1042. Then, the computing device 101 saves each of the first terminal device information 1032 included in the first data set 103 and transmits the first data set 103 to the server 105. Thereafter, the computing device 101 may determine whether reply data is received from the server 105 within a predetermined time delay, wherein the reply data includes an authentication data set. Next, the computing device 101 may perform, in response to determining that the reply data of the server 105 is received within a predetermined time delay, a data update 106 on each of the first terminal device information 1032 included in the first data set 103 based on the reply data. Then, the computing device 101 compares each second terminal device information 1042 included in the second data set 104 with each first terminal device information 1032 included in the first data set 103 to generate a comparison result 107. Finally, the computing device 101 may generate jump information 108 based on the comparison result 107 described above. Optionally, the computing device 101 sends the skip information 108 to the terminal device 102 for the terminal device 102 to authenticate.
The computing device 101 may be hardware or software. When the computing device is hardware, it may be implemented as a distributed cluster composed of multiple servers or terminal devices, or may be implemented as a single server or a single terminal device. When the computing device is embodied as software, it may be installed in the hardware devices enumerated above. It may be implemented, for example, as multiple software or software modules to provide distributed services, or as a single software or software module. And is not particularly limited herein.
It should be understood that the number of computing devices in FIG. 1 is merely illustrative. There may be any number of computing devices, as implementation needs dictate.
With continued reference to fig. 2, a flow 200 of some embodiments of an information generation method according to the present disclosure is shown. The information generation method comprises the following steps:
step 201, receiving a first data set and a second data set sent by a terminal device.
In some embodiments, an executing agent of the information generating method may receive a first set of data and a second set of data sent by a user to a computing device. Each first data in the first data set includes first terminal device information, and each second data in the second data set includes second terminal device information.
As an example, the first data may include, but is not limited to, the following items: the first HTTP request, the first terminal device information and the first data frame length. The second data may include, but is not limited to, the following items: a second HTTP request, second terminal device information and a second data frame length. The first data set may be composed of three first data, which are { [ first HTTP request 1, first terminal device information 1, first data frame length 1], [ first HTTP request 2, first terminal device information 2, first data frame length 2], [ first HTTP request 3, first terminal device information 3, and first data frame length 3] }. The second data set may be composed of four second data, which are { [ second HTTP request 1, second terminal device information 1, second data frame length 1], [ second HTTP request 2, second terminal device information 2, second data frame length 2], [ second HTTP request 3, second terminal device information 3, second data frame length 3], [ second HTTP request 4, second terminal device information 4, second data frame length 4] }. The data frame length may be a byte length occupied by transmitting data, for example, 8 BITs (BIT).
Step 202, storing each piece of first terminal device information included in the first data set and sending the first data set to a server.
In some embodiments, the executing entity may store the received information of each first terminal device in the first data set sent by the user, and send the first data set to the server.
As an example, the first data set may be composed of three first data, which are { [ first HTTP request 1, first terminal device information 1, first data frame length 1], [ first HTTP request 2, first terminal device information 2, first data frame length 2], [ first HTTP request 3, first terminal device information 3, first data frame length 3] }. The execution agent stores { first terminal device information 1, first terminal device information 2, first terminal device information 3 }. Meanwhile, the first data set { [ first HTTP request 1, first terminal device information 1, first data frame length 1], [ first HTTP request 2, first terminal device information 2, first data frame length 2], [ first HTTP request 3, first terminal device information 3, first data frame length 3] } is forwarded to the server.
Step 203, determine whether the reply data of the server is received within a predetermined time delay.
In some embodiments, the execution subject may determine whether reply data of the server is received within a predetermined time delay, where the reply data includes an authentication data set.
As an example, the predetermined time delay may be: for 3 seconds. The first set of data may be: { [ first HTTP request 1, first terminal device information 1, first data frame length 1], [ first HTTP request 2, first terminal device information 2, first data frame length 2], [ first HTTP request 3, first terminal device information 3, first data frame length 3] }. And sending the first data set to the server, and receiving the reply data of the computing device within 3 seconds, so that the first data set is determined to receive the reply data of the server within a preset time delay.
In some optional implementations of some embodiments, the predetermined delay may be generated by:
first, channel information corresponding to the first data set is obtained. Wherein the channel information includes: channel transmission rate, channel bandwidth value and channel length.
As an example, the channel information may include, but is not limited to, the following items: channel transmission rate, channel bandwidth value and channel length. The channel transmission rate may be 200000000 m/s. The channel bandwidth value may be 10000000 bits/second. The channel length may be 1000 kilometers.
And a second step of generating a predetermined time delay value based on the first data set and the second data set by using the following formula:
Figure BDA0002756540500000071
wherein, TqueueIndicating a queue delay value. n represents the number of first data included in the first data set. i represents a serial number. L isiIndicating the length of a first data frame included in the ith data in the first data set. m represents the number of second data included in the second data set. j represents a serial number. HjAnd the length of a second data frame included in the jth data in the second data set is represented. R represents the channel bandwidth value. S represents the channel transmission rate. d represents the above channel length. w represents a first preset weight. v represents a second preset weight. Z represents a third preset weight. T isaverRepresenting a predetermined time delay value.
As an example, the first data set may include a number of first data of 3. The second data set may include a number of second data of 4. The channel bandwidth value may be 10000000 bits/second. The channel transmission rate may be 200000000 m/s. The channel length may be 1000 kilometers. The sum of the ratios of the first data frame length to the channel bandwidth value of the three first data may be 3. The sum of the ratios of the second data frame lengths to the channel bandwidth values of the three second data may be 0.4. The first preset weight may be 0.3. The second preset weight may be 0.4. The third preset weight may be 0.3. Resulting in the queue delay value of 63 seconds. The average delay value is 3 seconds. Where n, before rounding up, equals: 2.847714286, rounded up may be: 3.
the above formula is used as an invention point of the embodiment of the present disclosure, and solves the technical problems mentioned in the background art that "the initiated HTTP request is overtime and cannot pop up the authentication page in time due to large data size and delay in the network". Factors that cause HTTP request timeouts tend to be as follows: the more HTTP requests that need to be forwarded, due to the large amount of data to be fetched. Generally, the manually triggered request is not higher than the automatic request of the application program, and because the network has delay, the later initiated HTTP request will be overtime inevitably, so that the authentication page cannot be popped up normally. If the factors are solved, the time for generating the jump address can be reduced, and the authentication page can be popped up in time. To achieve this, the above formula introduces data information and channel information related to data transmission: data frame length, channel bandwidth, channel transmission rate, and channel length. Since the weights occupied by different delay types are different, the above formula introduces a first preset weight, a second preset weight and a third preset weight. Thus, the importance and influence of the different delays can be determined. The weighted delay values are averaged to obtain a predetermined delay value for the plurality of requests, the predetermined delay value reflecting an average of the time taken for the plurality of request data to be transmitted to the server. Thus, it is convincing to use this predetermined delay value as a criterion for judging the request timeout. Judging whether the HTTP request is overtime according to the relation between the preset time delay and the sending time of the HTTP request, wherein the relation can comprise two conditions: and when the transmission time of the HTTP request is less than or equal to the preset time delay, the terminal equipment receives the reply data of the server and carries out authentication. And when the transmission time of the HTTP request is longer than the preset time delay, retransmitting the request. The method and the device avoid that the server does not receive the only HTTP request capable of carrying out identity authentication, thereby improving the efficiency of server request processing, reducing the time for generating the jump address and popping up the authentication page in time.
And step 204, in response to determining that the reply data of the server is received within the predetermined time delay, performing data update on each piece of first terminal device information included in the first data set based on the reply data.
In some embodiments, the executing entity may perform data update on each piece of first terminal device information included in the first data set based on the reply data of the computing device after determining that the reply data of the computing device is received within a predetermined time delay.
As an example, the reply data may include information such as a token (e.g., an access token). And after the reply data of the computing equipment is received within the preset time delay, updating the data of each piece of first terminal equipment information included in the first data set according to the reply data of the computing equipment.
In some optional implementation manners of some embodiments, the executing entity performs data update on each piece of first terminal device information included in the first data set based on the reply data, and may include the following steps:
the first step is as follows: and sending the reply data to the terminal equipment and storing the reply data.
As an example, the reply data may be [ internet protocol address, physical address, web address, token, status, time ]. And the execution main body sends the reply data to the terminal equipment and stores the reply data.
The second step is that: and performing data updating on each piece of first terminal equipment information included in the first data set by using the reply data.
As an example, the first terminal device information may have three information, which may be { [ internet protocol address 1, physical address 1, web page address 1, status 0, time 1], [ internet protocol address 2, physical address 2, web page address 2, status 1, time 2], [ internet protocol address 3, physical address 3, web page address 3, status 0, time 3 }. Where state 0 indicates transmitted and state 1 indicates not transmitted. The reply data may be [ ip address 2, physical address 2, web address 2, token, state 0, time 4 ]. And the execution main body performs data updating on each piece of first terminal equipment information included in the first data set by using the reply data. At the same time, the request for unsent status is resent.
Step 205, comparing each piece of second terminal device information included in the second data set with each piece of first terminal device information included in the first data set to generate a comparison result.
In some embodiments, the executing entity may compare each piece of second terminal device information included in the second data set with each piece of first terminal device information included in the first data set to generate a comparison result.
As an example, the first terminal device information may include, but is not limited to, the following items: internet protocol address, physical address, web page address, token, status and time. The second terminal device information may include, but is not limited to, the following items: internet protocol address, physical address, web page address, status and time. And comparing the { internet protocol address, physical address and webpage address } included in the second data set with the { internet protocol address, physical address and webpage address } included in the first data set one by one to generate the comparison result. The comparison results may be: the { internet protocol address, physical address, web address } included in the second data set is consistent with the { internet protocol address, physical address, web address } included in the first data set. The { internet protocol address, physical address, web address } included in the second data set is inconsistent with the { internet protocol address, physical address, web address } included in the first data set.
And step 206, generating jump information based on the comparison result.
In some embodiments, the execution subject may generate the skip information according to the comparison result.
In some optional implementation manners of some embodiments, the executing entity generates the skip information based on the comparison result, and may include the following steps:
the first step is as follows: and splicing all the authentication data in the authentication data set to generate skip information in response to the comparison result meeting a preset condition.
As an example, the predetermined condition may be: the { IP address, physical address, web address } included in the second data set is consistent with the { IP address, physical address, web address } included in the first data set. And the comparison result meets a preset condition, and all the authentication data in the authentication data set are spliced to generate skip information.
Optionally, the skip information is sent to the terminal device for the terminal device to authenticate.
As an example, the execution subject transmits the skip information generated based on the comparison result to the terminal device for the terminal device to authenticate.
The above embodiments of the present disclosure have the following advantages: first, a first data set and a second data set sent by a terminal device are received, information of each first terminal device included in the first data set is stored, and the first data set is sent to a server, wherein the first data includes information of the first terminal device, and the second data includes information of the second terminal device. The request data initiated by the terminal equipment is fragmented and forwarded, and the first data set is forwarded to the server, so that gateway data forwarding amount and server data receiving amount are reduced. Then, whether reply data of the server is received within a preset time delay is determined, wherein the reply data comprises an authentication data set. And judging the time for sending each first data in the first data set to the server, and resending the request exceeding a preset time delay so as to avoid the overtime of the webpage. And then, in response to the fact that the reply data of the server is received within the preset time delay, data updating is carried out on the information of each first terminal device included in the first data set on the basis of the reply data, so that the condition that key information such as tokens and the like is out of date and invalid is avoided, and meanwhile, data redundancy is reduced. Then, comparing each piece of second terminal device information included in the second data set with each piece of first terminal device information included in the first data set to generate a comparison result. By contrast, it is convenient to determine the terminal device that makes the authentication request. And finally, generating jump information based on the comparison result. Because the data receiving amount of the server is reduced, and the re-request, data updating and information comparison operations are carried out, the load of the gateway is reduced, the performance of the server is improved, and the generation time of the skip information is reduced. Furthermore, the time for the user to perform identity authentication is reduced, and the user experience is improved.
With further reference to fig. 3, as an implementation of the above-described method for the above-described figures, the present disclosure provides some embodiments of an information generating apparatus, which correspond to those of the method embodiments described above for fig. 2, and which may be applied in various electronic devices in particular.
As shown in fig. 3, the terminal device distribution network apparatus 300 of some embodiments includes: receiving section 301, transmitting section 302, determining section 303, updating section 304, comparing section 305, and generating section 306. The receiving unit 301 is configured to receive a first data set and a second data set sent by a terminal device, where the first data includes first terminal device information, and the second data includes second terminal device information; a sending unit 302, configured to save each piece of first terminal device information included in the first data set and send the first data set to a server; a determining unit 303 configured to determine whether reply data of the server is received within a predetermined time delay, wherein the reply data includes an authentication data set; an updating unit 304, configured to perform data updating on each piece of first terminal device information included in the first data set based on reply data in response to determining that the reply data of the server is received within a predetermined time delay; a comparing unit 305, configured to compare each second terminal device information included in the second data set with each first terminal device information included in the first data set to generate a comparison result; a generating unit 306 configured to generate the jump information based on the comparison result.
It will be understood that the units described in the apparatus 300 correspond to the various steps in the method described with reference to fig. 2. Thus, the operations, features and resulting advantages described above with respect to the method are also applicable to the apparatus 300 and the units included therein, and are not described herein again.
Referring now to FIG. 4, a block diagram of an electronic device (e.g., computing device 101 of FIG. 1)400 suitable for use in implementing some embodiments of the present disclosure is shown. The server shown in fig. 4 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 4, electronic device 400 may include a processing device (e.g., central processing unit, graphics processor, etc.) 401 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)402 or a program loaded from a storage device 408 into a Random Access Memory (RAM) 403. In the RAM403, various programs and data necessary for the operation of the electronic apparatus 400 are also stored. The processing device 401, the ROM 402, and the RAM403 are connected to each other via a bus 404. An input/output (I/O) interface 404 is also connected to bus 404.
Generally, the following devices may be connected to the I/O interface 404: input devices 406 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 407 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 408 including, for example, tape, hard disk, etc.; and a communication device 409. The communication means 409 may allow the electronic device 400 to communicate wirelessly or by wire with other devices to exchange data. While fig. 4 illustrates an electronic device 400 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided. Each block shown in fig. 4 may represent one device or may represent multiple devices as desired.
In particular, according to some embodiments of the present disclosure, the processes described above with reference to the flow diagrams may be implemented as computer software programs. For example, some embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In some such embodiments, the computer program may be downloaded and installed from a network through the communication device 409, or from the storage device 408, or from the ROM 402. The computer program, when executed by the processing apparatus 401, performs the above-described functions defined in the methods of some embodiments of the present disclosure.
It should be noted that the computer readable medium described in some embodiments of the present disclosure may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In some embodiments of the disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In some embodiments of the present disclosure, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the apparatus; or may exist separately without being assembled into the electronic device. The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: receiving a first data set and a second data set sent by terminal equipment, wherein the first data comprises first terminal equipment information, and the second data comprises second terminal equipment information; storing the information of each first terminal device included in the first data set and sending the first data set to a server; determining whether reply data of the server is received within a preset time delay, wherein the reply data comprises an authentication data set; in response to the fact that the reply data of the server are received within the preset time delay, data updating is carried out on the information of each first terminal device included in the first data set on the basis of the reply data; comparing each piece of second terminal equipment information included in the second data set with each piece of first terminal equipment information included in the first data set to generate a comparison result; and generating jump information based on the comparison result.
Computer program code for carrying out operations for embodiments of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in some embodiments of the present disclosure may be implemented by software, and may also be implemented by hardware. The described units may also be provided in a processor, and may be described as: a processor comprises a receiving unit, a sending unit, a determining unit, an updating unit, a comparing unit and a generating unit. The names of the units do not in some cases form a limitation on the units themselves, and for example, a receiving unit may also be described as a "unit that receives a first data set and a second data set sent by a terminal device".
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention in the embodiments of the present disclosure is not limited to the specific combination of the above-mentioned features, but also encompasses other embodiments in which any combination of the above-mentioned features or their equivalents is made without departing from the inventive concept as defined above. For example, the above features and (but not limited to) technical features with similar functions disclosed in the embodiments of the present disclosure are mutually replaced to form the technical solution.

Claims (9)

1. An information generating method, comprising:
receiving a first data set and a second data set sent by terminal equipment, wherein the first data comprises first terminal equipment information, and the second data comprises second terminal equipment information;
storing the information of each first terminal device included in the first data set and sending the first data set to a server;
determining whether reply data of the server is received within a predetermined time delay, wherein the reply data comprises an authentication data set;
in response to the fact that reply data of the server are received within a preset time delay, data updating is conducted on each piece of first terminal equipment information included in the first data set on the basis of the reply data;
comparing each piece of second terminal equipment information included in the second data set with each piece of first terminal equipment information included in the first data set to generate a comparison result;
and generating jump information based on the comparison result.
2. The method of claim 1, wherein the method further comprises:
and sending the skip information to the terminal equipment so as to be authenticated by the terminal equipment.
3. The method of claim 2, wherein the first data further comprises a first data frame length; the second data further includes a second data frame length.
4. The method of claim 3, wherein the generating jump information based on the comparison comprises:
and responding to the comparison result meeting a preset condition, and splicing all the authentication data in the authentication data set to generate skip information.
5. The method according to one of claims 1 to 4, wherein the predetermined time delay is obtained by:
acquiring channel information corresponding to the first data set, wherein the channel information includes: channel transmission rate, channel bandwidth value and channel length;
generating a predetermined time delay value based on the first set of data and the second set of data using the following equation:
Figure FDA0002756540490000021
wherein, TqueueRepresenting a queue delay value; n represents the number of first data included in the first data set; i represents a serial number; l isiIndicating a first data frame length included in the ith piece of data in the first data set; m represents the number of second data included in the second data set; j represents a serial number; hjIndicating a second data frame length included in the jth data in the second data set; r represents the channel bandwidthA value; s represents the channel transmission rate; d represents the channel length; w represents a first preset weight; v represents a second preset weight; z represents a third preset weight; t isaverRepresenting a predetermined time delay value.
6. The method of claim 5, wherein the performing data update on each piece of first terminal device information included in the first data set based on the reply data comprises:
sending the reply data to the terminal equipment and storing the reply data;
and performing data updating on each piece of first terminal equipment information included in the first data set by using the reply data.
7. An information generating apparatus comprising:
the terminal equipment comprises a receiving unit and a processing unit, wherein the receiving unit is configured to receive a first data set and a second data set sent by terminal equipment, the first data comprises first terminal equipment information, and the second data comprises second terminal equipment information;
a sending unit configured to save each piece of first terminal device information included in the first data set and send the first data set to a server;
a determining unit configured to determine whether reply data of the server is received within a predetermined time delay, wherein the reply data includes an authentication data set;
an updating unit configured to perform data updating on each piece of first terminal device information included in the first data set based on reply data in response to determining that the reply data of the server is received within a predetermined time delay;
a comparison unit configured to compare each piece of second terminal device information included in the second data set with each piece of first terminal device information included in the first data set to generate a comparison result;
a generating unit configured to generate jump information based on the comparison result.
8. An electronic device, comprising:
one or more processors;
a storage device having one or more programs stored thereon;
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-6.
9. A computer-readable medium, on which a computer program is stored, wherein the program, when executed by a processor, implements the method of any one of claims 1-6.
CN202011204302.2A 2020-11-02 2020-11-02 Information generation method and device, electronic equipment and computer readable medium Pending CN113849756A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011204302.2A CN113849756A (en) 2020-11-02 2020-11-02 Information generation method and device, electronic equipment and computer readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011204302.2A CN113849756A (en) 2020-11-02 2020-11-02 Information generation method and device, electronic equipment and computer readable medium

Publications (1)

Publication Number Publication Date
CN113849756A true CN113849756A (en) 2021-12-28

Family

ID=78972918

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011204302.2A Pending CN113849756A (en) 2020-11-02 2020-11-02 Information generation method and device, electronic equipment and computer readable medium

Country Status (1)

Country Link
CN (1) CN113849756A (en)

Similar Documents

Publication Publication Date Title
CN112416632B (en) Event communication method and device, electronic equipment and computer readable medium
CN112363879A (en) Cache server performance test method, device, equipment and medium
CN113760536A (en) Data caching method and device, electronic equipment and computer readable medium
CN110650209A (en) Method and device for realizing load balance
US11463549B2 (en) Facilitating inter-proxy communication via an existing protocol
CN111800223B (en) Method, device and system for generating sending message and processing receiving message
CN113553206B (en) Data event execution method and device, electronic equipment and computer readable medium
CN111161072A (en) Block chain-based random number generation method, equipment and storage medium
CN113849756A (en) Information generation method and device, electronic equipment and computer readable medium
CN112929453B (en) Method and device for sharing session data
CN114115941A (en) Resource sending method, page rendering method, device, electronic equipment and medium
CN114785770A (en) Mirror layer file sending method and device, electronic equipment and computer readable medium
CN114095907A (en) Bluetooth connection control method, device and equipment
CN112163176A (en) Data storage method and device, electronic equipment and computer readable medium
CN116938598B (en) Information transmission method, apparatus, electronic device, and computer-readable medium
CN114745276B (en) Switch bandwidth adjusting method and device, electronic equipment and computer readable medium
CN115297046B (en) Gateway information sending method, device, electronic equipment, medium and product
CN113535428B (en) Method, device, equipment and medium for processing request message and response message
CN113852484B (en) Terminal equipment network distribution method, device, electronic equipment and computer readable medium
CN113132480B (en) Data transmission method, device and system
CN114444064A (en) Account processing method and device, electronic equipment and computer readable medium
CN116155808A (en) Network flow control method, device, electronic equipment and computer readable medium
CN113472565A (en) Method, device, equipment and computer readable medium for expanding server function
CN112596753A (en) Dependency package installation method and device, electronic equipment and computer readable medium
CN114172946A (en) Request result sending method and device, electronic equipment and computer readable medium

Legal Events

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