CN113098524B - Information encoding method, device, electronic equipment and storage medium - Google Patents

Information encoding method, device, electronic equipment and storage medium Download PDF

Info

Publication number
CN113098524B
CN113098524B CN202110300654.6A CN202110300654A CN113098524B CN 113098524 B CN113098524 B CN 113098524B CN 202110300654 A CN202110300654 A CN 202110300654A CN 113098524 B CN113098524 B CN 113098524B
Authority
CN
China
Prior art keywords
information
character string
encoding
coding
code
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110300654.6A
Other languages
Chinese (zh)
Other versions
CN113098524A (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.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN202110300654.6A priority Critical patent/CN113098524B/en
Publication of CN113098524A publication Critical patent/CN113098524A/en
Application granted granted Critical
Publication of CN113098524B publication Critical patent/CN113098524B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M7/00Conversion of a code where information is represented by a given sequence or number of digits to a code where the same, similar or subset of information is represented by a different sequence or number of digits
    • H03M7/30Compression; Expansion; Suppression of unnecessary data, e.g. redundancy reduction

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

The disclosure relates to an information encoding method, an information encoding device, an electronic device and a storage medium, wherein the method comprises the following steps: the method comprises the steps of obtaining information to be pushed, dividing the information to be pushed based on separators to obtain a plurality of divided character strings, respectively encoding the character strings by adopting encoding contents of different areas in an encoding table based on preset encoding rules to obtain encoding information of each character string, splicing the encoding information corresponding to the character strings respectively to obtain target encoding information after compression encoding of the information to be pushed, and pushing the target encoding information to a client. According to the information coding method, the character strings are coded by adopting the coding contents of different areas in the coding table, so that the compression effect of compression coding the information to be pushed can be improved, and the required data can be put in as much as possible under the condition that the information length is limited.

Description

Information encoding method, device, electronic equipment and storage medium
Technical Field
The disclosure relates to the field of communication technologies, and in particular, to an information encoding method, an information encoding device, electronic equipment and a storage medium.
Background
With the development of communication technology, a large number of APPs (application programs) are presented, and most APP servers actively push various messages to a user side in order to meet social demands of the user and improve access traffic.
In the related art, in order to evaluate the delivery rate of a message conveniently, some other information such as a message number, a message category (e.g. praise, comment, etc.), a user identifier, a version number, etc. is attached to the message when pushing the message, so that similar information is added to feedback information of the user side.
However, since the size of the transmission information between the user side and the server side of the APP is strictly limited, how to put as much data as possible into the transmission information under the limited situation is a problem that needs to be solved.
Disclosure of Invention
The disclosure provides an information encoding method, an information encoding device, an electronic device and a storage medium, so as to at least solve the problem that more data cannot be put in due to the limited size of transmission information in the related art. The technical scheme of the present disclosure is as follows:
according to a first aspect of an embodiment of the present disclosure, there is provided an information encoding method, including:
acquiring information to be pushed, wherein the information to be pushed carries a separator;
Dividing the information to be pushed based on the separator to obtain a plurality of divided character strings;
Coding the character strings respectively by adopting coding contents of different areas in a coding table based on a preset coding rule to obtain coding information of each character string;
Splicing the coding information corresponding to the character strings respectively to obtain target coding information corresponding to the information to be pushed;
and pushing the target coding information to a client, wherein the target coding information is used for indicating the client to return corresponding feedback information.
In one embodiment, after pushing the target encoded information to the client, the method further comprises: receiving feedback information corresponding to the target coding information returned by the client; and determining the delivery rate of the information to be pushed based on the received feedback information and the pushed target coding information.
In one embodiment, the encoding the plurality of character strings based on the preset encoding rule by using the encoding contents of different regions in the encoding table to obtain the encoding information of each character string includes: for any character string in the plurality of character strings, if the any character string is not zero, performing modular operation on the any character string according to a preset value to obtain a first residual value after modular operation, wherein the preset value is half of the length of a preset encoding table, and is used for obtaining that the last bit of encoding information corresponding to the any character string corresponds to the region range in the preset encoding table after modular operation on the any character string; the next bit code of the bit corresponding to the first remainder value after the modulus is taken as the last bit code of the code information corresponding to the arbitrary character string in the preset code table; and calculating an integer quotient between the arbitrary character string and the preset value, and determining the last bit code as the code information of the arbitrary character string if the integer quotient is zero.
In one embodiment, after the calculating the integer quotient between the arbitrary string and the preset value, the method further includes: if the integer quotient is not zero, assigning the integer quotient to a corresponding arbitrary character string; performing modular operation on the assignment according to the preset value to obtain a second residual value after modular operation; calculating the sum of the second residual value and the preset value, and obtaining the next bit code corresponding to the sum in the preset code table; updating the coding information of the random character string according to the next bit coding; calculating an integer quotient between the assignment and the preset value; and if the integer quotient is zero, determining the updated coding information as the coding information of the arbitrary character string.
In one embodiment, after the calculating the integer quotient between the assignment and the preset value, the method further comprises: and if the integer quotient is not zero, repeating the step of assigning the integer quotient to the corresponding arbitrary character string until the integer quotient is zero, and determining the updated coding information as the coding information of the arbitrary character string.
In one embodiment, the updating the coding information of the arbitrary character string according to the next bit coding includes: and splicing the next bit code and the last bit code, and determining the spliced information as updated code information.
In one embodiment, the encoding the plurality of character strings based on the preset encoding rule by using the encoding contents of different regions in the encoding table to obtain the encoding information of each character string includes: and for any character string in the plurality of character strings, if the any character string is zero, determining the zero as the coding information of the any character string.
According to a second aspect of the embodiments of the present disclosure, there is provided an information encoding apparatus including:
The information acquisition module is configured to acquire information to be pushed, wherein the information to be pushed carries a separator;
the segmentation module is configured to segment the information to be pushed based on the separator to obtain a plurality of segmented character strings;
The coding module is configured to execute coding of the character strings respectively by adopting coding contents of different areas in the coding table based on preset coding rules to obtain coding information of each character string
The splicing module is configured to splice the coding information corresponding to the character strings respectively to obtain target coding information corresponding to the information to be pushed;
And the information pushing module is configured to perform pushing of the target coding information to the client, wherein the target coding information is used for indicating the client to return corresponding feedback information.
In one embodiment, the apparatus further comprises an information delivery rate determination module configured to perform: receiving feedback information corresponding to the target coding information returned by the client; and determining the delivery rate of the information to be pushed based on the received feedback information and the pushed target coding information.
In one embodiment, the encoding module includes: the first operation unit is configured to perform modulo operation on any character string in the plurality of character strings, if the any character string is not zero, performing modulo operation on the any character string according to a preset value to obtain a first residual value after modulo operation, wherein the preset value is half of the length of a preset encoding table, and is used for obtaining that the last bit of encoding information corresponding to the any character string corresponds to the region range in the preset encoding table after modulo operation on the any character string; a code determining unit configured to perform next-bit coding of a bit corresponding to the modulo first remainder value in the preset code table as last-bit coding in the code information corresponding to the arbitrary character string; and the code information determining unit is configured to perform calculation of an integer quotient between the arbitrary character string and the preset value, and determine the last bit code as the code information of the arbitrary character string if the integer quotient is zero.
In one embodiment, the encoding information determining unit is further configured to perform: if the integer quotient is not zero, assigning the integer quotient to a corresponding arbitrary character string; performing modular operation on the assignment according to the preset value to obtain a second residual value after modular operation; calculating the sum of the second residual value and the preset value, and obtaining the next bit code corresponding to the sum in the preset code table; updating the coding information of the random character string according to the next bit coding; calculating an integer quotient between the assignment and the preset value; and if the integer quotient is zero, determining the updated coding information as the coding information of the arbitrary character string.
In one embodiment, the encoding information determining unit is further configured to perform: and if the integer quotient is not zero, repeating the step of assigning the integer quotient to the corresponding arbitrary character string until the integer quotient is zero, and determining the updated coding information as the coding information of the arbitrary character string.
In one embodiment, the encoding information determining unit is further configured to perform: and splicing the next bit code and the last bit code, and determining the spliced information as updated code information.
In one embodiment, the encoding module is further configured to perform: and for any character string in the plurality of character strings, if the any character string is zero, determining the zero as the coding information of the any character string.
According to a third aspect of embodiments of the present disclosure, there is provided an electronic device, comprising: a processor; a memory for storing the processor-executable instructions; wherein the processor is configured to execute the instructions to cause the electronic device to perform the information encoding method described in any of the embodiments of the first aspect.
According to a fourth aspect of embodiments of the present disclosure, there is provided a storage medium, which when executed by a processor of an electronic device, enables the electronic device to perform the information encoding method described in any one of the embodiments of the first aspect.
According to a fifth aspect of embodiments of the present disclosure, there is provided a computer program product comprising a computer program stored in a readable storage medium, from which at least one processor of a device reads and executes the computer program, causing the device to perform the information encoding method as described in any one of the embodiments of the first aspect.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects: dividing the information to be pushed based on the separator to obtain a plurality of divided character strings, respectively encoding the character strings by adopting the encoding contents of different areas in the encoding table based on a preset encoding rule to obtain the encoding information of each character string, and then splicing the encoding information respectively corresponding to the character strings to obtain target encoding information after compression encoding of the information to be pushed, and pushing the target encoding information to a client. According to the information coding method, the character strings are coded by adopting the coding contents of different areas in the coding table, so that the compression effect of compression coding the information to be pushed can be improved, and the required data can be put in as much as possible under the condition that the information length is limited.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure and do not constitute an undue limitation on the disclosure.
Fig. 1 is an application environment diagram illustrating an information encoding method according to an exemplary embodiment.
Fig. 2 is a flowchart illustrating a method of encoding information according to an exemplary embodiment.
Fig. 3 is a flowchart illustrating an information encoding method according to another exemplary embodiment.
Fig. 4 is a flowchart illustrating steps for encoding a string according to an exemplary embodiment.
Fig. 5 is a flowchart illustrating the encoding steps of a string according to another exemplary embodiment.
Fig. 6 is a flowchart illustrating a step of encoding a character string according to yet another exemplary embodiment.
Fig. 7 is a block diagram illustrating an information encoding apparatus according to an exemplary embodiment.
Fig. 8 is a block diagram of an electronic device, according to an example embodiment.
Detailed Description
In order to enable those skilled in the art to better understand the technical solutions of the present disclosure, the technical solutions of the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the foregoing figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the disclosure described herein may be capable of operation in sequences other than those illustrated or described herein. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
The information encoding method provided by the disclosure can be applied to an application environment as shown in fig. 1. The terminal 110 interacts with the server 120 through the network, and the server 120 may actively push various messages to the terminal 110, and usually, in order to measure and evaluate the delivery rate of the messages, some other information such as a message number, a message category (e.g. praise, comment, etc.), a user identifier, a version number, etc. may be attached to the push message, so that similar information is added to the feedback information of the terminal 110, so as to evaluate the delivery rate of the push message. Because the size of the mutual transmission information between the terminal 110 and the server 120 in the conventional technology is strictly limited by the channel manufacturer, in this disclosure, the server 120 may perform compression encoding processing on the information to be pushed before pushing the information to the terminal 110, thereby reducing the size of the information to be pushed, and putting as much data as possible into the information to be pushed. The terminal 110 may be, but not limited to, various personal computers, notebook computers, smartphones, tablet computers, and portable wearable devices, and the server 120 may be implemented as a stand-alone server or a server cluster composed of a plurality of servers.
Fig. 2 is a flowchart illustrating an information encoding method according to an exemplary embodiment, and as shown in fig. 2, an example of the method applied to the server in fig. 1 is described, including the following steps.
In step S210, information to be pushed is acquired.
The information to be pushed is information to be pushed to the terminal by the server. Specifically, the information to be pushed typically includes a message number, a message category (e.g., praise, comment, etc.), a user identification, a version number, and the like. In this embodiment, since the information to be pushed includes information with multiple different meanings, in order to improve the identification of the information to be pushed, two pieces of information with different meanings are typically connected through a separator. The separator may be a specific character, such as "-" or ".", and there may be a separator in the information with the same meaning, so the information to be pushed usually carries the separator. For example, for information with version number 8.16.25.15, there is a separator "". If the user number included in a certain message to be pushed is 11 and the version number is 8.16.25.15, the corresponding message to be pushed may be 11-8.16.25.15. Therefore, in this embodiment, before the server pushes the information to be pushed to the terminal, the following steps may be adopted to perform compression encoding processing on the information to be pushed.
In step S220, the information to be pushed is partitioned based on the separator, so as to obtain a plurality of partitioned character strings.
Since the conventional Base62 coding technology directly encodes numbers, for example, for the information 11-8.16.25.15 (total length is 13) to be pushed, the result after the Base62 coding technology is used for encoding is b-8.g.p.f (total length is 9). Therefore, after compression by the Base62 coding technology, the separator in the information to be pushed occupies a larger specific gravity, the length is reduced by 30.78%, and the compression effect is not ideal. Based on the above, in this embodiment, the information to be pushed is partitioned based on the separator in the information to be pushed, so as to obtain multiple partitioned character strings, and then each character string is encoded by adopting the subsequent steps, and the meaning of the separator is fully considered in the encoding process and compressed together with the character string, so that the compression effect is further improved.
In step S230, the plurality of character strings are encoded by using the encoded contents of the different regions in the encoding table based on the preset encoding rule, so as to obtain the encoding information of each character string.
The coding table is a reference basis in the coding process, for example, the coding table can be an existing base62 code or base64 code, or the like, or can be a coding table obtained by arranging letters, numbers and symbols in a certain order. The code contents of the different areas in the code table refer to letters, numbers, symbols, etc. recorded in the different areas in the code table, for example, the code contents of the first page in the code table refer to letters, numbers, symbols recorded in the first page in the code table, and the first 50 code contents in the code table refer to the first 50 letters, numbers, symbols recorded in the code table. The encoding in the subsequent "encoding" is then the process of converting information from one form or format to another. The encoded information is new information obtained by encoding the segmented character string by using an encoding table. The preset encoding rule in this embodiment refers to a rule that specifically adopts the encoding content of which region in the encoding table to encode the character string.
In this embodiment, a certain character string is encoded by adopting the encoded contents of different regions in the encoding table based on a preset encoding rule, so that the last bit encoding in the obtained encoded information and other bit encoding except for the last bit encoding in the encoded information are respectively from different regions in the encoding table, so that the encoded information after encoding the certain character string has a definite end bit (i.e., the last bit), namely, the meaning of separators between the character strings is considered, and the separators in the obtained encoding result do not occupy the data length, thereby improving the compression effect under the condition of not influencing the recognition of the compressed information.
In step S240, the encoding information corresponding to each of the plurality of character strings is spliced to obtain target encoding information corresponding to the information to be pushed.
The target coding information refers to a final compressed result obtained after coding the information to be pushed. Specifically, each character string obtained after the information to be pushed is divided through the steps is respectively encoded, so that the encoded information of each character string is obtained, and then the corresponding encoded information of each character string is spliced in sequence according to the sequence of each character string, so that a spliced character string is obtained, and the spliced character string is the target encoded information corresponding to the information to be pushed, namely, the compressed result after the information to be pushed is compressed. For example, taking the above-mentioned information to be pushed as 11-8.16.25.15 (with a total length of 13) as an example, after the above-mentioned method is adopted for encoding, the obtained encoding result is b8gpf (with a total length of 9), and the length of the encoding result is reduced by 60.54% compared with the length of the original information to be pushed, so that the encoding method has a better compression effect.
In step S250, target encoding information is pushed to the client.
The target coding information is used for indicating the client to return corresponding feedback information, and the feedback information is a message generated and fed back by the client based on pushing of the server, and can be used for evaluating the pushing rate of the corresponding information to be pushed. Specifically, in this embodiment, after the target coding information corresponding to the information to be pushed is obtained through the above steps, the target coding information is pushed to the client, so that the client can return the corresponding feedback information.
According to the information coding method, the information to be pushed is obtained, the information to be pushed is segmented based on the separator, a plurality of segmented character strings are obtained, the character strings are respectively coded by adopting coding contents of different areas in the coding table based on the preset coding rule, the coding information of each character string is obtained, the coding information corresponding to the character strings is spliced, the target coding information after compression coding is carried out on the information to be pushed is obtained, and the target coding information is pushed to the client. According to the information coding method, the character strings are coded by adopting the coding contents of different areas in the coding table, so that the compression effect of compression coding the information to be pushed can be improved, and the required data can be put in as much as possible under the condition that the information length is limited.
In an exemplary embodiment, as shown in fig. 3, after pushing the target encoding information to the client, the method further includes the following steps:
in step S260, feedback information corresponding to the target coding information returned by the client is received.
The feedback information is a message generated by the client based on pushing of the server and fed back to the server, and can be used for the server to evaluate the pushing rate of the information to be pushed. In this embodiment, after the client receives the push information of the server, feedback information corresponding to the push information may be generated and returned to the server, so that the server may receive feedback information corresponding to the target coding information returned by the client. Specifically, the feedback information may be extracted from a message pushed by the server, and typically includes a message number, a message category (e.g., praise, comment, etc.), a user identifier, a version number, and so on.
In step S270, the delivery rate of the information to be pushed is determined based on the received feedback information and the pushed target coding information.
Wherein, the delivery rate is the ratio of the number of received information to the number of transmitted information. In this embodiment, the delivery rate of the information to be pushed refers to a ratio of the number of received information to be pushed to the number of sent information to be pushed. Since the information to be pushed is sent by the server, the amount of information it sends is known. After the client receives the push information of the server, feedback information can be generated based on the push information and returned to the server, so that the server can measure the quantity of the information received by the client based on the quantity of the received feedback information. Specifically, the ratio of the number of feedback information of the information to be pushed received by the server to the number of information to be pushed sent by the server is calculated, so that the delivery rate of the information to be pushed can be obtained.
Because the information to be pushed in the application is sent after compression coding, the corresponding feedback information can also be compression coded in the same way, so that needed data can be put in as much as possible, the server can further analyze and process the data, and the sending effect of the pushed information in the whole or in certain scenes can be evaluated more conveniently and flexibly.
In an exemplary embodiment, as shown in fig. 4, in step S230, a plurality of character strings are encoded respectively by using the encoded contents of different areas in the encoding table based on a preset encoding rule, so as to obtain the encoded information of each character string, which may be specifically implemented by the following steps:
In step S231, it is detected whether or not any character string is zero for any character string among the plurality of character strings.
It should be noted that, in this embodiment, the process of encoding the segmented character strings is described, and it is understood that, when the information to be pushed is segmented, the position of each segmented character string in the information to be pushed may be recorded, and further, when the encoded information corresponding to each character string is spliced, the corresponding character strings may be spliced in sequence based on the position of the corresponding character string in the information to be pushed. In this embodiment, when any character string in the information to be pushed is to be encoded, it is first detected whether the character string is zero, if the character string is not zero, step S232 is executed, and if the character string is zero, step S235 is executed.
In step S232, if any character string is not zero, performing a modulo operation on any character string according to a preset value to obtain a modulo first remainder value.
The preset value is half of the length of the preset encoding table, and is used for obtaining the region range corresponding to the last bit encoding in the encoding information corresponding to the random character string after performing modular operation on the random character string. For example, if the preset code table is base62 code, since the code table is composed of 10 digits, 26 uppercase english alphabets, and 26 lowercase english alphabets, the length thereof is 62 bytes in total, half the length of the preset code table is 31. In this embodiment, a modulo operation is performed on any character string according to a preset value, so as to obtain a first remainder value after modulo, i.e. a modulus of dividing the character string by the preset value, i.e. a remainder value of dividing the character string by the preset value. The remainder obtained by the definition of the modulo operation is smaller than the predetermined value, and thus the remainder value can be mapped to the range of the first half of the predetermined code table.
In step S233, the next bit code of the bit corresponding to the modulo first remainder value in the preset code table is used as the last bit code in the code information corresponding to the arbitrary character string.
In this embodiment, in order to consider the delimiter between the strings during the encoding process, the last bit and the other bits in the encoded information are obtained by using the encoded contents of different regions in the encoding table, so that the encoded information after encoding a certain string has an explicit end bit (i.e., the last bit), that is, the meaning of the delimiter between the strings is considered. In addition, when the character string is encoded, the length of the encoded information corresponding to the character string is not clear, so in this embodiment, the meaning of the separator is considered first in the encoding process, that is, the last bit of the encoded information corresponding to the character string is determined first. Specifically, the next bit code of the bit corresponding to the first remainder value after the modulus is taken as the last bit code in the code information corresponding to any character string in the preset code table. For example, if the preset encoding table is used (0123456789 abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ) and the length thereof is 62 bits, the preset value is half of the length thereof, i.e. 31, and the first residual value is obtained by dividing the character string by the modulus of the preset value, and the last bit encoding of the encoding information corresponding to the character string is determined from the preset encoding table based on the first residual value. For example, if the obtained first remainder value is 15, the code corresponding to the 16 th bit (i.e. the next bit of the first remainder value 15) in the preset code table is used as the last bit code of the code information corresponding to the character string.
In step S234, an integer quotient between the arbitrary character string and the preset value is calculated, and if the integer quotient is zero, the last bit code is determined as the code information of the arbitrary character string.
Specifically, after the last bit of the encoded information corresponding to the character string is obtained through the steps, whether the character string needs to be encoded for multiple rounds or not is further determined, namely whether the encoded information corresponding to the character string has multiple bits or not is determined. In this embodiment, the integer quotient between the character string and the preset value is calculated, that is, the character string is divided by the preset value to obtain the corresponding integer quotient, if the integer quotient is zero, it means that multiple rounds of encoding are not required to be performed on the character string, that is, it is determined that the encoding information corresponding to the character string has only one bit, so that the last bit encoding obtained above can be determined as the encoding information of the character string, that is, encoding of the character string is completed.
In step S235, if any character string is zero, zero is determined as the encoding information of any character string.
Specifically, in this embodiment, for a string that is zero, the corresponding encoded information is also zero.
In the above embodiment, when the character string is encoded, by detecting whether the character string is zero, if the character string is zero, determining zero as the encoding information of the character string; if the character string is not zero, performing modulo operation on any character string according to a preset value to obtain a modulo first remainder value, taking the next code of the bit corresponding to the modulo first remainder value in a preset code table as the last code of code information corresponding to the character string, further calculating an integer quotient between the character string and the preset value, and if the integer quotient is zero, determining the last code as the code information of the character string. The meaning of the separator between the character strings is fully considered in the encoding process, and the meaning of the separator and the character strings are encoded together, so that the compression effect of the encoding is greatly improved.
In one embodiment, as shown in fig. 5, after calculating the integer quotient between the arbitrary character string and the preset value in step S234, the method further includes the steps of:
In step S510, if the integer quotient is not zero, the integer quotient is assigned to the corresponding arbitrary string.
Specifically, if the integer quotient is not zero, the character string is required to be encoded for multiple rounds, and the fact that the encoding information corresponding to the character string has multiple bits can be determined. Since the last bit code in the code information corresponding to the character string is obtained through the steps, other bit codes in the code information corresponding to the character string can be further determined. In this embodiment, if the integer quotient obtained by dividing the character string by the preset value is not zero, the integer quotient is assigned to the corresponding character string to further perform encoding.
In step S520, the assignment is subjected to a modulo operation according to the preset value, so as to obtain a modulo second remainder value.
Specifically, performing modulo operation on the assignment according to a preset value to obtain a second remainder value after modulo operation, namely obtaining a modulus of dividing the assignment by the preset value, namely a remainder value divided by the assignment. In this embodiment, in order to distinguish between a module of dividing an original string by a preset value and a module of assigning a value by a preset value, the module of dividing an original string by a preset value is defined as a first remainder value, and the module of assigning a value by a preset value is defined as a second remainder value.
In step S530, a sum of the second remainder value and the preset value is calculated, and a next bit code corresponding to the sum in the preset code table is obtained.
Since the preset value is half of the length of the preset encoding table, and the last bit of the encoding information corresponding to the character string determined based on the first remainder value is obtained from the first half area of the preset encoding table as known from the above embodiment. Therefore, in this embodiment, the other bit codes except the last bit code in the code information corresponding to the character string are determined by the code content in the second half area in the preset code table. Specifically, the next bit code of the corresponding bit of the sum in the preset code table is obtained by calculating the sum of the second residual value and the preset value. For example, if the preset value is 31 and the second residual value is 15, the code corresponding to the 47 th (i.e. 15+31+1) bit (i.e. the next bit of the sum of the second residual value and the preset value) in the preset code table is obtained.
In step S540, the encoding information of any character string is updated according to the next bit encoding.
The coding information is an intermediate result obtained in the process of coding the character string, and because the final coding information corresponding to the character string has multiple bits, only one bit of coding can be obtained in each coding, the coding information of the character string can be updated after each bit of coding is obtained. Specifically, since the last bit of the code information corresponding to the character string is already obtained by the method shown in fig. 4, and the last bit of the code information corresponding to the character string is obtained by the above steps, the code obtained by the above steps (i.e., the code next to the corresponding bit in the preset code table) is spliced with the last bit of the code information corresponding to the character string, so as to obtain updated code information. For example, if the last bit code in the code information corresponding to a certain character string is 1, the first bit code of the other bits in the code information corresponding to the character string is 2, and the code information corresponding to the character string is updated to 21.
In step S550, an integer quotient between the assigned value and the preset value is calculated.
Specifically, by calculating the integer quotient between the assignment and the preset value, it can be further determined whether the character string needs to be encoded in the next round. Specifically, if the integer quotient between the assignment and the preset value is zero, the character string does not need to be encoded in the next round; if the integer quotient between the assignment and the preset value is not zero, the character string is required to be encoded in the next round.
In step S560, if the integer quotient is zero, the updated encoded information is determined as the encoded information of an arbitrary character string.
Specifically, if the integer quotient between the assigned value and the preset value is zero, it means that the character string does not need to be encoded in the next round, so that the updated encoding information can be determined as the encoding information of the corresponding character string, and the final encoding information corresponding to the character string is obtained.
If the integer quotient is not zero, repeating the steps S510 to S550 until the calculated integer quotient is zero, and determining the updated encoding information as the encoding information of any character string.
In the above embodiment, the meaning of the separator between the character strings is fully considered in the encoding process, and the meaning of the separator and the character strings are encoded together, that is, the last bit of encoding and other bit of encoding in the encoded information are obtained by presetting the encoded contents of different areas in the encoding table, so that the compression effect of encoding is greatly improved.
In one embodiment, as shown in fig. 6, the following further describes a specific encoding process for encoding a character string to obtain encoded information, in this embodiment, taking a character string to be encoded as m, a preset encoding table as an example is described as follows: (0123456789 abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ) with a length of 62 bits, the preset value is half its length, i.e. 31. The coding process specifically comprises the following steps:
step 602, obtaining a character string m to be encoded.
Step 604, it is determined whether the character string m to be encoded is equal to 0.
In step 606, if the character to be encoded m is equal to 0, then 0 is used as the encoding information of m.
In step 608, if m is not equal to 0, a first remainder of dividing m by 31 is calculated.
When m is not equal to 0, then the encoding of m is started, the remainder of m divided by 31 is first calculated, and the result is assigned to the function index, i.e. index=m31.
Step 610, it is determined whether it is the first round of encoding m.
I.e. determining the coding content of a specific area in a preset coding table referenced during coding, i.e. determining whether the last bit in the coding information corresponding to m is coded.
If the first round of m is encoded, the value c obtained by the encoding of the present round is determined in the first mode in step 612.
Specifically, if the first round of coding is performed on m, searching for the (index+1) th character from a preset coding table, and taking the character as a value c obtained by the coding of the round, so as to obtain the last bit of coding information corresponding to m, namely determining the last bit of coding information corresponding to m from the coding content of the first half part in the preset coding table.
If the first round of m is not encoded, the value c obtained by the encoding of the present round is determined in a second manner, step 614.
Specifically, if the first round of m is not encoded, the above-identified index (index=m% 31) is updated, and the updated index=index+31, that is, a new index=m% 31+31. The value c obtained by the present round of encoding is the value c obtained by searching the (index+1) th character from the preset encoding table, namely the (m%31+31+1) th character is used as the value c obtained by the present round of encoding, namely other bit codes except the last bit code in the encoding information corresponding to m are obtained, namely other bit codes in the encoding information corresponding to m are determined from the encoding content of the second half part in the preset encoding table, and the encoding content is different from the encoding content of the region where the last bit code in the encoding information is located. Namely, the meaning of the separator between the character strings is considered in the encoding process, so that the encoding compression effect is further improved.
And step 616, updating the coding information of m based on c.
In this embodiment, assuming that the encoded information of m is rst, its initial value is a null value, and the value obtained by the first encoding is c, the encoded information of m is updated based on c, and new encoded information rst is c. For example, when there are multiple rounds of encoding, if the encoding result c of the first round is 1, the updated encoding information rst of the present round is 1, if the encoding result obtained by the second round is 2, the updated encoding information rst of the present round is 21, and if the encoding result obtained by the third round is 3, the updated encoding information rst of the present round is 321.
At step 618, an integer quotient of m divided by 31 is calculated.
I.e. further determining whether the string m needs to be encoded in multiple rounds, i.e. determining whether the encoded information corresponding to the string m has multiple bits. In this embodiment, by calculating an integer quotient between the string m and the preset value 31, that is, dividing the string m by 31, a corresponding integer quotient is obtained, if the integer quotient is zero, it means that multiple rounds of encoding are not required for the string m, and if the integer quotient is not zero, it means that multiple rounds of encoding are required for the string m, so that it is further determined whether the integer quotient is zero.
Step 620, it is determined whether the integer quotient is zero.
If the integer quotient is zero, that is, it is determined that the code information corresponding to the string m has only one bit, step 622 is performed to determine the last bit code obtained as the code information of the string, that is, determine the updated code information rst as the code information of the string, that is, complete the coding of the string. If the integer quotient is not zero, it is determined that the code information corresponding to the character string m is more than one bit, step 624 is executed, where the integer quotient is assigned to the character string m, and the next round of encoding is performed.
At step 622, the last bit encoding is determined as the encoded information for the string.
Step 624, assign the integer quotient to the string m, and return to step 604 for the next round of encoding. And determining the updated coding information rst as the coding information of the character string m until the calculated integer quotient is zero.
In the above embodiment, in the encoding and compressing process of the information to be pushed, since the meaning of the separator between the character strings is considered, the region range where the last bit of the encoded information corresponding to the character strings is located in the preset encoding table is set to be different from the region range where other bit of the encoded information is located in the preset encoding table, so that the encoding and compressing effect is greatly improved.
It should be understood that, although the steps in the flowcharts of fig. 1-6 are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least a portion of the steps of fig. 1-6 may include multiple steps or stages that are not necessarily performed at the same time, but may be performed at different times, nor does the order in which the steps or stages are performed necessarily occur sequentially, but may be performed alternately or alternately with other steps or at least a portion of the steps or stages in other steps.
Fig. 7 is a block diagram showing an information processing apparatus to be pushed according to an exemplary embodiment. Referring to fig. 7, the apparatus includes an information acquisition module 702, a segmentation module 704, an encoding module 706, a splicing module 708, and an information push module 710.
The information obtaining module 702 is configured to obtain information to be pushed, where the information to be pushed carries a separator;
a segmentation module 704, configured to perform segmentation on the information to be pushed based on the separator, so as to obtain a plurality of segmented character strings;
A coding module 706 configured to perform coding of the plurality of character strings with the coding contents of different regions in the coding table based on a preset coding rule to obtain coding information of each character string
The splicing module 708 is configured to splice the coding information corresponding to the character strings respectively to obtain target coding information corresponding to the information to be pushed;
the information pushing module 710 is configured to perform pushing the target coding information to the client, where the target coding information is used to instruct the client to return corresponding feedback information.
In an exemplary embodiment, the apparatus further comprises: the information delivery rate determining module is configured to receive feedback information corresponding to the target coding information returned by the client; and determining the delivery rate of the information to be pushed based on the received feedback information and the pushed target coding information.
In an exemplary embodiment, the encoding module includes: the first operation unit is configured to perform modulo operation on any character string in the plurality of character strings, if the any character string is not zero, performing modulo operation on the any character string according to a preset value to obtain a first residual value after modulo operation, wherein the preset value is half of the length of a preset encoding table, and is used for obtaining that the last bit of encoding information corresponding to the any character string corresponds to the region range in the preset encoding table after modulo operation on the any character string; a code determining unit configured to perform next-bit coding of a bit corresponding to the modulo first remainder value in the preset code table as last-bit coding in the code information corresponding to the arbitrary character string; and the code information determining unit is configured to perform calculation of an integer quotient between the arbitrary character string and the preset value, and determine the last bit code as the code information of the arbitrary character string if the integer quotient is zero.
In an exemplary embodiment, the encoding information determining unit is further configured to perform: if the integer quotient is not zero, assigning the integer quotient to a corresponding arbitrary character string; performing modular operation on the assignment according to the preset value to obtain a second residual value after modular operation; calculating the sum of the second residual value and the preset value, and obtaining the next bit code corresponding to the sum in the preset code table; updating the coding information of the random character string according to the next bit coding; calculating an integer quotient between the assignment and the preset value; and if the integer quotient is zero, determining the updated coding information as the coding information of the arbitrary character string.
In an exemplary embodiment, the encoding information determining unit is further configured to perform: and if the integer quotient is not zero, repeating the step of assigning the integer quotient to the corresponding arbitrary character string until the integer quotient is zero, and determining the updated coding information as the coding information of the arbitrary character string.
In an exemplary embodiment, the encoding information determining unit is further configured to perform: and splicing the next bit code and the last bit code, and determining the spliced information as updated code information.
In an exemplary embodiment, the encoding module is further configured to perform: and for any character string in the plurality of character strings, if the any character string is zero, determining the zero as the coding information of the any character string.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
Fig. 8 is a block diagram for an information encoding apparatus Z00, according to an exemplary embodiment. For example, device Z00 may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, exercise device, personal digital assistant, or the like.
Referring to fig. 8, device Z00 may include one or more of the following components: a processing component Z02, a memory Z04, a power component Z06, a multimedia component Z08, an audio component Z10, an input/output (I/O) interface Z12, a sensor component Z14, and a communication component Z16.
The processing component Z02 generally controls overall operation of the device Z00, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component Z02 may include one or more processors Z20 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component Z02 may include one or more modules that facilitate interactions between the processing component Z02 and other components. For example, the processing component Z02 may include a multimedia module to facilitate interaction between the multimedia component Z08 and the processing component Z02.
The memory Z04 is configured to store various types of data to support operations at the device Z00. Examples of such data include instructions for any application or method operating on device Z00, contact data, phonebook data, messages, pictures, video, and the like. The memory Z04 may be implemented by any type of volatile or non-volatile memory device or combination thereof, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk, or optical disk.
The power supply component Z06 provides power to the various components of the device Z00. Power component Z06 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for device Z00.
The multimedia component Z08 comprises a screen between said device Z00 and the user providing an output interface. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or slide action, but also the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component Z08 includes a front camera and/or a rear camera. The front camera and/or the rear camera may receive external multimedia data when the device Z00 is in an operation mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
The audio component Z10 is configured to output and/or input an audio signal. For example, the audio component Z10 includes a Microphone (MIC) configured to receive external audio signals when the device Z00 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may be further stored in the memory Z04 or transmitted via the communication component Z16. In some embodiments, the audio component Z10 further comprises a speaker for outputting audio signals.
The I/O interface Z12 provides an interface between the processing component Z02 and a peripheral interface module, which may be a keyboard, click wheel, button, etc. These buttons may include, but are not limited to: homepage button, volume button, start button, and lock button.
Sensor assembly Z14 includes one or more sensors for providing status assessment of various aspects of device Z00. For example, sensor assembly Z14 may detect the on/off state of device Z00, the relative positioning of the assemblies, such as the display and keypad of device Z00, the sensor assembly Z14 may also detect the change in position of device Z00 or a component of device Z00, the presence or absence of user contact with device Z00, the orientation or acceleration/deceleration of device Z00, and the change in temperature of device Z00. The sensor assembly Z14 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly Z14 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly Z14 may also include an acceleration sensor, a gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component Z16 is configured to facilitate wired or wireless communication between the device Z00 and other devices. Device Z00 may access a wireless network based on a communication standard, such as WiFi, an operator network (e.g., 2G, 3G, 4G, or 5G), or a combination thereof. In one exemplary embodiment, the communication component Z16 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, the communication component Z16 further includes a Near Field Communication (NFC) module to facilitate short range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, device Z00 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components for performing the methods described above.
In an exemplary embodiment, a computer readable storage medium is also provided, such as a memory Z04, comprising instructions executable by the processor Z20 of the device Z00 to perform the above method. For example, the computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
In an exemplary embodiment, there is also provided a computer program product comprising a computer program stored in a readable storage medium, from which at least one processor of a device reads and executes the computer program, causing the device to perform the information encoding method as described above.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any adaptations, uses, or adaptations of the disclosure following the general principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (15)

1. An information encoding method, the method comprising:
acquiring information to be pushed, wherein the information to be pushed carries a separator;
Dividing the information to be pushed based on the separator to obtain a plurality of divided character strings;
Coding the character strings respectively by adopting coding contents of different areas in a coding table based on a preset coding rule to obtain coding information of each character string;
Splicing the coding information corresponding to the character strings respectively to obtain target coding information corresponding to the information to be pushed;
pushing the target coding information to a client, wherein the target coding information is used for indicating the client to return corresponding feedback information;
The encoding method includes the steps that the plurality of character strings are respectively encoded by adopting encoding contents of different areas in an encoding table based on a preset encoding rule to obtain encoding information of each character string, and the method comprises the following steps:
For any character string in the plurality of character strings, if the any character string is not zero, performing modular operation on the any character string according to a preset value to obtain a first residual value after modular operation, wherein the preset value is half of the length of a preset encoding table, and is used for obtaining that the last bit of encoding information corresponding to the any character string corresponds to the region range in the preset encoding table after modular operation on the any character string;
The next bit code of the bit corresponding to the first remainder value after the modulus is taken as the last bit code of the code information corresponding to the arbitrary character string in the preset code table;
And calculating an integer quotient between the arbitrary character string and the preset value, and determining the last bit code as the code information of the arbitrary character string if the integer quotient is zero.
2. The method of claim 1, wherein after pushing the target encoded information to a client, the method further comprises:
Receiving feedback information corresponding to the target coding information returned by the client;
and determining the delivery rate of the information to be pushed based on the received feedback information and the pushed target coding information.
3. The method of claim 1, wherein after the calculating the integer quotient between the arbitrary string and the preset value, the method further comprises:
if the integer quotient is not zero, assigning the integer quotient to a corresponding arbitrary character string;
performing modular operation on the assignment according to the preset value to obtain a second residual value after modular operation;
Calculating the sum of the second residual value and the preset value, and obtaining the next bit code corresponding to the sum in the preset code table;
updating the coding information of the random character string according to the next bit coding;
calculating an integer quotient between the assignment and the preset value;
And if the integer quotient is zero, determining the updated coding information as the coding information of the arbitrary character string.
4. A method according to claim 3, wherein after said calculating an integer quotient between said assigned value and said preset value, the method further comprises:
And if the integer quotient is not zero, repeating the step of assigning the integer quotient to the corresponding arbitrary character string until the integer quotient is zero, and determining the updated coding information as the coding information of the arbitrary character string.
5. A method according to claim 3, wherein said updating the encoded information of said arbitrary character string according to said next bit encoding comprises:
and splicing the next bit code and the last bit code, and determining the spliced information as updated code information.
6. The method of claim 1, wherein the encoding the plurality of character strings with the encoded contents of different regions in the encoding table based on the preset encoding rule to obtain the encoded information of each character string includes:
And for any character string in the plurality of character strings, if the any character string is zero, determining the zero as the coding information of the any character string.
7. An information encoding apparatus, comprising:
The information acquisition module is configured to acquire information to be pushed, wherein the information to be pushed carries a separator;
the segmentation module is configured to segment the information to be pushed based on the separator to obtain a plurality of segmented character strings;
The coding module is configured to execute coding of the character strings respectively by adopting coding contents of different areas in the coding table based on preset coding rules to obtain coding information of each character string
The splicing module is configured to splice the coding information corresponding to the character strings respectively to obtain target coding information corresponding to the information to be pushed;
the information pushing module is configured to perform pushing of the target coding information to a client, wherein the target coding information is used for indicating the client to return corresponding feedback information;
The encoding module includes:
the first operation unit is configured to perform modulo operation on any character string in the plurality of character strings, if the any character string is not zero, performing modulo operation on the any character string according to a preset value to obtain a first residual value after modulo operation, wherein the preset value is half of the length of a preset encoding table, and is used for obtaining that the last bit of encoding information corresponding to the any character string corresponds to the region range in the preset encoding table after modulo operation on the any character string;
A code determining unit configured to perform next-bit coding of a bit corresponding to the modulo first remainder value in the preset code table as last-bit coding in the code information corresponding to the arbitrary character string;
and the code information determining unit is configured to perform calculation of an integer quotient between the arbitrary character string and the preset value, and determine the last bit code as the code information of the arbitrary character string if the integer quotient is zero.
8. The apparatus of claim 7, further comprising an information delivery rate determination module configured to perform:
Receiving feedback information corresponding to the target coding information returned by the client;
and determining the delivery rate of the information to be pushed based on the received feedback information and the pushed target coding information.
9. The apparatus of claim 7, wherein the encoding information determining unit is further configured to perform:
if the integer quotient is not zero, assigning the integer quotient to a corresponding arbitrary character string;
performing modular operation on the assignment according to the preset value to obtain a second residual value after modular operation;
Calculating the sum of the second residual value and the preset value, and obtaining the next bit code corresponding to the sum in the preset code table;
updating the coding information of the random character string according to the next bit coding;
calculating an integer quotient between the assignment and the preset value;
And if the integer quotient is zero, determining the updated coding information as the coding information of the arbitrary character string.
10. The apparatus according to claim 9, wherein the coding information determining unit is further configured to perform:
And if the integer quotient is not zero, repeating the step of assigning the integer quotient to the corresponding arbitrary character string until the integer quotient is zero, and determining the updated coding information as the coding information of the arbitrary character string.
11. The apparatus according to claim 9, wherein the coding information determining unit is further configured to perform:
and splicing the next bit code and the last bit code, and determining the spliced information as updated code information.
12. The apparatus of claim 7, wherein the encoding module is further configured to perform:
And for any character string in the plurality of character strings, if the any character string is zero, determining the zero as the coding information of the any character string.
13. An electronic device, comprising:
A processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the information encoding method of any one of claims 1 to 6.
14. A computer readable storage medium, characterized in that instructions in the computer readable storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the information encoding method of any one of claims 1 to 6.
15. A computer program product comprising a computer program, characterized in that the computer program, when executed by a processor, implements the information encoding method of any of claims 1-6.
CN202110300654.6A 2021-03-22 2021-03-22 Information encoding method, device, electronic equipment and storage medium Active CN113098524B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110300654.6A CN113098524B (en) 2021-03-22 2021-03-22 Information encoding method, device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110300654.6A CN113098524B (en) 2021-03-22 2021-03-22 Information encoding method, device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113098524A CN113098524A (en) 2021-07-09
CN113098524B true CN113098524B (en) 2024-08-06

Family

ID=76668740

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110300654.6A Active CN113098524B (en) 2021-03-22 2021-03-22 Information encoding method, device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113098524B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110737908A (en) * 2019-10-12 2020-01-31 京东数字科技控股有限公司 Encryption method and apparatus, decryption method and apparatus, electronic device, and medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103037436B (en) * 2012-12-21 2015-07-01 河海大学 Network coding perception wireless mesh routing protocol based on hybrid wireless mesh protocol (HWMP)
CN109428602A (en) * 2017-08-30 2019-03-05 前海中科芯片控股(深圳)有限公司 A kind of data-encoding scheme, device and storage medium
CN109525249B (en) * 2018-09-30 2023-10-27 湖南瑞利德信息科技有限公司 Encoding and decoding method, system, readable storage medium and computer device
CN111371563A (en) * 2020-02-28 2020-07-03 北京达佳互联信息技术有限公司 Password verification method and device, electronic equipment and storage medium
CN112200286B (en) * 2020-08-25 2023-10-03 中国物品编码中心 Character string coding method and device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110737908A (en) * 2019-10-12 2020-01-31 京东数字科技控股有限公司 Encryption method and apparatus, decryption method and apparatus, electronic device, and medium

Also Published As

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

Similar Documents

Publication Publication Date Title
CN111178538B (en) Federal learning method and device for vertical data
CN108304475B (en) Data query method and device and electronic equipment
EP3179379A1 (en) Method and apparatus for determining similarity and terminal therefor
CN112861175B (en) Data processing method and device for data processing
CN110826697B (en) Method and device for acquiring sample, electronic equipment and storage medium
CN107025421B (en) Fingerprint identification method and device
CN110442844B (en) Data processing method, device, electronic equipment and storage medium
CN114090575A (en) Data storage method and retrieval method based on key value database and corresponding devices
CN110941727B (en) Resource recommendation method and device, electronic equipment and storage medium
CN110365806B (en) Website conversion method and device
CN114168808B (en) Document character string coding identification method and device based on regular expression
CN111953980A (en) Video processing method and device
US20210133505A1 (en) Method, device, and storage medium for retrieving samples
CN112035651B (en) Sentence completion method, sentence completion device and computer readable storage medium
CN110213062B (en) Method and device for processing message
CN104090915A (en) Method and device for updating user data
CN113098524B (en) Information encoding method, device, electronic equipment and storage medium
CN116136855A (en) Account grouping determination method and device, electronic equipment and storage medium
CN108304491B (en) Data query method and device and electronic equipment
CN112819061A (en) Password information identification method, device, equipment and storage medium
CN111241097B (en) Method for processing object, device for processing object and storage medium
CN113157703B (en) Data query method and device, electronic equipment and storage medium
CN113191792B (en) Task processing method, device, electronic equipment, storage medium and program product
CN112182027B (en) Information query method, device, electronic equipment and storage medium
CN117350824B (en) Electronic element information uploading and displaying method, device, medium and equipment

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