CN106095875B - Method and device for improving ID of live broadcast terminal - Google Patents

Method and device for improving ID of live broadcast terminal Download PDF

Info

Publication number
CN106095875B
CN106095875B CN201610395655.2A CN201610395655A CN106095875B CN 106095875 B CN106095875 B CN 106095875B CN 201610395655 A CN201610395655 A CN 201610395655A CN 106095875 B CN106095875 B CN 106095875B
Authority
CN
China
Prior art keywords
live broadcast
character
broadcast terminal
modified
replacing
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.)
Expired - Fee Related
Application number
CN201610395655.2A
Other languages
Chinese (zh)
Other versions
CN106095875A (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.)
TVM Beijing Education Technology Co Ltd
Original Assignee
TVM Beijing Education 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 TVM Beijing Education Technology Co Ltd filed Critical TVM Beijing Education Technology Co Ltd
Priority to CN201610395655.2A priority Critical patent/CN106095875B/en
Publication of CN106095875A publication Critical patent/CN106095875A/en
Application granted granted Critical
Publication of CN106095875B publication Critical patent/CN106095875B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/40Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
    • G06F16/41Indexing; Data structures therefor; Storage structures

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Multimedia (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Machine Translation (AREA)

Abstract

The invention discloses a method and a device for improving a live broadcast terminal ID. The method for improving the ID of the live terminal comprises the following steps: acquiring an original direct broadcast terminal ID of a direct broadcast terminal; judging whether the original live broadcast terminal ID is the live broadcast terminal ID to be modified; replacing characters in the ID of the live broadcast terminal to be modified according to a preset character replacement rule; confirming that the ID of the live broadcast terminal to be modified after the character is replaced is a first live broadcast terminal ID; and replacing the original live broadcast terminal ID of the live broadcast terminal with the first live broadcast terminal ID. The invention can avoid the possibility of duplicate name of the live broadcast terminal ID, thereby enhancing the robustness of the live broadcast terminal ID system.

Description

Method and device for improving ID of live broadcast terminal
Technical Field
The invention relates to the technical field of live broadcasting, in particular to a method and a device for improving an ID (identity) of a live broadcasting terminal.
Background
In recent years, with the rapid increase of network bandwidth, the degree of live broadcast application has become more and more popular. In the live broadcast system, live broadcast terminal ID management needs to be performed on live broadcast terminals, and for live broadcast terminals of different operating systems, generation methods for generating corresponding live broadcast terminal IDs are different. In some cases, different live broadcast terminals have different live broadcast terminal ID generation methods, and a small probability may cause the live broadcast terminal IDs generated by the different live broadcast terminals to have duplicate names. Each live broadcast terminal ID is required to have a unique live broadcast terminal ID by the live broadcast system, and if the ID of two or more live broadcast terminals are renamed, system errors and management errors of the live broadcast system can be caused. How to properly deal with the above problems becomes a problem to be solved in the industry.
Disclosure of Invention
The invention provides a method and a device for improving live broadcast terminal ID, which are used for improving live broadcast terminal ID which is possible to generate duplicate names and avoiding the occurrence of duplicate names of the live broadcast terminal ID.
According to a first aspect of the embodiments of the present invention, a method for improving a live terminal ID is provided, including:
acquiring an original direct broadcast terminal ID of a direct broadcast terminal;
judging whether the original live broadcast terminal ID is the live broadcast terminal ID to be modified;
replacing characters in the ID of the live broadcast terminal to be modified according to a preset character replacement rule;
confirming that the ID of the live broadcast terminal to be modified after the character is replaced is a first live broadcast terminal ID;
and replacing the original live broadcast terminal ID of the live broadcast terminal with the first live broadcast terminal ID.
In an embodiment, the determining whether the original live broadcast terminal ID is a live broadcast terminal ID to be modified includes:
analyzing a generation mode of an original live broadcast terminal ID of the live broadcast terminal;
judging whether the generation mode of the original live broadcast terminal ID of the live broadcast terminal is a generation mode according to a unique character string;
and under the condition that the generation mode of the original live broadcast terminal ID is a generation mode according to the unique character string, identifying the original live broadcast terminal ID as the live broadcast terminal ID to be modified.
In an embodiment, the replacing, according to a preset character replacement rule, a character in the to-be-modified live terminal ID includes:
calling a preset character set, wherein the intersection of the preset character set and the character set of the ID of the live broadcast terminal to be modified is an empty set;
establishing a one-to-one mapping relation between each character in the character set of the ID of the live broadcast terminal to be modified and the character in the preset character set;
and replacing the characters of the ID of the live broadcast terminal to be modified according to the one-to-one mapping relation.
In an embodiment, the replacing, according to the one-to-one mapping relationship, the characters of the ID of the live broadcast terminal to be modified includes:
analyzing the character types appearing in the ID of the live broadcast terminal to be modified;
and replacing the character of at least one character type in the character types with a corresponding character in a preset character set according to the one-to-one mapping relation.
In an embodiment, the replacing, according to the one-to-one mapping relationship, the character of at least one of the character types with a corresponding character in a preset character set includes:
analyzing the occurrence frequency of at least one character type character in the character types in the ID of the live broadcast terminal to be modified;
and when the occurrence frequency of the character of at least one character type in the character types in the ID of the live broadcast terminal to be modified is larger than a positive integer, replacing at least one character of at least one character type in the character types in the ID of the live broadcast terminal to be modified with a corresponding character in a preset character set.
According to a second aspect of the embodiments of the present invention, there is provided an apparatus for improving a live terminal ID, including:
the acquisition module is used for acquiring the ID of the original live broadcast terminal of the live broadcast terminal;
the judging module is used for judging whether the original direct broadcasting terminal ID is the direct broadcasting terminal ID to be modified or not;
the replacing module is used for replacing characters in the ID of the live broadcast terminal according to a preset character replacing rule;
the confirming module is used for confirming that the live broadcast terminal ID after replacing the character is the first live broadcast terminal ID;
and the replacing module is used for replacing the original live broadcast terminal ID of the live broadcast terminal with the first live broadcast terminal ID.
In one embodiment, the determining module includes:
the analysis submodule is used for analyzing the generation mode of the original live broadcast terminal ID of the live broadcast terminal;
the judging submodule is used for judging whether the generation mode of the original live broadcast terminal ID of the live broadcast terminal is a generation mode according to the unique character string;
and the modification submodule is used for identifying the original live broadcast terminal ID as the live broadcast terminal ID to be modified under the condition that the generation mode of the original live broadcast terminal ID is a generation mode according to the unique character string.
In one embodiment, the replacement module includes:
the calling submodule is used for calling a preset character set, and the intersection of the preset character set and the character set of the ID of the live broadcast terminal to be modified is an empty set;
the establishing submodule is used for establishing a one-to-one mapping relation between each character in the character set of the ID of the live broadcast terminal to be modified and the character in the preset character set;
and the replacing submodule is used for replacing the characters of the ID of the live broadcast terminal to be modified according to the one-to-one mapping relation.
In one embodiment of the present invention,
the replacing submodule is also used for analyzing the character type appearing in the ID of the live broadcast terminal to be modified; and replacing the character of at least one character type in the character types with a corresponding character in a preset character set according to the one-to-one mapping relation.
In one embodiment of the present invention,
the replacing submodule is also used for analyzing the occurrence times of at least one character type character in the character types in the ID of the live broadcast terminal to be modified; and when the occurrence frequency of the character of at least one character type in the character types in the ID of the live broadcast terminal to be modified is larger than a positive integer, replacing at least one character of at least one character type in the character types in the ID of the live broadcast terminal to be modified with a corresponding character in a preset character set.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
The technical solution of the present invention is further described in detail by the accompanying drawings and embodiments.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention. In the drawings:
fig. 1 is a flow chart illustrating a method of improving a live terminal ID in accordance with an exemplary embodiment of the present invention;
fig. 2 is a flowchart illustrating a step S12 of a method for improving a live terminal ID according to an exemplary embodiment of the present invention;
fig. 3 is a flowchart illustrating a step S13 of a method for improving a live terminal ID according to an exemplary embodiment of the present invention;
fig. 4 is a flowchart illustrating a step S33 of a method for improving a live terminal ID according to an exemplary embodiment of the present invention;
fig. 5 is a flowchart illustrating a step S42 of a method for improving a live terminal ID according to an exemplary embodiment of the present invention;
fig. 6 is a block diagram illustrating an apparatus for improving a live terminal ID according to an exemplary embodiment of the present invention;
fig. 7 is a block diagram of a determining module 62 of an apparatus for improving a live terminal ID according to an exemplary embodiment of the present invention;
fig. 8 is a block diagram illustrating an alternative module 63 of an apparatus for improving a live terminal ID according to an exemplary embodiment of the present invention.
Detailed Description
The preferred embodiments of the present invention will be described in conjunction with the accompanying drawings, and it will be understood that they are described herein for the purpose of illustration and explanation and not limitation.
Fig. 1 is a flowchart illustrating a method of improving a live terminal ID according to an exemplary embodiment, and the method of improving a live terminal ID, as shown in fig. 1, includes the following steps S11-S15:
in step S11, acquiring an original live broadcast terminal ID of the live broadcast terminal;
in step S12, it is determined whether the original live broadcast terminal ID is a live broadcast terminal ID to be modified;
in step S13, replacing the characters in the to-be-modified live broadcast terminal ID according to a preset character replacement rule;
in step S14, confirming that the to-be-modified live terminal ID after replacing the character is the first live terminal ID;
in step S15, the first live terminal ID is used instead of the original live terminal ID of the live terminal.
In one embodiment, first, an original live terminal ID of a live terminal is acquired. And then analyzing the generation mode of the original live broadcast terminal ID of the live broadcast terminal, and judging whether the generation mode of the original live broadcast terminal ID of the live broadcast terminal is a generation mode according to the unique character string.
And under the condition that the generation mode of the original live broadcast terminal ID is the generation mode according to the unique character string, identifying the original live broadcast terminal ID as the live broadcast terminal ID to be modified.
And calling a preset character set, wherein the intersection of the preset character set and the character set of the ID of the live broadcast terminal to be modified is an empty set. And establishing a one-to-one mapping relation between each character in the character set of the ID of the live broadcast terminal to be modified and the character in the preset character set, and replacing the character of the ID of the live broadcast terminal to be modified according to the one-to-one mapping relation.
Further, the character types appearing in the ID of the live broadcast terminal to be modified are analyzed, and the characters of at least one character type in the character types are replaced by the corresponding characters in a preset character set according to the one-to-one mapping relation.
And further, analyzing the occurrence frequency of the character of at least one character type in the character types in the ID of the live broadcast terminal to be modified, and replacing at least one character of at least one character type in the character types in the ID of the live broadcast terminal to be modified with a corresponding character in a preset character set when the occurrence frequency of the character of at least one character type in the character types in the ID of the live broadcast terminal to be modified is larger than a positive integer.
In one embodiment, as shown in FIG. 2, step S12 includes the following steps S21-S23:
in step S21, analyzing a generation manner of an original live broadcast terminal ID of the live broadcast terminal;
in step S22, it is determined whether the generation method of the original live broadcast terminal ID of the live broadcast terminal is a generation method based on a unique character string;
in step S23, when the generation manner of the original live broadcast terminal ID is a generation manner according to a unique character string, the original live broadcast terminal ID is identified as the live broadcast terminal ID to be modified.
In one embodiment, the generation modes of the original live broadcast terminal ID of the live broadcast terminal are mainly divided into two types, wherein one type is the live broadcast terminal ID generated according to the mac address of the live broadcast terminal, and the other type is the live broadcast terminal ID generated according to the unique character string related to the live broadcast terminal. Both types of generation may result in the occurrence that different live terminals have the same live terminal ID. And judging whether the original live broadcast terminal ID is generated according to the generation mode of the unique character string. And under the condition that the generation mode of the original live broadcast terminal ID is the generation mode according to the unique character string, identifying the original live broadcast terminal ID as the live broadcast terminal ID to be modified. In the following embodiments, the original live terminal ID identified as the live terminal ID to be modified will be replaced.
In one embodiment, as shown in FIG. 3, step S13 includes the following steps S31-S33:
in step S31, a preset character set is called, and an intersection of the preset character set and the character set of the to-be-modified live broadcast terminal ID is an empty set;
in step S32, establishing a one-to-one mapping relationship between each character in the character set of the to-be-modified live broadcast terminal ID and the character in the preset character set;
in step S33, replacing the characters of the to-be-modified live broadcast terminal ID according to the one-to-one mapping relationship.
In one embodiment, a preset character set Q is called, and no character identical to the character set P of the live broadcast terminal ID to be modified exists in the preset character set Q, that is, an intersection operation is performed on the preset character set Q and the character set P of the live broadcast terminal ID to be modified, and a set R obtained by the intersection operation is an empty set. The character set P is not assumed to be {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F }, and the character set Q is not assumed to be { G, H, I, J, K, L, M, N, O, R, S, T, U, V, W, X }.
And establishing a one-to-one mapping relation between the character set P of the ID of the live broadcast terminal to be modified and the preset character set Q. The one-to-one mapping of one of the above tables is not named as α, and α is shown in the following table:
table one to one mapping relation alpha
Characters in set P Characters in set Q Characters in set P Characters in set Q
0 G 8 O
1 H 9 R
2 I A S
3 J B T
4 K C U
5 L D V
6 M E W
7 N F X
Other situations exist for this one-to-one mapping relationship and are not limited to the preferred embodiment described above.
For example, the character string of the live terminal ID to be modified is F239D012FF 20. And according to the one-to-one mapping relation alpha, after replacing the characters of the ID of the live broadcast terminal to be modified, forming a new character string XIJRDGHIXXIG. The new character string xijrdghixxiig is completely different from the original live broadcast terminal ID F239D012FF20 of the live broadcast terminal, so that the problem that different live broadcast terminals have the same live broadcast terminal ID possibly according to different generation modes is solved.
In one embodiment, as shown in FIG. 4, step S33 includes the following steps S41-S42:
in step S41, analyzing the character type appearing in the to-be-modified live broadcast terminal ID;
in step S42, replacing the character of at least one of the character types with a corresponding character in a preset character set according to the one-to-one mapping relationship.
In one embodiment, the character type appearing in the live terminal ID to be modified is analyzed, for example, the character string of the live terminal ID to be modified is F239D012FF20, and the character type of the live terminal ID to be modified is 0, 1, 2, 3, 9, D, F. The one-to-one mapping relationship α, the character set P, and the character set Q are not used to replace characters of at least one character type in the character string.
For example, a character type replacement is made for the character string F239D012FF20, without replacing the character of character type F, and a new character string formed after the replacement is X239D012XX 20. The new character string X239D012XX20 is also completely different from the original live broadcast terminal ID F239D012FF20 of the live broadcast terminal, thereby solving the problem that different live broadcast terminals have the same live broadcast terminal ID according to different generation modes. Similarly, characters of a plurality of character types are replaced, and a new character string formed after the replacement is completely different from the original live terminal of the live terminal.
In one embodiment, as shown in FIG. 5, step S42 includes the following steps S51-S52:
in step S51, analyzing the number of occurrences of the character of at least one of the character types in the to-be-modified live broadcast terminal ID;
in step S52, when the number of occurrences of the character of at least one of the character types in the to-be-modified live broadcast terminal ID is greater than a positive integer, replacing at least one character of at least one of the character types in the to-be-modified live broadcast terminal ID with a corresponding character in a preset character set.
In one embodiment, the character string of the live terminal ID to be modified is F239D012FF20, and the character type of the live terminal ID to be modified is 0, 1, 2, 3, 9, D, F. And the occurrence frequency of the character with the character type F is three times, and the condition that the occurrence frequency of the character with the character type F is greater than a positive integer one is met. The substitution of at least one character category in the character string is not made using the one-to-one mapping relationship α, the character set P, and the character set Q.
For example, the character string F239D012FF20 is replaced by one character of one character type, the character of the character type F is not replaced, the first appearing character F is replaced in the order from left to right, and the new character string formed after the replacement is X239D012FF 20. The new character string X239D012FF20 is still distinct from the original live broadcast terminal IDF239D012FF20 of the live broadcast terminal, thereby solving the problem that different live broadcast terminals have the same live broadcast terminal ID according to different generation modes. Similarly, a plurality of characters of the same character type are replaced, and a new character string formed after the replacement is completely different from the original live broadcast terminal of the live broadcast terminal.
In one embodiment, fig. 6 is a block diagram illustrating an apparatus for improving a live terminal ID in accordance with an example embodiment. As shown in fig. 6, the apparatus includes an acquisition module 61, a determination module 62, a replacement module 63, a confirmation module 64, and a replacement module 65.
The obtaining module 61 is configured to obtain an original live broadcast terminal ID of the live broadcast terminal;
the judging module 62 is configured to judge whether the original live broadcast terminal ID is a live broadcast terminal ID to be modified;
the replacing module 63 is configured to replace a character in the live broadcast terminal ID according to a preset character replacing rule;
the confirming module 64 is configured to confirm that the live terminal ID after replacing the character is the first live terminal ID;
the replacing module 65 is configured to replace the original live terminal ID of the live terminal with the first live terminal ID.
As shown in fig. 7, the determination module 62 includes an analysis submodule 71, a determination submodule 72, and a modification submodule 73.
The analysis submodule 71 is configured to analyze a generation manner of an original live broadcast terminal ID of the live broadcast terminal;
the judging submodule 72 is configured to judge whether a generation manner of an original live broadcast terminal ID of the live broadcast terminal is a generation manner according to a unique character string;
the modification submodule 73 is configured to identify the original live broadcast terminal ID as a live broadcast terminal ID to be modified, when the generation manner of the original live broadcast terminal ID is a generation manner according to a unique character string.
As shown in fig. 8, the replacement module 63 includes a calling submodule 81, a creating submodule 82, and a replacing submodule 83.
The calling submodule 81 is configured to call a preset character set, where an intersection of the preset character set and the character set of the to-be-modified live broadcast terminal ID is an empty set;
the establishing submodule 82 is configured to establish a one-to-one mapping relationship between each character in the character set of the to-be-modified live broadcast terminal ID and a character in the preset character set;
the replacing submodule 83 is configured to replace the characters of the to-be-modified live broadcast terminal ID according to the one-to-one mapping relationship.
The replacing submodule 83 is further configured to analyze a character type appearing in the ID of the live broadcast terminal to be modified; and replacing the character of at least one character type in the character types with a corresponding character in a preset character set according to the one-to-one mapping relation.
The replacing submodule 83 is further configured to analyze the occurrence frequency of the characters of at least one character type in the character types in the to-be-modified live broadcast terminal ID; and when the occurrence frequency of the character of at least one character type in the character types in the ID of the live broadcast terminal to be modified is larger than a positive integer, replacing at least one character of at least one character type in the character types in the ID of the live broadcast terminal to be modified with a corresponding character in a preset character set.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (4)

1. A method for improving a live terminal ID, comprising:
acquiring an original direct broadcast terminal ID of a direct broadcast terminal;
judging whether the original live broadcast terminal ID is the live broadcast terminal ID to be modified;
replacing characters in the ID of the live broadcast terminal to be modified according to a preset character replacement rule;
confirming that the ID of the live broadcast terminal to be modified after the character is replaced is a first live broadcast terminal ID;
replacing the original live broadcast terminal ID of the live broadcast terminal with the first live broadcast terminal ID;
the judging whether the original live broadcast terminal ID is the live broadcast terminal ID to be modified includes:
analyzing a generation mode of an original live broadcast terminal ID of the live broadcast terminal;
judging whether the generation mode of the original live broadcast terminal ID of the live broadcast terminal is a generation mode according to a unique character string;
under the condition that the generation mode of the original live broadcast terminal ID is a generation mode according to a unique character string, identifying the original live broadcast terminal ID as a live broadcast terminal ID to be modified;
the replacing the characters in the ID of the live broadcast terminal to be modified according to a preset character replacing rule comprises the following steps:
calling a preset character set, wherein the intersection of the preset character set and the character set of the ID of the live broadcast terminal to be modified is an empty set;
establishing a one-to-one mapping relation between each character in the character set of the ID of the live broadcast terminal to be modified and the character in the preset character set;
replacing the characters of the ID of the live broadcast terminal to be modified according to the one-to-one mapping relation;
the replacing the characters of the ID of the live broadcast terminal to be modified according to the one-to-one mapping relation comprises the following steps:
analyzing the character types appearing in the ID of the live broadcast terminal to be modified;
and replacing the character of at least one character type in the character types with a corresponding character in a preset character set according to the one-to-one mapping relation.
2. The method of claim 1, wherein the replacing the characters of at least one of the character categories with corresponding characters in a preset character set according to the one-to-one mapping relationship comprises:
analyzing the occurrence frequency of at least one character type character in the character types in the ID of the live broadcast terminal to be modified;
and when the occurrence frequency of the character of at least one character type in the character types in the ID of the live broadcast terminal to be modified is larger than a positive integer, replacing at least one character of at least one character type in the character types in the ID of the live broadcast terminal to be modified with a corresponding character in a preset character set.
3. An apparatus for improving ID of a live terminal, comprising:
the acquisition module is used for acquiring the ID of the original live broadcast terminal of the live broadcast terminal;
the judging module is used for judging whether the original direct broadcasting terminal ID is the direct broadcasting terminal ID to be modified or not;
the replacing module is used for replacing characters in the ID of the live broadcast terminal according to a preset character replacing rule;
the confirming module is used for confirming that the live broadcast terminal ID after replacing the character is the first live broadcast terminal ID;
a replacing module, configured to replace the original live broadcast terminal ID of the live broadcast terminal with the first live broadcast terminal ID;
the judging module comprises:
the analysis submodule is used for analyzing the generation mode of the original live broadcast terminal ID of the live broadcast terminal;
the judging submodule is used for judging whether the generation mode of the original live broadcast terminal ID of the live broadcast terminal is a generation mode according to the unique character string;
the modification submodule is used for identifying the original live broadcast terminal ID as a live broadcast terminal ID to be modified under the condition that the generation mode of the original live broadcast terminal ID is a generation mode according to a unique character string;
the replacement module includes:
the calling submodule is used for calling a preset character set, and the intersection of the preset character set and the character set of the ID of the live broadcast terminal to be modified is an empty set;
the establishing submodule is used for establishing a one-to-one mapping relation between each character in the character set of the ID of the live broadcast terminal to be modified and the character in the preset character set;
the replacing submodule is used for replacing the characters of the ID of the live broadcast terminal to be modified according to the one-to-one mapping relation;
the replacing submodule is also used for analyzing the character type appearing in the ID of the live broadcast terminal to be modified; and replacing the character of at least one character type in the character types with a corresponding character in a preset character set according to the one-to-one mapping relation.
4. The apparatus of claim 3,
the replacing submodule is also used for analyzing the occurrence times of at least one character type character in the character types in the ID of the live broadcast terminal to be modified; and when the occurrence frequency of the character of at least one character type in the character types in the ID of the live broadcast terminal to be modified is larger than a positive integer, replacing at least one character of at least one character type in the character types in the ID of the live broadcast terminal to be modified with a corresponding character in a preset character set.
CN201610395655.2A 2016-06-06 2016-06-06 Method and device for improving ID of live broadcast terminal Expired - Fee Related CN106095875B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610395655.2A CN106095875B (en) 2016-06-06 2016-06-06 Method and device for improving ID of live broadcast terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610395655.2A CN106095875B (en) 2016-06-06 2016-06-06 Method and device for improving ID of live broadcast terminal

Publications (2)

Publication Number Publication Date
CN106095875A CN106095875A (en) 2016-11-09
CN106095875B true CN106095875B (en) 2020-01-17

Family

ID=57448456

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610395655.2A Expired - Fee Related CN106095875B (en) 2016-06-06 2016-06-06 Method and device for improving ID of live broadcast terminal

Country Status (1)

Country Link
CN (1) CN106095875B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110691446B (en) * 2019-09-12 2021-11-19 深圳市云慧联科技有限公司 Secondary generation method and device of ID information

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101127047A (en) * 2006-07-14 2008-02-20 国际商业机器公司 Solution for managing serialization of epc identifiers and database system
CN102263684A (en) * 2011-04-14 2011-11-30 浙江吉利汽车研究院有限公司 Controller area network (CAN) bus frame name conflict regulation processing method
CN103870782A (en) * 2014-03-25 2014-06-18 天津理工大学 Anti-collision method based on label confliction IDs
CN105490828A (en) * 2014-09-18 2016-04-13 中兴通讯股份有限公司 Method and system for automatically modifying protection group identification (ID)

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101127047A (en) * 2006-07-14 2008-02-20 国际商业机器公司 Solution for managing serialization of epc identifiers and database system
CN102263684A (en) * 2011-04-14 2011-11-30 浙江吉利汽车研究院有限公司 Controller area network (CAN) bus frame name conflict regulation processing method
CN103870782A (en) * 2014-03-25 2014-06-18 天津理工大学 Anti-collision method based on label confliction IDs
CN105490828A (en) * 2014-09-18 2016-04-13 中兴通讯股份有限公司 Method and system for automatically modifying protection group identification (ID)

Also Published As

Publication number Publication date
CN106095875A (en) 2016-11-09

Similar Documents

Publication Publication Date Title
CN109947641B (en) Automatic testing method and device
US9171025B2 (en) Test data generation and scale up for database testing using unique common factor sequencing
CN110647562B (en) Data query method and device, electronic equipment and storage medium
CN109784738B (en) Approval method and approval device
US9454561B2 (en) Method and a consistency checker for finding data inconsistencies in a data repository
CN111651365B (en) Automatic interface testing method and device
CN104361141A (en) Establishment method of software identification library
CN111722998A (en) Code quality control method, system, device and storage medium
CN109714214B (en) Server exception handling method and management equipment
CN106095875B (en) Method and device for improving ID of live broadcast terminal
CN110825453A (en) Data processing method and device based on big data platform
CN114493634A (en) Method, device and medium for generating product traceability information based on identification analysis
CN113094415B (en) Data extraction method, data extraction device, computer readable medium and electronic equipment
CN111158995B (en) Method and system for realizing cross-system log tracking query based on skywalk and ELK platform
KR102195823B1 (en) System on vulnerability and management of IT devices
CN110909288B (en) Service data processing method, device, platform, service end, system and medium
CN113297583B (en) Vulnerability risk analysis method, device, equipment and storage medium
CN112905466B (en) Software testing method and device for dynamic repairable cases
CN111988161B (en) Method and device for identifying user to update broadband network
CN108628750B (en) Test code processing method and device
CN111625330A (en) Cross-thread task processing method and device, server and storage medium
CN111538651A (en) Interface testing method, device, server and storage medium
CN110968573B (en) User portrait data cleaning method and device
CN108446122B (en) Parameter consistency verification method and device
CN113377643B (en) SDK monitoring and tracking method and device and readable storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200117

Termination date: 20210606