CN110753089A - Method, device, medium and electronic equipment for managing client - Google Patents

Method, device, medium and electronic equipment for managing client Download PDF

Info

Publication number
CN110753089A
CN110753089A CN201910885987.2A CN201910885987A CN110753089A CN 110753089 A CN110753089 A CN 110753089A CN 201910885987 A CN201910885987 A CN 201910885987A CN 110753089 A CN110753089 A CN 110753089A
Authority
CN
China
Prior art keywords
server
client
communication connection
communication
establishing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910885987.2A
Other languages
Chinese (zh)
Other versions
CN110753089B (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.)
Douyin Vision Co Ltd
Douyin Vision Beijing Co Ltd
Original Assignee
Beijing ByteDance Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN201910885987.2A priority Critical patent/CN110753089B/en
Publication of CN110753089A publication Critical patent/CN110753089A/en
Application granted granted Critical
Publication of CN110753089B publication Critical patent/CN110753089B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/146Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding

Abstract

The present disclosure provides a method, apparatus, medium, and electronic device for managing a client. The method comprises the following steps: establishing a first communication connection with a client; acquiring a unique registration identifier sent by a client based on the first communication connection; determining whether the unique registration identifier exists in a slave first mapping dataset; if so, acquiring server communication information of the corresponding server from the first mapping data set according to the unique registration identifier; the server communication information comprises a server IP address related to the server; and establishing a second communication connection between the server side corresponding to the server and the client side according to the server side communication information. The method and the device bind the unique registration identifier of the client with the server, are used for controlling the client to access the server, and ensure that the actual application environment and the test environment are synchronously performed. Meanwhile, a large number of clients are managed in a centralized mode, so that management is simpler, more convenient and more efficient.

Description

