Communication address setting method and device, equipment, storage medium and program product
By performing user verification and two-way update operations on terminal devices, the problem of inefficient management of existing communication address is solved, automated allocation and security enhancement are achieved, and communication address management needs are adapted to different scenarios.
Patent Information
- Application Number
- CN202510680642.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-26
- Publication Date
- 2025-08-15
AI Technical Summary
The existing communication address management methods rely on manual operations, are inefficient and error-prone, and lack effective identity verification mechanisms, which pose security risks.
By performing user verification on the terminal device, querying the communication address set in the local database based on the verification information, updating the usage status, and performing two-way update operations with the remote server, automatic allocation and management of communication addresses is realized.
It improves the efficiency of communication address management, reduces manual operations, enhances security, prevents illegal users from obtaining communication address resources, and the allocation rules can be adjusted according to needs, making them easy to implement and promote.
Smart Images

Figure CN120498797A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of information security technology, and in particular to a communication address setting method, apparatus, device, medium, and program product. Background Art
[0002] With the rapid development of network technology, the management and allocation of communication addresses, a fundamental resource for network communications, has become increasingly complex. This is particularly true in scenarios where dynamic communication addresses are required. Existing methods for managing communication addresses rely primarily on manual operations, which are inefficient and prone to errors. Furthermore, the allocation and use of communication addresses lack effective authentication mechanisms, posing security risks. Therefore, it is necessary to research and develop a novel method for setting communication addresses to improve the efficiency and security of communication address management. Summary of the Invention
[0003] In view of the above problems, the present disclosure provides a communication address setting method, apparatus, device, medium and program product that improve the security and convenience of the communication address.
[0004] According to a first aspect of the present disclosure, a communication address setting method is provided, which is applied to a terminal device and includes: in response to verification information from a user, performing a verification operation on the verification information; if the verification operation passes, receiving a communication address selection instruction from the user; based on the communication address selection instruction, querying a first global communication address set in a local database to obtain a target communication address, the communication address including a usage status; updating the usage status of the target communication address in the local database to obtain a second global communication address set; and performing a bidirectional update operation based on the second global communication address set and a third global communication address set stored in a remote server to obtain a fourth global communication address set.
[0005] According to an embodiment of the present disclosure, it also includes: receiving a communication address release instruction from a user; updating the usage status of the target communication address in the local database to obtain a fifth global communication address set; and performing a two-way update operation based on the fifth global communication address set and the sixth global communication address set stored in a remote server to obtain a seventh global communication address set.
[0006] According to an embodiment of the present disclosure, in response to verification information from a user, performing a verification operation on the verification information includes: matching reserved user information based on the verification information, the reserved user information includes reserved verification information and user role information, wherein the reserved verification information includes biometric information.
[0007] According to an embodiment of the present disclosure, querying the first global communication address set in the local database based on the communication address selection instruction to obtain the target communication address includes: determining a user communication address set of the first global communication address set based on the user role; and determining the target communication address in the user communication address set based on the communication address selection instruction.
[0008] According to an embodiment of the present disclosure, the bidirectional update operation based on the second global communication address set and the third global communication address set stored in the remote server includes: obtaining the third global communication address set stored in the remote server; while retaining the usage status of the target communication address as used, overwriting the second global communication address based on the third global communication address set to obtain the third global communication address set; and synchronizing the usage status of the target communication address to the remote server so that the remote server updates the usage status of the target communication address.
[0009] According to an embodiment of the present disclosure, the bidirectional update operation is performed based on the fifth global communication address set and the sixth global communication address set stored in the remote server to obtain the seventh global communication address set, including: while retaining the usage status of the target communication address as unused, overwriting the fifth global communication address based on the sixth global communication address set to obtain the seventh global communication address set; and synchronizing the usage status of the target communication address to the remote server so that the remote server updates the usage status of the target communication address.
[0010] A second aspect of the present disclosure provides a communication address setting method, which is applied to a terminal device and includes: a verification module for performing a verification operation on the verification information in response to verification information from a user; an instruction receiving module for receiving a communication address selection instruction from the user if the verification operation passes; an address output module for querying a first global communication address set in a local database based on the communication address selection instruction to obtain a target communication address, wherein the communication address includes a usage status; an update module for updating the usage status of the target communication address in the local database to obtain a second global communication address set; and an update module for performing a bidirectional update operation based on the second global communication address set and a third global communication address set stored in a remote server to obtain a fourth global communication address set.
[0011] According to an embodiment of the present disclosure, the instruction receiving module is also used to receive a communication address release instruction from a user; update the usage status of the target communication address in the local database to obtain a fifth global communication address set; and the update module is also used to perform a two-way update operation based on the fifth global communication address set and the sixth global communication address set stored in a remote server to obtain a seventh global communication address set.
[0012] According to an embodiment of the present disclosure, the verification module is specifically used to match reserved user information based on the verification information, and the reserved user information includes reserved verification information and user role information, wherein the reserved verification information includes biometric information.
[0013] According to an embodiment of the present disclosure, the address output module is specifically configured to determine a user communication address set of the first global communication address set based on the user role; and determine a target communication address in the user communication address set based on the communication address selection instruction.
[0014] According to an embodiment of the present disclosure, the update module is specifically used to obtain a third global communication address set stored in a remote server; while retaining the usage status of the target communication address as used, overwriting the second global communication address based on the third global communication address set to obtain a third global communication address set; and synchronizing the usage status of the target communication address to the remote server so that the remote server updates the usage status of the target communication address.
[0015] According to an embodiment of the present disclosure, the update module is specifically configured to, while retaining the usage status of the target communication address as unused, overwrite the fifth global communication address based on the sixth global communication address set to obtain a seventh global communication address set; and synchronize the usage status of the target communication address to a remote server so that the remote server updates the usage status of the target communication address.
[0016] A third aspect of the present disclosure provides an electronic device, comprising: one or more processors; and a memory for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors execute the above-mentioned communication address setting method.
[0017] A fourth aspect of the present disclosure further provides a computer-readable storage medium having executable instructions stored thereon, which, when executed by a processor, causes the processor to execute the above-mentioned communication address setting method.
[0018] A fifth aspect of the present disclosure further provides a computer program product, including a computer program, which implements the above-mentioned communication address setting method when executed by a processor.
[0019] In the embodiment of the present disclosure, first, the identity of the user is verified at the local terminal, and after the identity authentication is successful, a certain communication address segment is pushed to the user based on the user's identity role, and the user selects to generate a corresponding selection instruction, and then the target communication address selected in the selection instruction is adopted and its usage status is modified. Finally, the usage status of the local and remote ends is updated in both directions. In the embodiment of the present disclosure, at least the following beneficial effects can be achieved: 1. The efficiency of communication address management is improved by automated means, the automatic allocation of communication addresses is realized, and the tedious steps of manual operation are reduced; 2. The security of communication address management is improved, and identity authentication is adopted to ensure the authenticity of the user identity and prevent illegal users from obtaining communication address resources; 3. The communication address allocation rules in the embodiment of the present disclosure can be adjusted according to actual needs to meet the communication address management needs in different scenarios; 4. It is easy to implement and promote, and reduces maintenance costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] The above contents and other objects, features and advantages of the present disclosure will become more apparent through the following description of the embodiments of the present disclosure with reference to the accompanying drawings, in which:
[0021] Figure 1 The following schematically illustrates an application scenario of the communication address setting method according to an embodiment of the present disclosure;
[0022] Figure 2 A flowchart of a method for setting a communication address according to an embodiment of the present disclosure is schematically shown;
[0023] Figure 3 A flowchart schematically illustrates another method for setting a communication address according to an embodiment of the present disclosure;
[0024] Figure 4 A flowchart of a method for setting a communication address according to an embodiment of the present disclosure is schematically shown;
[0025] Figure 5 Schematically shows a structural block diagram of a communication address setting device according to an embodiment of the present disclosure; and
[0026] Figure 6 A block diagram of an electronic device suitable for implementing a communication address setting method according to an embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION
[0027] Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are merely exemplary and are not intended to limit the scope of the present disclosure. In the detailed description below, for ease of explanation, many specific details are set forth to provide a comprehensive understanding of the embodiments of the present disclosure. However, it is apparent that one or more embodiments may also be implemented without these specific details. In addition, in the following description, descriptions of well-known structures and technologies are omitted to avoid unnecessary confusion of the concepts of the present disclosure.
[0028] The terms used herein are only for describing specific embodiments and are not intended to limit the present disclosure. The terms "comprise," "include," etc. used herein indicate the presence of the features, steps, operations, and / or components, but do not exclude the presence or addition of one or more other features, steps, operations, or components.
[0029] All terms used herein (including technical and scientific terms) have the meanings commonly understood by those skilled in the art unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification and should not be interpreted in an idealized or overly rigid manner.
[0030] When expressions such as "at least one of A, B, and C, etc." are used, they should generally be interpreted in accordance with the meaning commonly understood by those skilled in the art (for example, "a system having at least one of A, B, and C" should include but is not limited to a system having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, C, etc.).
[0031] In the course of a company's operations, there are scenarios where employees need to work in multiple locations, such as on business trips, job changes, etc. Due to the multiple locations, there is a need to frequently set communication addresses. In the prior art, communication addresses are often set manually, and the user relies on experience to select a communication address that is not occupied and meets the user's position / role. However, in the prior art, there is often a mismatch in user identity, which causes the set communication address to be mismatched, resulting in the accessible address permissions being too large or too small. In addition, the manual setting of communication addresses relies on experience. When communication address resources are tight, the set communication address is occupied and a free communication address needs to be found again, which will lead to inefficient settings and prone to errors. Therefore, how to set communication addresses efficiently and securely is a technical problem that needs to be solved urgently.
[0032] In order to solve the technical problems existing in the prior art, an embodiment of the present disclosure provides a communication address setting method, which is applied to a terminal device, including: in response to verification information from a user, performing a verification operation on the verification information; if the verification operation passes, receiving a communication address selection instruction from the user; based on the communication address selection instruction, querying a first global communication address set in a local database to obtain a target communication address, wherein the communication address includes a usage status; updating the usage status of the target communication address in the local database to obtain a second global communication address set; and performing a two-way update operation based on the second global communication address set and a third global communication address set stored in a remote server to obtain a fourth global communication address set.
[0033] In the embodiment of the present disclosure, first, the identity of the user is verified at the local terminal, and after the identity authentication is successful, a certain communication address segment is pushed to the user based on the user's identity role, and the user selects to generate a corresponding selection instruction, and then the target communication address selected in the selection instruction is adopted and its usage status is modified. Finally, the usage status of the local and remote ends is updated in both directions. In the embodiment of the present disclosure, at least the following beneficial effects can be achieved: 1. The efficiency of communication address management is improved by automated means, the automatic allocation of communication addresses is realized, and the tedious steps of manual operation are reduced; 2. The security of communication address management is improved, and identity authentication is adopted to ensure the authenticity of the user identity and prevent illegal users from obtaining communication address resources; 3. The communication address allocation rules in the embodiment of the present disclosure can be adjusted according to actual needs to meet the communication address management needs in different scenarios; 4. It is easy to implement and promote, and reduces maintenance costs.
[0034] Figure 1 The application scenario diagram of the communication address setting method according to an embodiment of the present disclosure is schematically shown.
[0035] like Figure 1 As shown, the application scenario 100 according to this embodiment may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 is used as a medium for providing a communication link between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired or wireless communication links or optical fiber cables.
[0036] Users can use terminal devices 101, 102, and 103 to interact with server 105 via network 104 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 101, 102, and 103, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc. (only as examples).
[0037] The terminal devices 101 , 102 , and 103 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, and desktop computers.
[0038] Server 105 may be a server that provides various services, such as a background management server (for example only) that supports websites browsed by users using terminal devices 101, 102, and 103. The background management server may analyze and process received data such as user requests, and feed back processing results (e.g., web pages, information, or data obtained or generated based on user requests) to the terminal device.
[0039] It should be noted that the communication address setting method provided in the embodiment of the present disclosure can generally be executed by the terminal devices 101, 102, and 103. Accordingly, the communication address setting apparatus provided in the embodiment of the present disclosure can generally be set in the terminal devices 101, 102, and 103. The communication address setting method provided in the embodiment of the present disclosure can also be executed by the terminal devices 101, 102, and 103 that are different from the terminal devices 101, 102, and 103 and can communicate with the server 105 and / or the server or server cluster that communicates with the server 105. Accordingly, the communication address setting apparatus provided in the embodiment of the present disclosure can also be set in the terminal devices 101, 102, and 103 that are different from the terminal devices 101, 102, and 103 and can communicate with the server 105 and / or the server or server cluster that communicates with the server 105.
[0040] It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is merely illustrative. Any number of terminal devices, networks and servers may be provided as required.
[0041] The following will be based on Figure 1 The scene described by Figures 2 to 4 The communication address setting method of the disclosed embodiment is described in detail.
[0042] Figure 2 The flowchart of a communication address setting method according to an embodiment of the present disclosure is schematically shown.
[0043] like Figure 2 As shown, the communication address setting method of this embodiment includes operations S210 to S230, and the method can be executed by terminals 101, 102, and 103.
[0044] In operation S210, in response to authentication information from a user, an authentication operation is performed on the authentication information.
[0045] The above verification information is information used to verify the identity of the user, for example, the verification information includes any one or more of: name, identity, mobile phone number, account password and / or biometric information.
[0046] In a typical scenario, a user sets a communication address on a local terminal to connect to an office network. The user enters verification information on the local terminal, and the local terminal verifies the user's identity.
[0047] It should be emphasized that since the current terminal is not connected to the Internet, it is not connected to the remote server. Therefore, the logic of the above verification operation is set on the local terminal, and the logic of the identity authentication operation is implemented on this terminal.
[0048] According to an embodiment of the present disclosure, in response to verification information from a user, performing a verification operation on the verification information includes: matching reserved user information based on the verification information, the reserved user information includes reserved verification information and user role information, wherein the reserved verification information includes biometric information.
[0049] Specifically, the reserved user information includes reserved verification information for verifying the user's identity and user role information for identifying the user's role in the organization, wherein the user role information can subsequently be used to identify the communication address segments that the user can use. It can be understood that the above-mentioned reserved user information is encrypted to avoid tampering.
[0050] In a typical scenario, a user uploads verification information. The backend of this end identifies the verification information and calls the reserved verification information for matching. If the match is successful, the corresponding user role information can be queried.
[0051] In operation S220, if the verification operation is passed, a communication address selection instruction is received from the user.
[0052] The communication address selection instruction is used to select a certain type of communication address.
[0053] Specifically, if the user identity authentication is passed, the background will use the above user role information to search for the address segments corresponding to the role, and then display these address segments to the user for selection. After the user clicks, the corresponding address selection instruction will be generated.
[0054] In a typical scenario, the user intends to select a special communication address with greater permissions that can access both the intranet and the Internet. If the user's role information meets the above requirements, the background recommends various unused address segments stored locally for the user to choose from. If the user selects a communication address segment that can access both the intranet and the Internet, the above address selection instruction is generated.
[0055] In operation S230, a first global communication address set in a local database is queried based on the communication address selection instruction to obtain a target communication address, where the communication address includes a usage status.
[0056] Among them, the first global communication address set refers to a collection of global communication addresses pre-stored locally. Generally speaking, the first global communication address includes all communication addresses and the usage status of any communication address (occupied or unoccupied). The first global communication address set is updated based on the real-time global communication address set in the remote server when the terminal device is in an online state.
[0057] According to an embodiment of the present disclosure, querying the first global communication address set in the local database based on the communication address selection instruction to obtain the target communication address includes: determining a user communication address set of the first global communication address set based on the user role; and determining the target communication address in the user communication address set based on the communication address selection instruction.
[0058] In a typical scenario, the local terminal's backend, based on the received communication address selection instruction, selects a communication address that meets the requirements of the communication address selection instruction (this can be multiple communication addresses, and the usage status of these communication addresses must be unoccupied). It then iterates through the communication address selection instructions to test whether it is occupied, and finds an unoccupied communication address as the target communication address. It is important to emphasize that the local first global communication address is not a timely communication address. Some communication addresses may be used by others, but their usage status is only uploaded to the remote server and not synchronized to the local terminal. Therefore, this global communication address is only used as a reference item, and it is tested to see if it is occupied during the actual connection.
[0059] In operation S240, the usage status of the target communication address in the local database is updated to obtain a second global communication address set.
[0060] Specifically, after the target communication address is used, the usage status of the target communication address in the local first global communication address set is updated to obtain an updated second global communication address set.
[0061] In operation S250, a bidirectional update operation is performed based on the second global communication address set and the third global communication address set stored in the remote server to obtain a fourth global communication address set.
[0062] The bidirectional update operation involves synchronously updating the latest usage status of each communication address set in the local terminal and the remote server, so that the remote server can subsequently update the communication address status of the communication address sets in other terminals. After the third global communication address set in the local terminal is updated, it changes from the third global communication address set to the fourth global communication address set.
[0063] According to an embodiment of the present disclosure, the bidirectional update operation based on the second global communication address set and the third global communication address set stored in the remote server includes: obtaining the third global communication address set stored in the remote server; while retaining the usage status of the target communication address as used, overwriting the second global communication address based on the third global communication address set to obtain the third global communication address set; and synchronizing the usage status of the target communication address to the remote server so that the remote server updates the usage status of the target communication address.
[0064] Specifically, the update method may cover the second global communication address set with the status of each communication address in the third global communication address set from the remote server, and only retain the usage status of the target communication address in the second global communication address set, which is used.
[0065] In the embodiment of the present disclosure, first, the identity of the user is verified at the local terminal, and after the identity authentication is successful, a certain communication address segment is pushed to the user based on the user's identity role, and the user selects to generate a corresponding selection instruction, and then the target communication address selected in the selection instruction is adopted and its usage status is modified. Finally, the usage status of the local and remote ends is updated in both directions. In the embodiment of the present disclosure, at least the following beneficial effects can be achieved: 1. The efficiency of communication address management is improved by automated means, the automatic allocation of communication addresses is realized, and the tedious steps of manual operation are reduced; 2. The security of communication address management is improved, and identity authentication is adopted to ensure the authenticity of the user identity and prevent illegal users from obtaining communication address resources; 3. The communication address allocation rules in the embodiment of the present disclosure can be adjusted according to actual needs to meet the communication address management needs in different scenarios; 4. It is easy to implement and promote, and reduces maintenance costs.
[0066] Considering the situation that communication addresses are in short supply, the embodiments of the present disclosure also provide a solution for releasing communication addresses in use, as shown below:
[0067] Figure 3 A flowchart of another communication address setting method according to an embodiment of the present disclosure is schematically shown.
[0068] like Figure 3As shown, the communication address setting method of this embodiment includes operations S310 to S330.
[0069] In operation S310, a communication address release instruction is received from a user.
[0070] In a typical scenario, after the user finishes using the communication address, the user sends an address release instruction for the target communication address to the local terminal to release the communication address in use.
[0071] In operation S320, the usage status of the target communication address in the local database is updated to obtain a fifth global communication address set.
[0072] In operation S330, a bidirectional update operation is performed based on the fifth global communication address set and the sixth global communication address set stored in the remote server to obtain a seventh global communication address set.
[0073] The bidirectional update operation involves synchronously updating the latest usage status of each communication address set in the local terminal and the remote server, so that the remote server can subsequently update the communication address status of the communication address sets in other terminals. After the fifth global communication address set in the local terminal is updated, it changes from the fifth global communication address set to the seventh global communication address set.
[0074] According to an embodiment of the present disclosure, the bidirectional update operation is performed based on the fifth global communication address set and the sixth global communication address set stored in the remote server to obtain the seventh global communication address set, including: while retaining the usage status of the target communication address as unused, overwriting the fifth global communication address based on the sixth global communication address set to obtain the seventh global communication address set; and synchronizing the usage status of the target communication address to the remote server so that the remote server updates the usage status of the target communication address.
[0075] Specifically, the update method may cover the fifth global communication address set with the status of each communication address in the sixth global communication address set from the remote server, and only retain the usage status of the target communication address in the fifth global communication address set, where the usage status is unused.
[0076] Figure 4 The flowchart of a communication address setting method according to an embodiment of the present disclosure is schematically shown.
[0077] like Figure 4 As shown, the communication address setting method of this embodiment includes operations S410 to S440.
[0078] In operation S410, the user performs identity authentication through the voiceprint recognition system, and after the authentication is passed, the user's voiceprint feature information is obtained.
[0079] For example, the user's voiceprint information is collected through the microphone. The user can say "Help me set up the IP", and the microphone will collect and match the reserved voiceprint for identification.
[0080] In operation S420, based on the voiceprint feature information of the user, a preset voiceprint feature is called to match with an IP address allocation rule to determine the IP address range corresponding to the user.
[0081] For example, users with different positions have different address segments. For example, account managers use production segment IPs, while tellers use office segment IPs.
[0082] In operation S430, an automated office technology is used to automatically generate an IP address that meets the requirements based on the IP address range requested by the user, thereby completing the allocation and automatic setting of the IP address.
[0083] For example, some IP permissions are relatively high. For example, when accessing third-party external resources, IP allocation is based on the role and business processing, and these specific IPs are required.
[0084] In operation S440, the allocated IP address information is stored in a database for user query and use.
[0085] For example, the database may not only be a database of a local terminal, but also a database of a remote server.
[0086] Based on the above communication address setting method, the present disclosure also provides a communication address setting device. Figure 5 The device is described in detail.
[0087] Figure 5 The structural block diagram of the communication address setting device according to an embodiment of the present disclosure is schematically shown.
[0088] like Figure 5 As shown, the communication address setting device 500 of this embodiment includes a verification module 510 , an instruction receiving module 520 , an address output module 530 and an update module 540 .
[0089] The verification module 510 is used to perform a verification operation on the verification information in response to the verification information from the user. In one embodiment, the verification module 510 can be used to perform the operation S210 described above, which will not be repeated here.
[0090] The instruction receiving module 520 is used to receive a communication address selection instruction from the user when the verification operation passes. In one embodiment, the instruction receiving module 520 can be used to perform the operation S220 described above, which will not be repeated here.
[0091] The address output module 530 is used to query the first global communication address set in the local database based on the communication address selection instruction to obtain the target communication address, which includes the usage status. In one embodiment, the address output module 530 can be used to perform the operation S230 described above, which will not be repeated here.
[0092] The updating module 540 is used to update the usage status of the target communication address in the local database to obtain a second global communication address set. In one embodiment, the updating module 540 can be used to perform the operation S240 described above, which will not be repeated here.
[0093] The update module 540 is further configured to perform a bidirectional update operation based on the second global communication address set and the third global communication address set stored in the remote server to obtain a fourth global communication address set. In one embodiment, the update module 540 can be configured to perform the operation S250 described above, which will not be repeated here.
[0094] In the embodiment of the present disclosure, first, the identity of the user is verified at the local terminal, and after the identity authentication is successful, a certain communication address segment is pushed to the user based on the user's identity role, and the user selects to generate a corresponding selection instruction, and then the target communication address selected in the selection instruction is adopted and its usage status is modified. Finally, the usage status of the local and remote ends is updated in both directions. In the embodiment of the present disclosure, at least the following beneficial effects can be achieved: 1. The efficiency of communication address management is improved by automated means, the automatic allocation of communication addresses is realized, and the tedious steps of manual operation are reduced; 2. The security of communication address management is improved, and identity authentication is adopted to ensure the authenticity of the user identity and prevent illegal users from obtaining communication address resources; 3. The communication address allocation rules in the embodiment of the present disclosure can be adjusted according to actual needs to meet the communication address management needs in different scenarios; 4. It is easy to implement and promote, and reduces maintenance costs.
[0095] According to an embodiment of the present disclosure, the instruction receiving module is also used to receive a communication address release instruction from a user; update the usage status of the target communication address in the local database to obtain a fifth global communication address set; and the update module is also used to perform a two-way update operation based on the fifth global communication address set and the sixth global communication address set stored in a remote server to obtain a seventh global communication address set.
[0096] According to an embodiment of the present disclosure, the verification module is specifically used to match reserved user information based on the verification information, and the reserved user information includes reserved verification information and user role information, wherein the reserved verification information includes biometric information.
[0097] According to an embodiment of the present disclosure, the address output module is specifically configured to determine a user communication address set of the first global communication address set based on the user role; and determine a target communication address in the user communication address set based on the communication address selection instruction.
[0098] According to an embodiment of the present disclosure, the update module is specifically used to obtain a third global communication address set stored in a remote server; while retaining the usage status of the target communication address as used, overwriting the second global communication address based on the third global communication address set to obtain a third global communication address set; and synchronizing the usage status of the target communication address to the remote server so that the remote server updates the usage status of the target communication address.
[0099] According to an embodiment of the present disclosure, the update module is specifically configured to, while retaining the usage status of the target communication address as unused, overwrite the fifth global communication address based on the sixth global communication address set to obtain a seventh global communication address set; and synchronize the usage status of the target communication address to a remote server so that the remote server updates the usage status of the target communication address.
[0100] According to an embodiment of the present disclosure, any multiple modules among the verification module 510, the instruction receiving module 520, the address output module 530, and the update module 540 can be combined into a single module, or any one of these modules can be split into multiple modules. Alternatively, at least part of the functionality of one or more of these modules can be combined with at least part of the functionality of other modules and implemented in a single module. According to an embodiment of the present disclosure, at least one of the verification module 510, the instruction receiving module 520, the address output module 530, and the update module 540 can be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on a chip, a system on a substrate, a system on a package, an application-specific integrated circuit (ASIC), or can be implemented in hardware or firmware through any other reasonable means of circuit integration or packaging, or can be implemented in any one of the three implementation methods of software, hardware, and firmware, or any appropriate combination of any of these. Alternatively, at least one of the verification module 510 , the instruction receiving module 520 , the address output module 530 and the update module 540 may be at least partially implemented as a computer program module, which may perform corresponding functions when executed.
[0101] Based on the above communication address setting method, the present disclosure also provides a communication address setting device. Figure 6 The device is described in detail.
[0102] Figure 6 A block diagram of an electronic device suitable for implementing a communication address setting method according to an embodiment of the present disclosure is schematically shown.
[0103] like Figure 6 As shown, an electronic device 600 according to an embodiment of the present disclosure includes a processor 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage portion 608 into a random access memory (RAM) 603. The processor 601 may include, for example, a general-purpose microprocessor (e.g., a CPU), an instruction set processor and / or a related chipset and / or a special-purpose microprocessor (e.g., an application-specific integrated circuit (ASIC)), etc. The processor 601 may also include onboard memory for caching purposes. The processor 601 may include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present disclosure.
[0104] Various programs and data required for the operation of the electronic device 600 are stored in the RAM 603. The processor 601, ROM 602, and RAM 603 are connected to each other via a bus 604. The processor 601 executes the various operations of the method flow according to the embodiment of the present disclosure by executing the programs in the ROM 602 and / or RAM 603. It should be noted that the programs may also be stored in one or more memories other than the ROM 602 and RAM 603. The processor 601 may also execute the various operations of the method flow according to the embodiment of the present disclosure by executing the programs stored in the one or more memories.
[0105] According to an embodiment of the present disclosure, electronic device 600 may further include an input / output (I / O) interface 605, which is also connected to bus 604. Electronic device 600 may also include one or more of the following components connected to I / O interface 605: an input section 606 including a keyboard, mouse, etc.; an output section 607 including devices such as a cathode ray tube (CRT), liquid crystal display (LCD), and speakers; a storage section 608 including a hard disk; and a communication section 609 including a network interface card such as a LAN card or modem. Communication section 609 performs communication processing via a network such as the Internet. A drive 610 is also connected to I / O interface 605 as needed. Removable media 611, such as a magnetic disk, optical disk, magneto-optical disk, semiconductor memory, etc., is installed in drive 610 as needed, so that computer programs read from the removable media can be installed into storage section 608 as needed.
[0106] The present disclosure also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments, or may exist independently and not be incorporated into the device / apparatus / system. The computer-readable storage medium carries one or more programs, and when executed, implements the method according to the embodiments of the present disclosure.
[0107] According to an embodiment of the present disclosure, a computer-readable storage medium may be a non-volatile computer-readable storage medium, and may include, for example, but not limited to: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present disclosure, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. For example, according to an embodiment of the present disclosure, a computer-readable storage medium may include the ROM 602 and / or RAM 603 described above, and / or one or more memories other than ROM 602 and RAM 603.
[0108] The embodiments of the present disclosure also include a computer program product, which includes a computer program containing program code for executing the method shown in the flowchart. When the computer program product is run in a computer system, the program code is used to enable the computer system to implement the communication address setting method provided by the embodiments of the present disclosure.
[0109] The computer program executes the above functions defined in the system / device of the embodiment of the present disclosure when the processor 601 executes the computer program. According to the embodiment of the present disclosure, the system, device, module, unit, etc. described above can be implemented by a computer program module.
[0110] In one embodiment, the computer program may be stored on a tangible storage medium such as an optical storage device or a magnetic storage device. In another embodiment, the computer program may be transmitted and distributed in the form of a signal on a network medium, downloaded and installed via the communication portion 609, and / or installed from a removable medium 611. The program code contained in the computer program may be transmitted using any appropriate network medium, including but not limited to wireless, wired, or any suitable combination thereof.
[0111] In such an embodiment, the computer program can be downloaded and installed from a network via the communication section 609, and / or installed from a removable medium 611. When the computer program is executed by the processor 601, the above-described functions defined in the system of the embodiment of the present disclosure are performed. According to the embodiment of the present disclosure, the systems, devices, means, modules, units, etc. described above can be implemented by computer program modules.
[0112] According to an embodiment of the present disclosure, the program code for executing the computer program provided by the embodiment of the present disclosure can be written in any combination of one or more programming languages. Specifically, these computer programs can be implemented using high-level procedural and / or object-oriented programming languages, and / or assembly / machine languages. Programming languages include, but are not limited to, languages such as Java, C++, Python, "C" or similar programming languages. The program code can be executed entirely on the user computing device, partially on the user device, partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device can be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (for example, using an Internet service provider to connect via the Internet).
[0113] The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, program segment, or a part of code, and the above-mentioned module, program segment, or a part of code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in an order different from that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0114] Those skilled in the art will appreciate that the features described in the various embodiments of the present disclosure may be combined and / or coupled in various ways, even if such combinations or couplings are not explicitly described in the present disclosure. In particular, the features described in the various embodiments of the present disclosure may be combined and / or coupled in various ways without departing from the spirit and teachings of the present disclosure. All such combinations and / or couplings fall within the scope of the present disclosure.
[0115] The above describes the embodiments of the present disclosure. However, these embodiments are for illustrative purposes only and are not intended to limit the scope of the present disclosure. Although each embodiment has been described separately above, this does not mean that the measures in each embodiment cannot be advantageously used in combination. Without departing from the scope of the present disclosure, those skilled in the art may make various substitutions and modifications, which should all fall within the scope of the present disclosure.
Claims
1. A method for setting a communication address, the method being applied to a terminal device, comprising: In response to verification information from a user, performing a verification operation on the verification information; If the verification operation is passed, receiving a communication address selection instruction from the user; Based on the communication address selection instruction, query a first global communication address set in a local database to obtain a target communication address, wherein the communication address includes a usage status; Updating the usage status of the target communication address in the local database to obtain a second global communication address set; and A bidirectional update operation is performed based on the second global communication address set and the third global communication address set stored in the remote server to obtain a fourth global communication address set.
2. The method according to claim 1, further comprising: receiving a communication address release instruction from a user; Updating the usage status of the target communication address in the local database to obtain a fifth global communication address set; as well as A bidirectional update operation is performed based on the fifth global communication address set and the sixth global communication address set stored in the remote server to obtain a seventh global communication address set.
3. The method according to claim 2, wherein the step of performing a verification operation on the verification information in response to the verification information from the user comprises: The reserved user information is matched based on the verification information, where the reserved user information includes reserved verification information and user role information, wherein the reserved verification information includes biometric information.
4. The method according to claim 3, wherein querying the first global communication address set in the local database based on the communication address selection instruction to obtain the target communication address comprises: determining a user communication address set of the first global communication address set based on the user role; as well as Based on the communication address selection instruction, a target communication address in the user communication address set is determined.
5. The method according to claim 4, wherein the performing a bidirectional update operation based on the second global communication address set and the third global communication address set stored in the remote server comprises: Obtaining a third global communication address set stored in a remote server; In a case where the usage status of the target communication address is retained as used, overwriting the second global communication address based on the third global communication address set to obtain a third global communication address set; as well as The usage status of the target communication address is synchronized to a remote server, so that the remote server updates the usage status of the target communication address.
6. The method according to claim 5, wherein the performing a bidirectional update operation based on the fifth global communication address set and the sixth global communication address set stored in the remote server to obtain the seventh global communication address set comprises: In a case where the target communication address remains in an unused state, overwriting the fifth global communication address based on the sixth global communication address set to obtain a seventh global communication address set; as well as The usage status of the target communication address is synchronized to a remote server, so that the remote server updates the usage status of the target communication address.
7. A communication address setting device, the method being applied to a terminal device, comprising: a verification module, configured to perform a verification operation on the verification information in response to the verification information from the user; An instruction receiving module, configured to receive a communication address selection instruction from a user if the verification operation passes; An address output module, configured to query a first global communication address set in a local database based on the communication address selection instruction to obtain a target communication address, wherein the communication address includes a usage status; An updating module, configured to update the usage status of the target communication address in the local database to obtain a second global communication address set; as well as The updating module is further configured to perform a bidirectional updating operation based on the second global communication address set and the third global communication address set stored in the remote server to obtain a fourth global communication address set.
8. An electronic device comprising: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors are enabled to execute the method according to any one of claims 1 to 6.
9. A computer-readable storage medium having executable instructions stored thereon, which, when executed by a processor, causes the processor to perform the method according to any one of claims 1 to 6.
10. A computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.