CN110764847A - User information processing method and device, electronic equipment and storage medium - Google Patents

User information processing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN110764847A
CN110764847A CN201910955226.XA CN201910955226A CN110764847A CN 110764847 A CN110764847 A CN 110764847A CN 201910955226 A CN201910955226 A CN 201910955226A CN 110764847 A CN110764847 A CN 110764847A
Authority
CN
China
Prior art keywords
information
user information
client
user
modification
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
CN201910955226.XA
Other languages
Chinese (zh)
Other versions
CN110764847B (en
Inventor
刘正阳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN201910955226.XA priority Critical patent/CN110764847B/en
Publication of CN110764847A publication Critical patent/CN110764847A/en
Application granted granted Critical
Publication of CN110764847B publication Critical patent/CN110764847B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/448Execution paradigms, e.g. implementations of programming paradigms
    • G06F9/4482Procedural

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The disclosure relates to a user information processing method, a user information processing device, an electronic device and a storage medium. The method is applied to a server and comprises the following steps: receiving an information viewing request sent by a client; determining a target type of the information viewing request; determining a target storage address corresponding to the information viewing request based on a corresponding relation between a preset type and a storage address; wherein the memory address comprises: the storage address before the information modification and the storage address after the information modification; and acquiring user information based on the target storage address, and returning the user information to the client. According to the technical scheme provided by the embodiment of the disclosure, the user information to be checked and the user information which is checked are respectively stored, so that the user information before modification or after modification is returned from different storage areas according to different types of information checking requests, and the modified information can be timely checked by a user, and meanwhile, the information which passes the checking can be checked by other users.

Description

User information processing method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of information processing applications, and in particular, to a user information processing method and apparatus, an electronic device, and a storage medium.
Background
Currently, when using an application, a user may edit and modify own user information, for example, modify a user name or a personal signature. In practical applications, the provider of the application needs to review the modified user information to make it conform to the specification.
In the related art, the user information before modification is usually displayed before the audit is passed, and the modified user information is displayed after the audit is passed. From the perspective of the user, if the user information is not changed after the modification operation is completed, the user may misunderstand that the modification is failed, and repeat the operation, resulting in poor user experience.
Disclosure of Invention
The present disclosure provides a user information processing method, apparatus, electronic device, and storage medium to at least solve a problem of a user's repetitive operation caused by a user's modification before display modification during an audit time. The technical scheme of the disclosure is as follows:
according to a first aspect of the embodiments of the present disclosure, a method for processing user information is provided, which is applied to a server, and the method includes:
receiving an information viewing request sent by a client;
determining a target type of the information viewing request;
determining a target storage address corresponding to the information viewing request based on a corresponding relation between a preset type and a storage address; wherein the memory address comprises: the storage address before the information modification and the storage address after the information modification;
and acquiring user information based on the target storage address, and returning the user information to the client.
In one possible implementation, the method further includes:
receiving modified user information sent by a client;
and storing the modified user information to a preset first storage area, wherein the storage address after the information modification is the address in the first storage area.
In a possible implementation manner, after the modified user information is saved to a preset first storage area, the method further includes:
judging whether the modified user information meets preset modification conditions or not;
when the modification condition is met, replacing the corresponding user information in a preset second storage area with the modified user information, and deleting the modified user information from the first storage area; the storage address before the information modification is the address in the second storage area;
and when the modification condition is not met, deleting the modified user information from the first storage area.
In a possible implementation manner, after determining whether the modified user information meets a preset modification condition, the method includes:
and sending a notice representing the judgment result to the client based on the obtained judgment result.
In a possible implementation manner, after determining whether the modified user information meets a preset modification condition, before obtaining a determination result, the method further includes:
and sending a notice representing that the user information is being modified to the client.
In one possible implementation, the types include: the personal information request type and the other person information request type;
the determining a target storage address corresponding to the information viewing request based on a preset corresponding relationship between the type and the storage address includes:
when the target type is the personal information request type, determining whether user information corresponding to the information viewing request is stored in the first storage area; if yes, returning the corresponding user information to the client; if not, returning the user information corresponding to the information viewing request in the second storage area to the client;
and when the type of the information viewing request is the type of the information request of other people, returning the user information corresponding to the information viewing request in the second storage area to the client.
In a possible implementation manner, the returning, to the client, user information corresponding to the information viewing request in the second storage area includes:
and returning the latest version of user information to the client when the user information of multiple versions exists in the second storage area.
According to a second aspect of the embodiments of the present disclosure, there is provided a user information processing apparatus, applied to a server, the apparatus including:
the data receiving module is configured to execute receiving of an information viewing request sent by a client;
a type determination module configured to perform determining a target type of the information viewing request;
the address determination module is configured to execute determining a target storage address corresponding to the information viewing request based on a preset corresponding relation between the type and the storage address; wherein the memory address comprises: the storage address before the information modification and the storage address after the information modification;
a data sending module configured to perform obtaining user information based on the target storage address and returning the user information to the client.
In one possible implementation, the data receiving module is further configured to perform: receiving modified user information sent by a client;
the apparatus also includes an information storage module configured to perform: and storing the modified user information to a preset first storage area, wherein the storage address after the information modification is the address in the first storage area.
In one possible implementation, the apparatus further includes a modification determination module configured to perform:
judging whether the modified user information meets preset modification conditions or not;
when the modification condition is met, replacing the corresponding user information in a preset second storage area with the modified user information, and deleting the modified user information from the first storage area; the storage address before the information modification is the address in the second storage area;
and when the modification condition is not met, deleting the modified user information from the first storage area.
In one possible implementation, the data sending module is further configured to perform:
and sending a notice representing the judgment result to the client based on the judgment result obtained by the modification judgment module.
In one possible implementation, the data sending module is further configured to perform:
and after the modification judgment module judges whether the modified user information meets the preset modification condition or not and before a judgment result is obtained, sending a notice representing that the user information is being modified to the client.
In one possible implementation, the types include: the personal information request type and the other person information request type;
the address determination module includes:
a storage determination unit configured to perform, when the target type is a principal information request type, determination of whether or not user information corresponding to the information viewing request is stored in the first storage area;
a first returning unit configured to return the corresponding user information to the client when the user information corresponding to the information viewing request is stored in the first storage area;
the second returning unit is configured to return the user information corresponding to the information viewing request in the second storage area to the client when the user information corresponding to the information viewing request is not stored in the first storage area; and when the type of the information viewing request is the type of the information request of other people, returning the user information corresponding to the information viewing request in the second storage area to the client.
In one possible implementation, the second returning unit is specifically configured to perform:
and returning the latest version of user information to the client when the user information of multiple versions exists in the second storage area.
According to a third aspect of the embodiments of the present disclosure, there is provided an electronic apparatus including:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the executable instructions to implement the user information processing method of the first aspect as well as any one of the possible implementations of the first aspect.
According to a fourth aspect of embodiments of the present disclosure, there is provided a storage medium, wherein instructions that, when executed by a processor of an electronic device, enable the electronic device to perform the user information processing method according to any one of the first aspect and possible implementations of the first aspect.
According to a fifth aspect of embodiments of the present disclosure, there is provided a computer program product comprising one or more instructions which, when executed by a processor of an electronic device, enable the electronic device to perform operations performed by the user information processing method of any one of the first aspect and possible implementations of the first aspect.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects: the modified user information is stored independently, before the modified user information is checked to meet the modification condition, the information before modification (namely, the information which is checked last time is passed) is displayed to other users, and the modified information is displayed to the user, so that the user can see the modification effect after modification operation is carried out, repeated modification of the user in the checking process is avoided, the user information checked by other users can be guaranteed to be the information which is checked to pass the checking, and the user experience is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
FIG. 1 is an architectural diagram illustrating user information processing according to an exemplary embodiment;
FIG. 2 is a flow diagram illustrating a user information processing method in accordance with one illustrative embodiment;
FIG. 3 is another flow diagram of a user information processing apparatus shown in accordance with an exemplary embodiment;
FIG. 4 is a schematic diagram illustrating one configuration of a user information processing apparatus in accordance with one illustrative embodiment;
FIG. 5 is a schematic diagram of another configuration of a user information processing apparatus shown in accordance with an exemplary embodiment;
fig. 6 is a schematic diagram illustrating a structure of an electronic device according to an example embodiment.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
In the embodiment of the present specification, a system related to a user information processing flow includes a client and a server, and a corresponding system architecture schematic diagram is shown in fig. 1 and includes a server device 10 and a client device 20.
The client device can be an electronic device such as a smart phone, a tablet computer, a desktop computer and the like, and the client refers to an application program installed in the electronic device; the specific form of the server device may be a specific server or a server cluster. The server device and the client device may be communicatively connected through various types of networks, which is not limited in this specification.
Fig. 2 is a flowchart illustrating a user information processing method according to an exemplary embodiment, which is applied to the server device 10 shown in fig. 1.
Referring to fig. 1, a user information processing method may include steps S21 to S24:
in step S21, an information viewing request sent by the client is received.
The user can check the user information of the user or others and can modify the user information of the user.
When the user modifies the user information of the user, the client device 10 shown in fig. 1 may be used to perform a corresponding triggering operation on the client. And the client responds to the trigger operation for representing and modifying the user information and sends the modified user information to the server. And the server receives and stores the modified user information.
In an embodiment, a first storage area and a second storage area are preset in the server, the first storage area stores modified user information of which an audit result is not obtained yet, and the second storage area stores user information of which the audit is passed. After receiving the modified user information sent by the client, the server does not directly store the modified user information into the second memory, but stores the modified user information into the first memory.
In another embodiment, the server may check the modified user information stored in the first memory to determine whether the modified user information meets a preset modification condition.
If the modification condition is met, namely the audit is passed, replacing the corresponding user information in the second memory with the modified user information, and deleting the modified user information from the first memory; and if the modification condition is not met, namely the audit is not passed, deleting the modified user information from the first memory.
For example, the user a modifies the user name from "a 1" to "a 2" through operation at the client, and after receiving "a 2" sent by the client, the server first saves "a 2" to the first storage, then checks whether "a 2" meets the user information specification, and if so, namely the check is passed, replaces "a 1" in the second storage with "a 2", and deletes "a 2" in the first storage; if not, i.e. the audit is not passed, then the "A2" in the first memory is directly deleted.
In addition, in this embodiment, the server may also send a corresponding notification to the client during the auditing process.
In one example, the server may send a notification to the client characterizing the modification before obtaining the audit result. In this way, the client-side can show a prompt that the modified user information is being audited to the user in response to the notification that the representation is being modified sent by the server-side, so that the user can know the auditing progress of the modified user information.
In another example, after the server side audits the modified user information, under the condition that a judgment result for judging whether the modified user information meets the preset modification condition is obtained, a notification representing the judgment result can be sent to the client side to notify the client side that the audit is passed or failed. In this way, the client can show the auditing result of the modified user information to the user in response to the notification of the representation judgment result sent by the server.
In step S22, the target type of the information viewing request is determined.
In step S23, determining a target storage address corresponding to the information viewing request based on a preset correspondence between the type and the storage address; wherein the memory address comprises: the storage address before the information modification and the storage address after the information modification.
The user can check the user information of the user or others through the client. And the client side responds to the triggering operation for representing the user information to be checked and sends an information checking request to the server side.
As shown in step S21, in an embodiment, the server may be preset with a first memory and a second memory, and respectively store the user information that has passed the audit and that has not obtained the audit result after modification, so that, in response to the information viewing request sent by the client, the server may respectively obtain the user information from the second memory and the first memory according to the specific type of the request, and send the user information to the client.
In an embodiment, the request type may include a principal information request type and another person information request type, and the server returns the user information obtained from different storage addresses to the client according to different request types. Therefore, before the modified user information passes the verification, the user can check the modified user information, and the user information before modification is checked by other people; after the modified user information passes the verification, the user and others can view the modified user information. Not only can make others view the user information in accordance with the standard, but also can make oneself view the modified information.
And when the target type is the personal information request type, the server determines whether the user information corresponding to the request is stored in the first memory. If so, returning the user information corresponding to the request in the first memory to the client; if not, returning the user information corresponding to the request in the preset second memory to the client.
For example, when the user a views the user name of the user a through the client, the client sends an information viewing request to the server, the request may specify the user ID of the viewing party and the user ID of the viewed party, and after receiving the request, the server may determine that the type of the request is to view the personal information according to the fact that the user IDs of the viewing party and the viewed party are the same. Therefore, the server further determines whether the user name modified by the user a is stored in the first memory according to the user ID of the user a, such as "a 2", if so, returns "a 2" to the client, and if not, the user name "a 2" is already checked, and the user name "a 2" in the first memory is already deleted, then returns "a 1" (check failed) or "a 2" (check passed) stored in the second memory to the client.
When the type of the information viewing request is the type of the information request of other people, the user information corresponding to the request in the second storage can be directly returned to the client.
For example, if the user B views the user name of the user a through the client, the client sends an information viewing request to the server, where the request may specify a user ID of the viewing party and a user ID of the viewed party, and after receiving the request, the server may determine that the type of the request is to view information of another person according to the difference between the user IDs of the viewing party and the viewed party. Thus, the user name "a 1" ("a 2" before the audit is passed) or "a 2" ("a 2" after the audit is passed) of the user a is acquired from the second memory in accordance with the user ID of the viewed party (user a).
In step S24, user information is acquired based on the target storage address, and the user information is returned to the client.
In one embodiment, multiple versions of user information may be stored in the second memory.
For example, the initial user name of the user a is "a 1", then the user changes the user name to "a 2" and passes the audit, then the user changes the user name to "A3" and is under the audit, so that 2 versions of the user information that has passed the audit, that is, "a 1" and "a 2", are stored in the second memory, and the user information that has not obtained the audit result, that is, "A3", is stored in the first memory.
Different version numbers can be allocated to the user information of each version, so that when the server returns the user information corresponding to the request in the preset second memory to the client, if the user information of multiple versions exists in the second memory, the user information of each version can be distinguished according to the version numbers, and the user information of the latest version is returned to the client.
The user information processing method provided in the present specification will be described below with reference to a more specific example.
Fig. 3 is an interaction flowchart of the user information processing method in this example.
The user can edit or modify the user information:
the user A operates and modifies the user name on the client device, for example, the existing user name is deleted and the modified user name is input, and the client sends the modified user name to the server after receiving the trigger operation for representing the modified user name.
And the server side stores the modified user name in a storage area to be checked so as to return the modified user name to the client side of the user A before a checking result is obtained.
In addition, asynchronous audit is carried out on the user name, if the audit result is that the user name passes, the user name before modification in the storage area which is already audited is replaced by the modified user name, and the modified user name stored in the storage area to be audited is deleted; and if the audit result is not passed, directly deleting the modified user name stored in the storage area to be audited.
Besides editing and modifying the user information, the user can also view the user information:
the user A uses the client to check the user name of the user A or other users, the client used by the user responds to the triggering operation of representing checking user information and sends an information checking request to the server, and the request carries the user ID of a checking party and the user ID of a checked party.
And after receiving the information viewing request, the server determines the request type according to the user IDs of the viewing party and the viewed party carried in the request.
If the user ID of the viewing party is the same as that of the viewed party, that is, the user A views the user name of the viewing party, in order to enable the user A to view the user name after the last modification operation, the user name of the user A is firstly read from the storage area to be audited, and if the user name of the user A is not stored in the storage area to be audited, the user A can be considered not to use the user name currently being audited, so that the user name of the user A can be read from the audited storage area, and the user name is returned to the client of the user A.
If the user ID of the viewing party is different from that of the viewed party, that is, the user A views the user name of other users (assumed to be the user B), in order to enable the other users to view the user information which passes the audit and accords with the specification, whether the user B has the user name in the audit or not, the user name of the user B is directly read from the audited storage area, and the user name is returned to the client of the user A.
Fig. 4 is a block diagram illustrating a subscriber information processing apparatus according to an exemplary embodiment, which may include a data receiving module 110, a type determining module 120, an address determining module 130, and a data transmitting module 140.
The data receiving module 110 is configured to perform receiving of an information viewing request sent by a client;
a type determination module 120 configured to perform determining a target type of the information viewing request;
the address determining module 130 is configured to determine a target storage address corresponding to the information viewing request based on a preset correspondence between the type and the storage address; wherein the memory address comprises: the storage address before the information modification and the storage address after the information modification;
the data sending module 140 is configured to execute obtaining user information based on the target storage address and returning the user information to the client.
In one possible implementation, the data receiving module 140 is further configured to perform: receiving modified user information sent by a client;
referring to fig. 5, the apparatus further includes an information storage module 150 configured to perform: and storing the modified user information to a preset first storage area, wherein the storage address after the information modification is the address in the first storage area.
In one possible implementation, referring to fig. 5, the apparatus further includes a modification determining module 160 configured to perform:
judging whether the modified user information meets preset modification conditions or not;
when the modification condition is met, replacing the corresponding user information in a preset second storage area with the modified user information, and deleting the modified user information from the first storage area; the storage address before the information modification is the address in the second storage area;
and when the modification condition is not met, deleting the modified user information from the first storage area.
In one possible implementation, the data sending module 140 is further configured to perform:
and sending a notice representing the judgment result to the client based on the judgment result obtained by the modification judgment module.
In one possible implementation, the data sending module 140 is further configured to perform:
and after the modification judgment module judges whether the modified user information meets the preset modification condition or not and before a judgment result is obtained, sending a notice representing that the user information is being modified to the client.
In one possible implementation, the types include: the personal information request type and the other person information request type;
the address determination module 130 includes:
a storage determination unit configured to perform, when the target type is a principal information request type, determination of whether or not user information corresponding to the information viewing request is stored in the first storage area;
a first returning unit configured to return the corresponding user information to the client when the user information corresponding to the information viewing request is stored in the first storage area;
the second returning unit is configured to return the user information corresponding to the information viewing request in the second storage area to the client when the user information corresponding to the information viewing request is not stored in the first storage area; and when the type of the information viewing request is the type of the information request of other people, returning the user information corresponding to the information viewing request in the second storage area to the client.
In one possible implementation, the second returning unit is specifically configured to perform:
and returning the latest version of user information to the client when the user information of multiple versions exists in the second storage area.
It should be understood that the information storage module 150 and the modification determination module 160 may be configured in the apparatus at the same time as shown in fig. 5, or may be configured in the apparatus separately, and therefore the structure shown in fig. 5 should not be construed as a limitation to the embodiment of the present disclosure.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
FIG. 6 is a block diagram illustrating an electronic device in accordance with an example embodiment. For example, the electronic device 60 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, a server, and the like.
Referring to fig. 6, electronic device 60 may include one or more of the following components: processing component 610, memory 620, power component 630, multimedia component 640, audio component 650, input/output (I/O) interface 660, sensor component 670, and communication component 680.
The processing component 610 generally controls overall operation of the electronic device 60, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 610 may include one or more processors 611 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 610 can include one or more modules that facilitate interaction between the processing component 610 and other components. For example, the processing component 610 may include a multimedia module to facilitate interaction between the multimedia component 640 and the processing component 610.
The memory 620 is configured to store various types of data to support operations at the electronic device 60. Examples of such data include instructions for any application or method operating on the electronic device 60, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 620 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 630 provides power to the various components of the electronic device 60. Power components 630 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for electronic device 60.
The multimedia component 640 includes a screen that provides an output interface between the electronic device 60 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 640 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the electronic device 60 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 650 is configured to output and/or input audio signals. For example, the audio component 650 includes a Microphone (MIC) configured to receive external audio signals when the electronic device 60 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in memory 620 or transmitted via communications component 680. In some embodiments, audio component 650 further includes a speaker for outputting audio signals.
The I/O interface 660 provides an interface between the processing component 610 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
Sensor assembly 670 includes one or more sensors for providing status assessment of various aspects of electronic device 60. For example, sensor assembly 670 may detect an open/closed status of electronic device 60, the relative positioning of components, such as a display and keypad of electronic device 60, sensor assembly 670 may also detect a change in the position of electronic device 60 or a component of electronic device 60, the presence or absence of user contact with electronic device 60, the orientation or acceleration/deceleration of electronic device 60, and a change in the temperature of electronic device 60. The sensor assembly 670 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 670 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 670 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 680 is configured to facilitate wired or wireless communication between the electronic device 60 and other devices. The electronic device 60 may access a wireless network based on a communication standard, such as WiFi, a carrier network (such as 2G, 3G, 4G, or 5G), or a combination thereof. In an exemplary embodiment, the communication component 680 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 680 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an embodiment of the present disclosure, the electronic device 60 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors, or other electronic components for performing the above-described methods.
In an embodiment of the present disclosure, a non-transitory computer-readable storage medium comprising instructions, such as the memory 620 comprising instructions, executable by the processor 611 of the electronic device 60 to perform the method of user information processing described above is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like. In an embodiment of the present disclosure, an application program is further provided, and when the application program is executed by a processor of an electronic device, the electronic device is enabled to execute the user information processing method, so as to obtain the same technical effect.
In an embodiment of the present disclosure, a computer program product is further provided, which, when executed by a processor of an electronic device, enables the electronic device to execute the above-mentioned user information processing method to obtain the same technical effect.
Alternatively, the storage medium may be a non-transitory computer readable storage medium, which may be, for example, a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. A user information processing method is applied to a server side, and the method comprises the following steps:
receiving an information viewing request sent by a client;
determining a target type of the information viewing request;
determining a target storage address corresponding to the information viewing request based on a corresponding relation between a preset type and a storage address; wherein the memory address comprises: the storage address before the information modification and the storage address after the information modification;
and acquiring user information based on the target storage address, and returning the user information to the client.
2. The method of claim 1, further comprising:
receiving modified user information sent by a client;
and storing the modified user information to a preset first storage area, wherein the storage address after the information modification is the address in the first storage area.
3. The method of claim 2, wherein after saving the modified user information to the preset first storage area, the method further comprises:
judging whether the modified user information meets preset modification conditions or not;
when the modification condition is met, replacing the corresponding user information in a preset second storage area with the modified user information, and deleting the modified user information from the first storage area; the storage address before the information modification is the address in the second storage area;
and when the modification condition is not met, deleting the modified user information from the first storage area.
4. The method according to claim 3, wherein after determining whether the modified user information meets a preset modification condition, the method comprises:
and sending a notice representing the judgment result to the client based on the obtained judgment result.
5. The method according to claim 3, wherein after determining whether the modified user information meets a preset modification condition, before obtaining a determination result, the method further comprises:
and sending a notice representing that the user information is being modified to the client.
6. The method of claim 1, wherein the type comprises: the personal information request type and the other person information request type;
the determining a target storage address corresponding to the information viewing request based on a preset corresponding relationship between the type and the storage address includes:
when the target type is the personal information request type, determining whether user information corresponding to the information viewing request is stored in the first storage area; if yes, returning the corresponding user information to the client; if not, returning the user information corresponding to the information viewing request in the second storage area to the client;
and when the type of the information viewing request is the type of the information request of other people, returning the user information corresponding to the information viewing request in the second storage area to the client.
7. The method according to claim 6, wherein the returning the user information corresponding to the information viewing request in the second storage area to the client comprises:
and returning the latest version of user information to the client when the user information of multiple versions exists in the second storage area.
8. A user information processing apparatus, applied to a server, the apparatus comprising:
the data receiving module is configured to execute receiving of an information viewing request sent by a client;
a type determination module configured to perform determining a target type of the information viewing request;
the address determination module is configured to execute determining a target storage address corresponding to the information viewing request based on a preset corresponding relation between the type and the storage address; wherein the memory address comprises: the storage address before the information modification and the storage address after the information modification;
a data sending module configured to perform obtaining user information based on the target storage address and returning the user information to the client.
9. An electronic device, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the executable instructions to implement the user information processing method of any one of claims 1 to 7.
10. A storage medium in which instructions are executed by a processor of an electronic device, so that the electronic device can perform the user information processing method according to any one of claims 1 to 7.
CN201910955226.XA 2019-10-09 2019-10-09 User information processing method, device, electronic equipment and storage medium Active CN110764847B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910955226.XA CN110764847B (en) 2019-10-09 2019-10-09 User information processing method, device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910955226.XA CN110764847B (en) 2019-10-09 2019-10-09 User information processing method, device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110764847A true CN110764847A (en) 2020-02-07
CN110764847B CN110764847B (en) 2023-06-27

Family

ID=69330998

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910955226.XA Active CN110764847B (en) 2019-10-09 2019-10-09 User information processing method, device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110764847B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112182027A (en) * 2020-09-11 2021-01-05 北京达佳互联信息技术有限公司 Information query method and device, electronic equipment and storage medium
CN113285912A (en) * 2020-12-28 2021-08-20 常熟昊虞电子信息科技有限公司 Security management method and device for monitoring content and cloud server

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100325556A1 (en) * 2009-06-19 2010-12-23 Telefonaktiebolaget Lm Ericsson (Publ) Method and device for modifying a personal data repository in a network
CN102970284A (en) * 2012-11-05 2013-03-13 北京奇虎科技有限公司 User information processing method and server
CN103701844A (en) * 2012-11-05 2014-04-02 北京奇虎科技有限公司 User information management method and system
CN107888761A (en) * 2017-10-20 2018-04-06 广东欧珀移动通信有限公司 User name amending method, device, mobile terminal and readable storage medium storing program for executing
CN108319864A (en) * 2018-01-17 2018-07-24 链家网(北京)科技有限公司 A kind of information inspection control method and device
CN109753621A (en) * 2019-01-04 2019-05-14 北京字节跳动网络技术有限公司 User information processing method, device, electronic equipment and readable storage medium storing program for executing

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100325556A1 (en) * 2009-06-19 2010-12-23 Telefonaktiebolaget Lm Ericsson (Publ) Method and device for modifying a personal data repository in a network
CN102970284A (en) * 2012-11-05 2013-03-13 北京奇虎科技有限公司 User information processing method and server
CN103701844A (en) * 2012-11-05 2014-04-02 北京奇虎科技有限公司 User information management method and system
CN107888761A (en) * 2017-10-20 2018-04-06 广东欧珀移动通信有限公司 User name amending method, device, mobile terminal and readable storage medium storing program for executing
CN108319864A (en) * 2018-01-17 2018-07-24 链家网(北京)科技有限公司 A kind of information inspection control method and device
CN109753621A (en) * 2019-01-04 2019-05-14 北京字节跳动网络技术有限公司 User information processing method, device, electronic equipment and readable storage medium storing program for executing

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112182027A (en) * 2020-09-11 2021-01-05 北京达佳互联信息技术有限公司 Information query method and device, electronic equipment and storage medium
CN112182027B (en) * 2020-09-11 2024-03-01 北京达佳互联信息技术有限公司 Information query method, device, electronic equipment and storage medium
CN113285912A (en) * 2020-12-28 2021-08-20 常熟昊虞电子信息科技有限公司 Security management method and device for monitoring content and cloud server

Also Published As

Publication number Publication date
CN110764847B (en) 2023-06-27

Similar Documents

Publication Publication Date Title
US20170171321A1 (en) Methods and devices for managing accounts
CN109388625B (en) Method and device for processing configuration file in multi-distributed file system
CN107147815B (en) Call processing method and device based on taxi taking
CN112291631A (en) Information acquisition method, device, terminal and storage medium
CN107395624B (en) Information processing method and device
CN110764847B (en) User information processing method, device, electronic equipment and storage medium
CN108984098B (en) Information display control method and device based on social software
CN110852163A (en) Binding method and device
CN106506808B (en) Method and device for prompting communication message
CN106878654B (en) Video communication method and device
CN110690979B (en) Group message processing method, device, server, client and storage medium
CN110913276B (en) Data processing method, device, server, terminal and storage medium
CN109245992B (en) Request processing method and device, electronic equipment and storage medium
CN107885464B (en) Data storage method, device and computer readable storage medium
CN110908814A (en) Message processing method and device, electronic equipment and storage medium
CN106658412B (en) Positioning method and device
CN106354532B (en) Application account information processing method and device
CN112651012B (en) Information processing method and device
CN112351131B (en) Control method and device of electronic equipment, electronic equipment and storage medium
CN105607958B (en) Information input method and device
CN114567790A (en) Information display method and device, electronic equipment and storage medium
CN109246322B (en) Information processing method and system
CN113420205A (en) Method and device for determining sharing source account, terminal equipment and server
CN112819061A (en) Password information identification method, device, equipment and storage medium
CN107257384B (en) Service state monitoring method and device

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