Method, device, medium and electronic equipment for managing client
Technical Field
The present disclosure relates to the field of testing, and in particular, to a method, an apparatus, a medium, and an electronic device for managing a client.
Background
Software testing describes a process used to facilitate the identification of the correctness, integrity, security, and quality of software. In other words, software testing is a process of auditing or comparing between actual output and expected output. That is, the process of operating a program under prescribed conditions to find out bugs, to measure the quality of the software, and to evaluate whether it can satisfy design requirements.
The test of the application program (namely APP) of the mobile terminal is more complicated than the test of general software, and especially when a new function is added to the APP, the test needs to be carried out on the internal mobile terminal, so that the direct opening to a user is avoided, and accidents are caused.
In the client/server network architecture, when testing a large APP application, a specific test environment needs to be established for the APP application with new functions, and the test environment is different from the actual running environment of the running APP application. Typically, a test environment with new functionality corresponds to a server. If a plurality of new functions need to be tested at the same time, a plurality of servers are needed to support the test environment of different new functions. Meanwhile, each new-function APP application requires multiple test mobile terminals to participate in the test as clients. This presents management challenges for managing clients and servers with test environments.
Disclosure of Invention
This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the detailed description. This summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
An object of the present disclosure is to provide a method, an apparatus, a medium, and an electronic device for managing a client, which can solve at least one of the above-mentioned technical problems. The specific scheme is as follows:
according to a specific embodiment of the present disclosure, in a first aspect, the present disclosure provides a method for managing a client, including:
establishing a first communication connection with a client;
acquiring a unique registration identifier sent by a client based on the first communication connection;
determining whether the unique registration identifier exists in a slave first mapping dataset;
if so, acquiring server communication information of the corresponding server from the first mapping data set according to the unique registration identifier; the server communication information comprises a server IP address related to the server; and are
And establishing a second communication connection between the server side corresponding to the server and the client side according to the server side communication information.
According to a second aspect, the present disclosure provides an apparatus for managing a client, including:
the first communication connection establishing unit is used for establishing first communication connection with the client;
the unique registration identification obtaining unit is used for obtaining a unique registration identification sent by a client based on the first communication connection;
a judging unit configured to judge whether the unique registration flag exists in the slave first mapping data set;
the server communication information acquisition unit is used for acquiring server communication information of a corresponding server from the first mapping data set according to the unique registration identifier if the output result of the judgment unit is 'yes'; the server communication information comprises a server IP address related to the server; and are
And the second communication connection establishing unit is used for establishing second communication connection between the server side corresponding to the server and the client side according to the server side communication information.
According to a third aspect, there is provided a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements a method of managing a client according to any of the first aspects.
According to a fourth aspect thereof, the present disclosure provides an electronic device, comprising: one or more processors; storage means for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement the method of managing clients as defined in any one of the first aspects.
Compared with the prior art, the scheme of the embodiment of the disclosure at least has the following beneficial effects:
the present disclosure provides a method, apparatus, medium, and electronic device for managing a client. The method comprises the following steps: establishing a first communication connection with a client; acquiring a unique registration identifier sent by a client based on the first communication connection; determining whether the unique registration identifier exists in a slave first mapping dataset; if so, acquiring server communication information of the corresponding server from the first mapping data set according to the unique registration identifier; the server communication information comprises a server IP address related to the server; and establishing a second communication connection between the server side corresponding to the server and the client side according to the server side communication information. The method and the device bind the unique registration identifier of the client with the server, are used for controlling the client to access the server, and ensure that the actual application environment and the test environment are synchronously performed. Meanwhile, a large number of clients are managed in a centralized mode, so that management is simpler, more convenient and more efficient.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and features are not necessarily drawn to scale. In the drawings:
FIG. 1 shows a flow diagram of a method of managing clients according to an embodiment of the present disclosure;
FIG. 2 illustrates a block diagram of elements of an apparatus for managing clients in accordance with an embodiment of the present disclosure;
fig. 3 shows an electronic device connection structure schematic according to an embodiment of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order, and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
Alternative embodiments of the present disclosure are described in detail below with reference to the accompanying drawings.
A first embodiment provided by the present disclosure is an embodiment of a method for managing a client.
The embodiment of the present disclosure is described in detail below with reference to fig. 1, where fig. 1 is a flowchart of a method for managing a client provided by the embodiment of the present disclosure.
Step S101, a first communication connection with a client is established.
The client, or called as the user end, refers to a process corresponding to the server end of the server for providing local services to the client. Running in the client. The client includes: desktop computers, notebook computers or mobile terminals.
The server side provides service for the client side, and the content of the service comprises providing resources for the client side and storing client side data. The server runs in the server.
The method is applied to the intermediate service between the client and the server and used for providing information communication for the client and the server.
And step S102, acquiring the unique registration identifier sent by the client based on the first communication connection.
The unique registration identification is globally unique information indicating the client identity of the running client. For example, the unique registration id is a string of numbers generated by a preset calculation rule of a MAC address (i.e., MAC address) and a device model of the client. In the prior art, there are many methods for calculating the unique value in the preset calculation rule, and the embodiments of the present disclosure are not described in detail here.
Step S103, determining whether the unique registration flag exists in the slave first mapping data set.
The data set is for holding information. May be a data table in a database, a text file, a configuration file, or a spreadsheet file. The embodiment of the present disclosure does not limit the application form of the data set.
And step S104, if yes, acquiring corresponding server communication information from the first mapping data set according to the unique registration identifier.
The server communication information comprises a server IP address related to the server.
That is, the first mapping data set stores the mapping relation information between the unique registration identifier of the client and the IP address of the server.
Retrieving the first mapping data set actually also plays a role in registering and authorizing the client, and only when the first mapping data set has a unique registration identifier, the client corresponding to the unique registration identifier can access the server of the server with a special function.
And step S105, establishing a second communication connection between the server side corresponding to the server and the client side according to the server side communication information.
The disclosed embodiment assigns different servers to the same client in each client, so that each client can access different servers to complete different tasks. For example, if a new function B is added to an a1 application server to become an a2 application server, or a new function C is added to an a1 application server to become an A3 application server, in order to test the new function B and the new function C without affecting the normal use of the original a1 application server, and to prevent the new function B and the new function C from interfering with each other during testing, three servers are required, a first server runs the a1 application server, a second server runs the a2 application server, and a third server runs the A3 application server; and dividing the clients into 2 test groups, and appointing the client of each client in the same group to carry out data communication with the server of the same server.
And step S106, if not, establishing a fifth communication connection between the server side of the corresponding server and the client side according to the preset server side communication information.
The preset server communication information may be default server communication information.
For example, continuing with the above example, the default server communication information is the communication information of the a1 application server of the first server, and when the unique registration id of the client does not exist in the first mapping data set, the client defaults to access the a1 application server of the first server.
In the embodiment of the disclosure, the server can be divided into a plurality of function groups according to different versions of the same application program service, and each client can access the designated server of the function group according to the server communication information in the first mapping data set, so that unified application management is performed on the clients and the servers of the same application program through unified intermediate service, the management is simpler and more efficient, a complex process of configuring an application environment for each client in actual application is reduced, and the working efficiency is improved.
The embodiment of the present disclosure provides four practical application scenarios for the above method.
Scene one
Optionally, the establishing a second communication connection between the server corresponding to the server and the client according to the server communication information includes the following steps:
and step S104-11, the server IP address is returned to the corresponding client so that the client can establish the second communication connection with the server of the corresponding server according to the server IP address.
The intermediate service of the application scene only plays the roles of information management and information distribution, after the IP address of the server is obtained, the IP address of the server is returned to the client initiating registration, and the client directly accesses the server side of the server pointed by the IP address of the server.
The client directly accesses the server of the server pointed by the server IP address, so that intermediate links are reduced, and the information transmission efficiency between the client and the server is improved.
Scene two
Optionally, the establishing a second communication connection between the server corresponding to the server and the client according to the server communication information includes the following steps:
and step S104-21, establishing a third communication connection with the server side of the corresponding server according to the IP address of the server so as to be used as a communication relay to form the second communication connection with the first communication connection and the third communication connection.
The intermediate service of the application scene not only plays the roles of information management and information distribution, but also serves as a communication relay to enable the first communication connection and the third communication connection to form a whole, namely the second communication connection, so that information is transmitted between the client and the server. The intermediate service is used as a communication relay to control the communication information between the client and the server. If a filtering function is added to the intermediate service, invalid information is filtered, and valid information (such as information needing to be tested) is transmitted, so that the working efficiency is improved.
The first communication connection of scenario one or scenario two may be a mobile network connection and/or a wired network connection.
Scene three
The client is applied to the mobile terminal.
The server communication information further comprises: mobile traffic type information.
The mobile traffic type information includes: a 2G communication type, a 3G communication type, a 4G communication type, or a 5G communication type.
Optionally, the obtaining of the server communication information of the corresponding server from the first mapping dataset according to the unique registration identifier includes the following steps:
and S104-31, acquiring the corresponding server IP address and the mobile flow type information from the first mapping data set according to the unique registration identifier.
Optionally, the establishing a second communication connection between the server corresponding to the server and the client according to the server communication information includes the following steps:
and step S104-32, returning the mobile flow type information and the server IP address to the client so that the client establishes a second communication connection with a server of a corresponding server according to the mobile flow type information and the server IP address.
That is, the client uses the mobile traffic associated with the mobile traffic type information to perform mobile communication with the server, and the client directly accesses the server to which the IP address of the server points. For example, the C1 client communicates with the server W using 2G communication; the C2 client communicates with the server W by 3G communication; the C3 client communicates with the server W by 3G communication; the C4 client communicates with the server W by adopting 4G communication; the C5 client communicates with the server W using 5G communication. Therefore, the use condition of the application program under various mobile traffic can be tested.
Scene four
The client is applied to the mobile terminal.
The server communication information further comprises: mobile traffic type information;
optionally, the obtaining of the server communication information of the corresponding server from the first mapping dataset according to the unique registration identifier includes the following steps:
and S104-41, acquiring the corresponding server IP address and the mobile flow type information from the first mapping data set according to the unique registration identifier.
Optionally, the establishing a second communication connection between the server corresponding to the server and the client according to the server communication information includes the following steps:
and step S104-42, establishing corresponding mobile flow connection with a corresponding server based on the mobile flow type information.
A mobile traffic connection, comprising: 2G communication connection, 3G communication connection, 4G communication connection or 5G communication connection.
And step S104-43, establishing a fourth communication connection with the server side of the corresponding server according to the mobile flow connection and the IP address of the server so as to be used as a communication relay to form the second communication connection with the first communication connection and the fourth communication connection.
The intermediate service performs unified control on the mobile traffic between the client and the server under the scene, and is beneficial to management and control of the mobile traffic.
In the embodiment of the disclosure, the server can be divided into a plurality of function groups according to different versions of the same application program service, and each client can access the server of the corresponding function group according to the designation of the first mapping data set, so that the unified application management is performed on the client and the server of the same application program through unified intermediate service, the management is simpler and more efficient, the tedious process of configuring an application environment for each client in actual application is reduced, and the working efficiency is improved.
Corresponding to the first embodiment provided by the present disclosure, the present disclosure also provides a second embodiment, that is, an apparatus for managing a client. Since the second embodiment is basically similar to the first embodiment, the description is simple, and the relevant portions should be referred to the corresponding description of the first embodiment. The device embodiments described below are merely illustrative.
Fig. 2 illustrates an embodiment of an apparatus for managing a client according to the present disclosure. Fig. 2 is a block diagram of elements of an apparatus for managing a client according to an embodiment of the present disclosure.
Referring to fig. 2, the present disclosure provides an apparatus for managing a client, including: a first communication connection establishing unit 201, an unique registration identification acquiring unit 202, a judging unit 203, a server communication information acquiring unit 204 and a second communication connection establishing unit 205.
A first communication connection establishing unit 201, configured to establish a first communication connection with a client;
an obtaining unique registration identifier unit 202, configured to obtain a unique registration identifier sent by a client based on the first communication connection;
a judging unit 203 for judging whether the unique registration identifier exists in the slave first mapping data set;
a server communication information obtaining unit 204, configured to obtain, if an output result of the determining unit is "yes," server communication information of a corresponding server from the first mapping dataset according to the unique registration identifier; the server communication information comprises a server IP address related to the server; and are
A second communication connection establishing unit 205, configured to establish a second communication connection between the server and the client of the corresponding server according to the server communication information.
Optionally, the establishing the second communication connection unit 205 includes:
and the first server side communication information returning subunit is used for returning the server IP address to the client side so as to facilitate the client side to establish the second communication connection with the server side of the corresponding server according to the server IP address.
Optionally, the establishing the second communication connection unit 205 includes:
and the third communication connection establishing subunit is used for establishing a third communication connection with the server side corresponding to the server according to the IP address of the server so as to be used as a communication relay to form the second communication connection with the first communication connection and the third communication connection.
Optionally, the client is applied to a mobile terminal; the server communication information further comprises: mobile traffic type information;
the unit 204 for obtaining the server communication information includes:
and the server communication information obtaining subunit is used for obtaining the corresponding server IP address and the mobile traffic type information from the first mapping data set according to the unique registration identifier.
Optionally, the establishing the second communication connection unit 205 includes:
and the second return server communication information subunit is used for returning the mobile traffic type information and the server IP address to the client so that the client establishes second communication connection with the server of the corresponding server according to the mobile traffic type information and the server IP address.
Optionally, the establishing the second communication connection unit 205 includes:
a mobile traffic connection establishing subunit, configured to establish a corresponding mobile traffic connection with a corresponding server based on the mobile traffic type information;
and the fourth communication connection establishing subunit is used for establishing fourth communication connection with the server side of the corresponding server according to the mobile flow connection and the IP address of the server so as to be used as a communication relay to form the second communication connection with the first communication connection and the fourth communication connection.
Optionally, in the apparatus, the apparatus further includes:
and the fifth communication connection establishing unit is used for establishing fifth communication connection between the server side of the corresponding server and the client side according to preset server side communication information if the output result of the judging unit is negative.
In the embodiment of the disclosure, the server can be divided into a plurality of function groups according to different versions of the same application program service, and each client can access the server of the corresponding function group according to the designation of the first mapping data set, so that the unified application management is performed on the client and the server of the same application program through unified intermediate service, the management is simpler and more efficient, the tedious process of configuring an application environment for each client in actual application is reduced, and the working efficiency is improved.
The third embodiment of the present disclosure provides an electronic device, where the electronic device is used in a method for managing a client, and the electronic device includes: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the one processor to cause the at least one processor to perform the method of managing clients as described in the first embodiment.
The disclosed embodiments provide a fourth embodiment, which is a computer storage medium for managing a client, the computer storage medium storing computer-executable instructions that can execute the method for managing a client as described in the first embodiment.
Referring now to FIG. 3, shown is a schematic diagram of an electronic device suitable for use in implementing embodiments of the present disclosure. The terminal device in the embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. The electronic device shown in fig. 3 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 3, the electronic device may include a processing device (e.g., a central processing unit, a graphics processor, etc.) 301 that may perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)302 or a program loaded from a storage device 308 into a Random Access Memory (RAM) 303. In the RAM 303, various programs and data necessary for the operation of the electronic apparatus are also stored. The processing device 301, the ROM 302, and the RAM 303 are connected to each other via a bus 304. An input/output (I/O) interface 305 is also connected to bus 304.
Generally, the following devices may be connected to the I/O interface 305: input devices 306 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 307 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage devices 308 including, for example, magnetic tape, hard disk, etc.; and a communication device 309. The communication means 309 may allow the electronic device to communicate wirelessly or by wire with other devices to exchange data. While fig. 3 illustrates an electronic device having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication means 309, or installed from the storage means 308, or installed from the ROM 302. The computer program, when executed by the processing device 301, performs the above-described functions defined in the methods of the embodiments of the present disclosure.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network protocol, such as HTTP (HyperText transfer protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
Computer program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including but not limited to an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. Where the name of an element does not in some cases constitute a limitation on the element itself.
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.
Further, while operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.

Claims (10)

1. A method of managing a client, comprising:
establishing a first communication connection with a client;
acquiring a unique registration identifier sent by a client based on the first communication connection;
determining whether the unique registration identifier exists in a slave first mapping dataset;
if so, acquiring server communication information of the corresponding server from the first mapping data set according to the unique registration identifier; the server communication information comprises a server IP address related to the server; and are
And establishing a second communication connection between the server side corresponding to the server and the client side according to the server side communication information.
2. The method of claim 1, wherein the establishing the second communication connection between the server and the client according to the server communication information comprises:
and returning the server IP address to the client so that the client establishes the second communication connection with the server side of the corresponding server according to the server IP address.
3. The method of claim 1, wherein the establishing the second communication connection between the server and the client according to the server communication information comprises:
and establishing a third communication connection with a server side of a corresponding server according to the IP address of the server so as to be used as a communication relay to form the second communication connection with the first communication connection and the third communication connection.
4. The method according to claim 1, wherein the client is applied to a mobile terminal; the server communication information further comprises: mobile traffic type information;
the acquiring the server communication information of the corresponding server from the first mapping data set according to the unique registration identifier includes:
and acquiring the corresponding server IP address and the mobile flow type information from a first mapping data set according to the unique registration identifier.
5. The method of claim 4, wherein the establishing the second communication connection between the server and the client according to the server communication information comprises:
and returning the mobile traffic type information and the server IP address to the client so that the client establishes a second communication connection with the server of the corresponding server according to the mobile traffic type information and the server IP address.
6. The method of claim 4, wherein the establishing the second communication connection between the server and the client according to the server communication information comprises:
establishing corresponding mobile traffic connection with a corresponding server based on the mobile traffic type information;
and establishing a fourth communication connection with a server side of a corresponding server according to the mobile flow connection and the IP address of the server so as to be used as a communication relay to form the second communication connection with the first communication connection and the fourth communication connection.
7. The method of claims 1-6, wherein after said determining whether said unique registration identifier exists in said first mapping dataset, further comprising:
if not, the server side corresponding to the server is enabled to establish a fifth communication connection with the client side according to the preset server side communication information.
8. An apparatus for managing a client, comprising:
the first communication connection establishing unit is used for establishing first communication connection with the client;
the unique registration identification obtaining unit is used for obtaining a unique registration identification sent by a client based on the first communication connection;
a judging unit configured to judge whether the unique registration flag exists in the slave first mapping data set;
the server communication information acquisition unit is used for acquiring server communication information of a corresponding server from the first mapping data set according to the unique registration identifier if the output result of the judgment unit is 'yes'; the server communication information comprises a server IP address related to the server; and are
And the second communication connection establishing unit is used for establishing second communication connection between the server side corresponding to the server and the client side according to the server side communication information.
9. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, carries out the method according to any one of claims 1 to 7.
10. An electronic device, comprising:
one or more processors;
storage means for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to carry out the method of any one of claims 1 to 7.
CN201910885987.2A 2019-09-19 2019-09-19 Method, device, medium and electronic equipment for managing client Active CN110753089B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910885987.2A CN110753089B (en) 2019-09-19 2019-09-19 Method, device, medium and electronic equipment for managing client

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910885987.2A CN110753089B (en) 2019-09-19 2019-09-19 Method, device, medium and electronic equipment for managing client

Publications (2)

Publication Number Publication Date
CN110753089A true CN110753089A (en) 2020-02-04
CN110753089B CN110753089B (en) 2022-08-19

Family

ID=69276744

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910885987.2A Active CN110753089B (en) 2019-09-19 2019-09-19 Method, device, medium and electronic equipment for managing client

Country Status (1)

Country Link
CN (1) CN110753089B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111309366A (en) * 2020-02-19 2020-06-19 北京字节跳动网络技术有限公司 Method, device, medium and electronic equipment for managing registration core
CN111431745A (en) * 2020-03-18 2020-07-17 浩云科技股份有限公司 Method for establishing automatically configured communication link
CN112036821A (en) * 2020-08-24 2020-12-04 智能创谷(北京)科技有限公司 Quantification method, device, medium and electronic equipment for planning special line based on grid diagram
CN113377050A (en) * 2021-06-16 2021-09-10 北京字节跳动网络技术有限公司 Method and device for controlling terminal, terminal and non-transitory storage medium
CN114172946A (en) * 2021-12-06 2022-03-11 京东科技信息技术有限公司 Request result sending method and device, electronic equipment and computer readable medium
CN115051914A (en) * 2022-03-24 2022-09-13 飞诺门阵(北京)科技有限公司 Method and device for processing equipment configuration information, electronic equipment and storage medium
CN115525576A (en) * 2022-10-31 2022-12-27 广州市易鸿智能装备有限公司 MES communication interface device, test method, test equipment and computer storage medium
CN115734211A (en) * 2021-08-30 2023-03-03 中移物联网有限公司 Identification analysis method and system, and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102708042A (en) * 2011-08-12 2012-10-03 华南理工大学 Service-oriented embedded software test system
CN102710621A (en) * 2012-05-22 2012-10-03 中兴通讯股份有限公司 User authentication method and system
US20130178190A1 (en) * 2012-01-05 2013-07-11 International Business Machines Corporation Mobile device identification for secure device access
CN107515818A (en) * 2016-06-15 2017-12-26 广州市动景计算机科技有限公司 Test software opening method, system and device
CN107612920A (en) * 2017-09-30 2018-01-19 深圳市艾特智能科技有限公司 Intercommunication method, intercom system, readable storage medium storing program for executing and computer equipment
CN109660615A (en) * 2018-12-13 2019-04-19 网易(杭州)网络有限公司 Data processing method, device, medium and electronic equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102708042A (en) * 2011-08-12 2012-10-03 华南理工大学 Service-oriented embedded software test system
US20130178190A1 (en) * 2012-01-05 2013-07-11 International Business Machines Corporation Mobile device identification for secure device access
CN102710621A (en) * 2012-05-22 2012-10-03 中兴通讯股份有限公司 User authentication method and system
CN107515818A (en) * 2016-06-15 2017-12-26 广州市动景计算机科技有限公司 Test software opening method, system and device
CN107612920A (en) * 2017-09-30 2018-01-19 深圳市艾特智能科技有限公司 Intercommunication method, intercom system, readable storage medium storing program for executing and computer equipment
CN109660615A (en) * 2018-12-13 2019-04-19 网易(杭州)网络有限公司 Data processing method, device, medium and electronic equipment

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111309366A (en) * 2020-02-19 2020-06-19 北京字节跳动网络技术有限公司 Method, device, medium and electronic equipment for managing registration core
CN111309366B (en) * 2020-02-19 2023-06-30 北京字节跳动网络技术有限公司 Method, device, medium and electronic equipment for managing registration core
CN111431745A (en) * 2020-03-18 2020-07-17 浩云科技股份有限公司 Method for establishing automatically configured communication link
CN112036821A (en) * 2020-08-24 2020-12-04 智能创谷(北京)科技有限公司 Quantification method, device, medium and electronic equipment for planning special line based on grid diagram
CN112036821B (en) * 2020-08-24 2024-02-02 智能创谷(北京)科技有限公司 Quantization method, quantization device, quantization medium and quantization electronic equipment based on grid map planning private line
CN113377050A (en) * 2021-06-16 2021-09-10 北京字节跳动网络技术有限公司 Method and device for controlling terminal, terminal and non-transitory storage medium
CN115734211A (en) * 2021-08-30 2023-03-03 中移物联网有限公司 Identification analysis method and system, and storage medium
CN114172946A (en) * 2021-12-06 2022-03-11 京东科技信息技术有限公司 Request result sending method and device, electronic equipment and computer readable medium
CN115051914A (en) * 2022-03-24 2022-09-13 飞诺门阵(北京)科技有限公司 Method and device for processing equipment configuration information, electronic equipment and storage medium
CN115525576A (en) * 2022-10-31 2022-12-27 广州市易鸿智能装备有限公司 MES communication interface device, test method, test equipment and computer storage medium
CN115525576B (en) * 2022-10-31 2023-08-25 广州市易鸿智能装备有限公司 MES communication interface device, test method, test equipment and computer storage medium

Also Published As

Publication number Publication date
CN110753089B (en) 2022-08-19

Similar Documents

Publication Publication Date Title
CN110753089B (en) Method, device, medium and electronic equipment for managing client
CN111581563B (en) Page response method and device, storage medium and electronic equipment
CN111581291A (en) Data processing method and device, electronic equipment and readable medium
CN110909521B (en) Online document information synchronous processing method and device and electronic equipment
CN111679990A (en) Test data generation method and device, readable medium and electronic equipment
CN112597047A (en) Test method, test device, electronic equipment and computer readable medium
CN111309304B (en) Method, device, medium and electronic equipment for generating IDL file
CN113886336A (en) Flow detection method, device, equipment and medium
CN112099982A (en) Collapse information positioning method, device, medium and electronic equipment
CN110489621B (en) Method, device, medium and electronic equipment for dynamically adjusting route
CN111596992B (en) Navigation bar display method and device and electronic equipment
CN116302271A (en) Page display method and device and electronic equipment
CN113971192A (en) Data processing method and device, readable medium and electronic equipment
CN113127550A (en) Information processing method, information processing device, electronic equipment and storage medium
CN113176937A (en) Task processing method and device and electronic equipment
CN113778850A (en) Data processing method and device, electronic equipment and computer readable medium
CN112732457A (en) Image transmission method, image transmission device, electronic equipment and computer readable medium
CN113391860A (en) Service request processing method and device, electronic equipment and computer storage medium
CN116319322B (en) Power equipment node communication connection method, device, equipment and computer medium
CN111274150B (en) Service instance access method and device and electronic equipment
CN113157365B (en) Program running method, program running device, electronic equipment and computer readable medium
CN110633324B (en) Method, apparatus, electronic device and computer readable medium for synchronizing data
CN117675756A (en) Domain name resolution management method, device, equipment and readable storage medium
CN113986743A (en) Position information modification method and device, storage medium and electronic equipment
CN112286773A (en) Method, device, medium and electronic equipment for collecting crash information

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
CP01 Change in the name or title of a patent holder

Address after: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Patentee after: Douyin Vision Co.,Ltd.

Address before: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Patentee before: Tiktok vision (Beijing) Co.,Ltd.

Address after: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Patentee after: Tiktok vision (Beijing) Co.,Ltd.

Address before: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Patentee before: BEIJING BYTEDANCE NETWORK TECHNOLOGY Co.,Ltd.

CP01 Change in the name or title of a patent holder