CN113242291A - Data processing method, device, equipment and medium - Google Patents

Data processing method, device, equipment and medium Download PDF

Info

Publication number
CN113242291A
CN113242291A CN202110495399.5A CN202110495399A CN113242291A CN 113242291 A CN113242291 A CN 113242291A CN 202110495399 A CN202110495399 A CN 202110495399A CN 113242291 A CN113242291 A CN 113242291A
Authority
CN
China
Prior art keywords
user
operation message
message
target
synchronization
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.)
Pending
Application number
CN202110495399.5A
Other languages
Chinese (zh)
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 Zitiao Network Technology Co Ltd
Original Assignee
Beijing Zitiao Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Zitiao Network Technology Co Ltd filed Critical Beijing Zitiao Network Technology Co Ltd
Priority to CN202110495399.5A priority Critical patent/CN113242291A/en
Publication of CN113242291A publication Critical patent/CN113242291A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/146Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/214Monitoring or handling of messages using selective forwarding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services

Abstract

The disclosed embodiments relate to a data processing method, apparatus, device and medium, wherein the method comprises: receiving a target operation message of a first user acting on a target resource; determining a synchronous object corresponding to the target operation message, wherein the synchronous object comprises a second user and/or a second user group; and sending the target operation message to the synchronous object. By adopting the technical scheme, the server can send the operation message of one user acting on the target resource to another user or a user group in real time, the synchronous objects are more diverse and have pertinence, the synchronous granularity is finer, the problem of synchronous delay or missing of the operation message between users or between users and groups is solved, and the real-time performance and the accuracy of message synchronization are ensured.

Description

Data processing method, device, equipment and medium
Technical Field
The present disclosure relates to the field of terminal technologies, and in particular, to a data processing method, apparatus, device, and medium.
Background
With the development of internet technology, there is a need for synchronizing operation information among a plurality of users in related internet products.
At present, a mode for realizing operation information synchronization is generally that a certain user actively sends, but the synchronization object of the mode is single and has hysteresis, and the requirement of real-time property cannot be met.
Disclosure of Invention
To solve the technical problem or at least partially solve the technical problem, the present disclosure provides a data processing method, apparatus, device and medium.
The embodiment of the disclosure provides a data processing method, which comprises the following steps:
receiving a target operation message of a first user acting on a target resource;
determining a synchronization object corresponding to the target operation message, wherein the synchronization object comprises a second user and/or a second user group;
and sending the target operation message to the synchronous object.
An embodiment of the present disclosure further provides a data processing apparatus, where the apparatus includes:
the message receiving module is used for receiving a target operation message of a first user acting on a target resource;
a synchronous object module, configured to determine a synchronous object corresponding to the target operation message, where the synchronous object includes a second user and/or a second user group;
and the message sending module is used for sending the target operation message to the synchronous object.
An embodiment of the present disclosure further provides an electronic device, which includes: a processor; a memory for storing the processor-executable instructions; the processor is used for reading the executable instructions from the memory and executing the instructions to realize the data processing method provided by the embodiment of the disclosure.
The embodiment of the disclosure also provides a computer readable storage medium, which stores a computer program for executing the data processing method provided by the embodiment of the disclosure.
Compared with the prior art, the technical scheme provided by the embodiment of the disclosure has the following advantages: the data processing scheme provided by the embodiment of the disclosure receives a target operation message of a first user acting on a target resource; determining a synchronous object corresponding to the target operation message, wherein the synchronous object comprises a second user and/or a second user group; and sending the target operation message to the synchronous object. By adopting the technical scheme, the server can send the operation message of one user acting on the target resource to another user or a user group in real time, the synchronous objects are more diverse and have pertinence, the synchronous granularity is finer, the problem of synchronous delay or missing of the operation message between users or between users and groups is solved, and the real-time performance and the accuracy of message synchronization are ensured.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and features are not necessarily drawn to scale.
Fig. 1 is a schematic flow chart of a data processing method according to an embodiment of the present disclosure;
fig. 2 is a schematic flow chart of another data processing method provided in the embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order, and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
Currently, the mode for realizing operation synchronization is generally that a certain user actively synchronizes. For example, in the securities investment industry, with the continuous development of society, the living standard of people is greatly improved, and more people participate in investment, especially securities investment. In the securities investment industry, there is a service called a securities investment advisor service, which refers to a service that provides investment advice to clients for a fee, by a securities company or related organization. In such services, an investment advisor may instruct a client on investment advice, such as how to select securities and when to purchase them, typically by way of live, telephone, video, network message, etc. However, at present, it is difficult to have a mode capable of synchronously giving operation or purchase suggestions of a teacher in real time, the teacher needs to actively send information to a client, the behavior has hysteresis, and a message is missed, so that the client cannot obtain guidance in time, and the optimal investment opportunity is easily missed.
In order to solve the above problems, the embodiments of the present disclosure provide a data processing method, and the method is introduced below with reference to specific embodiments.
Fig. 1 is a flowchart illustrating a data processing method according to an embodiment of the present disclosure, where the method may be executed by a data processing apparatus, where the apparatus may be implemented by software and/or hardware, and may be generally integrated in an electronic device. As shown in fig. 1, the method includes:
step 101, receiving a target operation message of a first user acting on a target resource.
The target resource may be any resource that can be used for trading, and is not limited, for example, the target resource may be securities, funds, stocks, bonds, futures, foreign exchange, electronic money, and the like, and the target resource may also be virtual money. The target operation message may be a message in which the client records the operation of the first user. In the embodiment of the present disclosure, the operation corresponding to the target operation message may include a transaction operation acting on the target resource, for example, the transaction operation may be a transaction operation of the first user regarding, buying, selling, and the like of a stock, and is not limited in particular.
In the embodiment of the present disclosure, when a first user performs a specific operation on a target resource at a client where the first user is located, the client where the first user is located may send a target operation message to a server, and the server receives the target operation message, where the target operation message may include information such as user information of the first user, resource information of the target resource, and operation record information of the target resource.
And 102, determining a synchronous object corresponding to the target operation message, wherein the synchronous object comprises a second user and/or a second user group.
The synchronization object refers to a user and/or a user group that needs to synchronize with respect to the target operation message, that is, the synchronization object may include a second user and/or a second user group, where the user group refers to a group formed by multiple users, and the second user group may include the second user or may not include the second user, which is not limited specifically. The number of the second users and the number of the second user groups are one or more, that is, the synchronization object may be one second user, a plurality of second users, one second user group and/or a plurality of second user groups.
In this embodiment of the present disclosure, before performing step 101, the data processing method may further include: receiving the synchronization information of the first user, and storing the synchronization information by associating with the user identifier of the first user, wherein the synchronization information comprises the resource identifier of the target resource and the object identifier of the synchronization object, and the object identifier of the synchronization object comprises the user identifier of the second user and/or the group identifier of the second user group.
The synchronization information of the first user may be determined based on a selection of the first user and/or the second user. The synchronization information may be operation related information and synchronization object information that needs to be synchronized for the first user, and the synchronization information may include a resource identifier of the target resource and an object identifier of the synchronization object, and since the synchronization object may include the second user and/or the second user group, the object identifier of the synchronization object may include a user identifier of the second user and/or a group identifier of the second user group.
Specifically, the server may receive the synchronization information of the first user sent by the client where the first user is located, or may receive the synchronization information of the first user sent by the client where the second user is located, and store the synchronization information in association with the user identifier of the first user, where the synchronization information is used when the synchronization is performed subsequently.
For example, assuming that the first user is a client-side teacher 1, the second user is a specific user a, the second user group is a specific group B, the target resource is a specific stock X, the client-side teacher 1 can select information of the specific stock X, the specific user a and the specific group B at a client side thereof, the client side can send the information selected by the client-side teacher 1 to the server, and the server can associate and store the information of the specific stock X, the specific user a and the specific group B with the client-side teacher 1 after receiving the information; the specific user B may select the client-side of the client-.
In this embodiment of the present disclosure, determining a synchronization object corresponding to the target operation message may include: and determining a synchronous object corresponding to the target operation message according to the user identifier of the first user, the resource identifier of the target resource and the synchronous information. Because the server stores the synchronization information, after receiving the target operation message of the first user acting on the target resource, the server can search in the synchronization information according to the user identifier of the first user and the resource representation of the target resource to determine the corresponding synchronization object. The user identifier, the group identifier, and the resource identifier may be represented in a preset manner, which is not limited, for example, the user identifier, the group identifier, and the resource identifier may be represented by using english letters and/or numbers.
And step 103, sending the target operation message to the synchronous object.
In this embodiment of the present disclosure, sending the target operation message to the synchronization object may include: and after analyzing and converting the format of the target operation message, sending the target operation message to a synchronous object. The target operation message is a message sent by a client where the first user is located, the target operation message is edited in a format of the client, and after receiving the target operation message, the server can firstly analyze the target operation message, analyze operation record information of the target resource in the target operation message, convert the operation record information of the target resource into a message readable by the user, and then send the message to the second user and/or the second user group, so that the second user and/or the second user group can know the operation of the first user on the target resource in real time.
Exemplarily, assuming that the first user is a submitting teacher 1, the second user is a specific user a, the second user group is a specific group B, the target resource is a specific stock X, the synchronization object includes a second user a and a second user group g, the submitting teacher 1 operates the stock X, the hanging bill is selected to purchase the stock X300 at 1700-tuple price, the client where the submitting teacher 1 is located formats the user identifier of the submitting teacher 1 and the operation of the submitting teacher 1, that is, the command that the hanging bill is purchased at 1700-tuple price into JSON data, the operation is expressed as "operation: buy", and the stock code is expressed as: stock _ code:123 (stock X), the purchase price is expressed as: price 1700, the bid amount is expressed as: 300, respectively; after receiving the JSON data sent by the client, the server can analyze, through JSON according to the previously described format, that a giving teacher 1 operates a stock X, purchase the stock X300 at a price of 1700 m, and then convert the analyzed information into a message acceptable to the user, where the format of the message may be: time + operations + stock information, such as 2020-9-109: 40, buying stock X300 hands per stock price 1700 dollars, then the converted message may be sent to second user a and second group of users g, completing the operations synchronization.
The data processing scheme provided by the embodiment of the disclosure receives a target operation message of a first user acting on a target resource; determining a synchronous object corresponding to the target operation message, wherein the synchronous object comprises a second user and/or a second user group; and sending the target operation message to the synchronous object. By adopting the technical scheme, the server can send the operation message of one user acting on the target resource to another user or a user group in real time, the synchronous objects are more diverse and have pertinence, the synchronous granularity is finer, the problem of synchronous delay or missing of the operation message between users or between users and groups is solved, and the real-time performance and the accuracy of message synchronization are ensured.
Fig. 2 is a schematic flow chart of another data processing method provided in the embodiment of the present disclosure, and the embodiment further optimizes the data processing method on the basis of the above embodiment. As shown in fig. 2, the method includes:
step 201, receiving the synchronization information of the first user, and storing the synchronization information in association with the user identifier of the first user.
The synchronization information includes a resource identifier of the target resource and an object identifier of the synchronization object, and the object identifier of the synchronization object includes a user identifier of the second user and/or a group identifier of the second user group. Optionally, the synchronization information of the first user is determined based on a selection of the first user and/or the second user.
Step 202, receiving a target operation message of the first user acting on the target resource.
And the operation corresponding to the target operation message comprises a transaction operation acting on the target resource.
Step 203, determining a synchronization object corresponding to the target operation message according to the user identifier of the first user, the resource identifier of the target resource, and the synchronization information.
Wherein, the synchronous object comprises a second user and/or a second user group; the number of the second users and the number of the second user groups are one or more.
And step 204, after analyzing and converting the format of the target operation message, sending the target operation message to a synchronous object.
The data processing method in the embodiment of the present disclosure is further explained by a specific example. Taking the securities investment industry as an example, the target resource is the stock, and the stock operation synchronization between the giving-looking teacher and the user is realized, and the specific process can comprise the following steps: 1. initially, a cast-and-visit teacher can select the operation of synchronizing specific stocks to specific users and specific groups; the user may also choose to synchronize the operation of a particular stock by the patron teacher. In this step, the client and the server may identify stocks using stock codes, identify users using user identifications (uid), and identify groups using group identifications (grouped). The client side can send the stock code, the user identifier and the group identifier to the server in a JSON data format, wherein the stock code can be expressed as 'stocks: xx, yy, zz' and split the stock code by English commas, for example, if a patron and a teacher appoints the stock X as a stock needing synchronization, the stock code is expressed as stocks: 123; the user is expressed as "uid: aa, bb, cc", segmented with english comma; groups are denoted as "group: g1, g2, g 3", split by english comma. After receiving the message sent by the client of the attending teacher or the client of the user, the server may associate the message with the uid of the current attending teacher, for example, a key-value pair of the uid of the current attending teacher and JSON format data is established in the data table, so as to represent a relationship between the attending teacher and corresponding data.
2. The server will record, parse and format convert messages for any operation on a particular stock by the commissioning teacher. The following description will be given by taking an example that a casting teacher operates a stock X, the casting teacher operates the stock X, selects a hang ticket to purchase the stock X300 at 1700-yuan price, and a client of the casting teacher formats a user identifier of the casting teacher and the operation of the casting teacher, that is, a command that the hang ticket is purchased at 1700-yuan price is formatted into JSON data, the purchase operation is expressed as "operation: buy", and a stock code of the stock X is expressed as: stock _ code:123, the purchase price is expressed as: price 1700, the bid amount is expressed as: 300, respectively; after receiving the JSON data sent by the client, the server can analyze, through JSON according to the previously described format, that a giving teacher 1 operates a stock X, purchase the stock X300 at a price of 1700 m, and then convert the analyzed information into a message acceptable to the user, where the format of the message may be: time + operations + stock information, such as 2020-9-109: 40, buys stock ticket X300 hands at a price of 1700 dollars per stock.
3. The server synchronizes the operations of the attending teacher to specific users and specific groups in the form of message push. Since the server stores the operation information of the client teacher, which is specified by the client teacher and needs to synchronize the stock X, to the specific user "uid: aa, bb, cc" and the specific user group "group: g1, g2, g 3", the message converted from the format in the previous step may be sent to the specific user "uid: aa, bb, cc" and the specific user group "group: g1, g2, g 3", and the specific user group may receive the transaction operation message of the client teacher for the stock X forwarded by the server, such as "2020-9-109: 40" described above, for buying the stock X300 hands and 1700 prices per stock.
Taking the securities investment industry as an example, the target resource is a stock, and the customer-giving teacher may start the operation of the specified stock in real time and synchronously for the specified individual or group, or the user may actively select to start the operation of the specified customer-giving teacher for the specified stock, such as: after a customer-giving teacher operates on specified stocks, the server can synchronize the operation of the customer-giving teacher to specified users and groups in real time, and specified individuals or group members can receive the operation information of the customer-giving teacher in real time, so that the accurate and real-time transmission of investment suggestions is effectively ensured, and the problem that the investment suggestions cannot be effectively transmitted to the customers due to the fact that the customer-giving teacher needs to actively transmit messages or due to the fact that messages are missed is solved.
It is understood that the target resource is stocks only for example, the target resource may also be bonds, futures, foreign exchange, electronic money, etc., and the operations may also be synchronized in the above manner. Or the target resource may also be a virtual resource, for example, taking a game scene as an example, the target resource may be a game character or game currency, and the operation information of the user on the game character or the game currency may be synchronized in the above-mentioned synchronization manner. Therefore, the data processing method in the embodiment of the present disclosure is applicable to any scene that needs to perform operation information synchronization, and is not limited specifically.
The data processing scheme provided by the embodiment of the disclosure receives the synchronous information of the first user, and stores the synchronous information by associating the user identification of the first user; receiving a target operation message of a first user acting on a target resource; determining a synchronous object corresponding to the target operation message according to the user identifier of the first user, the resource identifier of the target resource and the synchronous information; and after analyzing and converting the format of the target operation message, sending the target operation message to a synchronous object. By adopting the technical scheme, the server can send the operation message of one user acting on the target resource to another user or a user group in real time, the synchronous objects are more diverse and have pertinence, the synchronous granularity is finer, the problem of synchronous delay or missing of the operation message between users or between users and groups is solved, and the real-time performance and the accuracy of message synchronization are ensured.
Fig. 3 is a schematic structural diagram of a data processing apparatus provided in an embodiment of the present disclosure, where the apparatus may be implemented by software and/or hardware, and may be generally integrated in an electronic device. As shown in fig. 3, the apparatus includes:
a message receiving module 301, configured to receive a target operation message that a first user acts on a target resource;
a synchronous object module 302, configured to determine a synchronous object corresponding to the target operation message, where the synchronous object includes a second user and/or a second user group;
a message sending module 303, configured to send the target operation message to the synchronization object.
Optionally, the apparatus further includes a synchronization information storage module, configured to: prior to receiving a target operation message of a first user on a target resource,
receiving synchronization information of the first user, and storing the synchronization information in association with a user identifier of the first user, wherein the synchronization information includes a resource identifier of the target resource and an object identifier of the synchronization object, and the object identifier of the synchronization object includes a user identifier of the second user and/or a group identifier of the second user group.
Optionally, the synchronization information of the first user is determined based on a selection of the first user and/or the second user.
Optionally, the synchronization object module 302 is specifically configured to:
and determining a synchronization object corresponding to the target operation message according to the user identifier of the first user, the resource identifier of the target resource and the synchronization information.
Optionally, the message sending module 303 is specifically configured to:
and after the target operation message is analyzed and subjected to format conversion, sending the target operation message to the synchronous object.
Optionally, the operation corresponding to the target operation message includes a transaction operation acting on the target resource.
Optionally, the number of the second users and the number of the second user groups are one or more.
The data processing device provided by the embodiment of the disclosure can execute the data processing method provided by any embodiment of the disclosure, and has corresponding functional modules and beneficial effects of the execution method.
Embodiments of the present disclosure also provide a computer program product, which includes a computer program/instruction, and when the computer program/instruction is executed by a processor, the computer program/instruction implements the data processing method provided in any embodiment of the present disclosure.
Fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure. Referring now specifically to fig. 4, a schematic diagram of an electronic device 400 suitable for use in implementing embodiments of the present disclosure is shown. The electronic device 400 in the embodiments of the present disclosure may include, but is not limited to, mobile terminals such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle-mounted terminal (e.g., a car navigation terminal), and the like, and fixed terminals such as a digital TV, a desktop computer, and the like. The electronic device shown in fig. 4 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 4, electronic device 400 may include a processing device (e.g., central processing unit, graphics processor, etc.) 401 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)402 or a program loaded from a storage device 408 into a Random Access Memory (RAM) 403. In the RAM 403, various programs and data necessary for the operation of the electronic apparatus 400 are also stored. The processing device 401, the ROM 402, and the RAM 403 are connected to each other via a bus 404. An input/output (I/O) interface 405 is also connected to bus 404.
Generally, the following devices may be connected to the I/O interface 405: input devices 406 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 407 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 408 including, for example, tape, hard disk, etc.; and a communication device 409. The communication means 409 may allow the electronic device 400 to communicate wirelessly or by wire with other devices to exchange data. While fig. 4 illustrates an electronic device 400 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication device 409, or from the storage device 408, or from the ROM 402. The computer program performs the above-described functions defined in the data processing method of the embodiment of the present disclosure when executed by the processing device 401.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: receiving a target operation message of a first user acting on a target resource; determining a synchronization object corresponding to the target operation message, wherein the synchronization object comprises a second user and/or a second user group; and sending the target operation message to the synchronous object.
Computer program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including but not limited to an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. Where the name of an element does not in some cases constitute a limitation on the element itself.
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
According to one or more embodiments of the present disclosure, there is provided a data processing method including:
receiving a target operation message of a first user acting on a target resource;
determining a synchronization object corresponding to the target operation message, wherein the synchronization object comprises a second user and/or a second user group;
and sending the target operation message to the synchronous object.
According to one or more embodiments of the present disclosure, before receiving a target operation message of a first user on a target resource, the data processing method further includes:
receiving synchronization information of the first user, and storing the synchronization information in association with a user identifier of the first user, wherein the synchronization information includes a resource identifier of the target resource and an object identifier of the synchronization object, and the object identifier of the synchronization object includes a user identifier of the second user and/or a group identifier of the second user group.
According to one or more embodiments of the present disclosure, in the data processing method provided by the present disclosure, the synchronization information of the first user is determined based on a selection of the first user and/or the second user.
According to one or more embodiments of the present disclosure, in a data processing method provided by the present disclosure, determining a synchronization object corresponding to the target operation message includes:
and determining a synchronization object corresponding to the target operation message according to the user identifier of the first user, the resource identifier of the target resource and the synchronization information.
According to one or more embodiments of the present disclosure, in a data processing method provided by the present disclosure, sending the target operation message to the synchronization object includes:
and after the target operation message is analyzed and subjected to format conversion, sending the target operation message to the synchronous object.
According to one or more embodiments of the present disclosure, in the data processing method provided by the present disclosure, the operation corresponding to the target operation message includes a transaction operation acting on the target resource.
According to one or more embodiments of the present disclosure, in the data processing method provided by the present disclosure, the number of the second user and the number of the second user group are one or more.
According to one or more embodiments of the present disclosure, there is provided a data processing apparatus including:
the message receiving module is used for receiving a target operation message of a first user acting on a target resource;
a synchronous object module, configured to determine a synchronous object corresponding to the target operation message, where the synchronous object includes a second user and/or a second user group;
and the message sending module is used for sending the target operation message to the synchronous object.
According to one or more embodiments of the present disclosure, in the data processing apparatus provided by the present disclosure, the apparatus further includes a synchronization information storage module configured to: prior to receiving a target operation message of a first user on a target resource,
receiving synchronization information of the first user, and storing the synchronization information in association with a user identifier of the first user, wherein the synchronization information includes a resource identifier of the target resource and an object identifier of the synchronization object, and the object identifier of the synchronization object includes a user identifier of the second user and/or a group identifier of the second user group.
According to one or more embodiments of the present disclosure, the present disclosure provides a data processing apparatus in which synchronization information of the first user is determined based on a selection of the first user and/or the second user.
According to one or more embodiments of the present disclosure, in the data processing apparatus provided by the present disclosure, the synchronization object module is specifically configured to:
and determining a synchronization object corresponding to the target operation message according to the user identifier of the first user, the resource identifier of the target resource and the synchronization information.
According to one or more embodiments of the present disclosure, in the data processing apparatus provided in the present disclosure, the message sending module is specifically configured to:
and after the target operation message is analyzed and subjected to format conversion, sending the target operation message to the synchronous object.
According to one or more embodiments of the present disclosure, in the data processing apparatus provided by the present disclosure, the operation corresponding to the target operation message includes a transaction operation acting on the target resource.
According to one or more embodiments of the present disclosure, the data processing apparatus provided by the present disclosure includes one or more second users and one or more second user groups.
In accordance with one or more embodiments of the present disclosure, there is provided an electronic device including:
a processor;
a memory for storing the processor-executable instructions;
the processor is used for reading the executable instructions from the memory and executing the instructions to realize the data processing method provided by the present disclosure.
According to one or more embodiments of the present disclosure, there is provided a computer-readable storage medium storing a computer program for executing any of the data processing methods provided by the present disclosure.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.
Further, while operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.

Claims (10)

1. A data processing method, comprising:
receiving a target operation message of a first user acting on a target resource;
determining a synchronization object corresponding to the target operation message, wherein the synchronization object comprises a second user and/or a second user group;
and sending the target operation message to the synchronous object.
2. The method of claim 1, further comprising, prior to receiving the message of the target operation of the first user on the target resource:
receiving synchronization information of the first user, and storing the synchronization information in association with a user identifier of the first user, wherein the synchronization information includes a resource identifier of the target resource and an object identifier of the synchronization object, and the object identifier of the synchronization object includes a user identifier of the second user and/or a group identifier of the second user group.
3. The method of claim 2, wherein the synchronization information of the first user is determined based on a selection of the first user and/or the second user.
4. The method of claim 2, wherein determining the synchronization object corresponding to the target operation message comprises:
and determining a synchronization object corresponding to the target operation message according to the user identifier of the first user, the resource identifier of the target resource and the synchronization information.
5. The method of claim 1, wherein sending the targeted operation message to the synchronization object comprises:
and after the target operation message is analyzed and subjected to format conversion, sending the target operation message to the synchronous object.
6. The method of claim 1, wherein the operation corresponding to the target operation message comprises a transaction operation on the target resource.
7. The method of claim 1, wherein the number of the second users and the second group of users is one or more.
8. A data processing apparatus, comprising:
the message receiving module is used for receiving a target operation message of a first user acting on a target resource;
a synchronous object module, configured to determine a synchronous object corresponding to the target operation message, where the synchronous object includes a second user and/or a second user group;
and the message sending module is used for sending the target operation message to the synchronous object.
9. An electronic device, characterized in that the electronic device comprises:
a processor;
a memory for storing the processor-executable instructions;
the processor is used for reading the executable instructions from the memory and executing the instructions to realize the data processing method of any one of the claims 1 to 7.
10. A computer-readable storage medium, characterized in that the storage medium stores a computer program for executing the data processing method of any of the above claims 1-7.
CN202110495399.5A 2021-05-07 2021-05-07 Data processing method, device, equipment and medium Pending CN113242291A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110495399.5A CN113242291A (en) 2021-05-07 2021-05-07 Data processing method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110495399.5A CN113242291A (en) 2021-05-07 2021-05-07 Data processing method, device, equipment and medium

Publications (1)

Publication Number Publication Date
CN113242291A true CN113242291A (en) 2021-08-10

Family

ID=77132507

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110495399.5A Pending CN113242291A (en) 2021-05-07 2021-05-07 Data processing method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN113242291A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114584822A (en) * 2022-03-03 2022-06-03 北京字跳网络技术有限公司 Synchronous playing method, device, terminal equipment and storage medium
WO2023001278A1 (en) * 2021-07-23 2023-01-26 北京字跳网络技术有限公司 Information processing method and apparatus, terminal, and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100332412A1 (en) * 2009-06-30 2010-12-30 Aji Inc. D/B/A Zoodak Method and system for virtual stock trading on networks
CN104104724A (en) * 2014-07-23 2014-10-15 深圳市富途网络科技有限公司 Method for pushing operating mode of client side and communication system
CN111901341A (en) * 2020-07-28 2020-11-06 北京字节跳动网络技术有限公司 State synchronization method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100332412A1 (en) * 2009-06-30 2010-12-30 Aji Inc. D/B/A Zoodak Method and system for virtual stock trading on networks
CN104104724A (en) * 2014-07-23 2014-10-15 深圳市富途网络科技有限公司 Method for pushing operating mode of client side and communication system
CN111901341A (en) * 2020-07-28 2020-11-06 北京字节跳动网络技术有限公司 State synchronization method and device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023001278A1 (en) * 2021-07-23 2023-01-26 北京字跳网络技术有限公司 Information processing method and apparatus, terminal, and storage medium
CN114584822A (en) * 2022-03-03 2022-06-03 北京字跳网络技术有限公司 Synchronous playing method, device, terminal equipment and storage medium
CN114584822B (en) * 2022-03-03 2023-09-15 北京字跳网络技术有限公司 Synchronous playing method and device, terminal equipment and storage medium

Similar Documents

Publication Publication Date Title
CN110213614B (en) Method and device for extracting key frame from video file
CN110781373B (en) List updating method and device, readable medium and electronic equipment
CN111459364B (en) Icon updating method and device and electronic equipment
CN113242291A (en) Data processing method, device, equipment and medium
CN111966950B (en) Log sending method and device, electronic equipment and computer readable medium
CN111596991A (en) Interactive operation execution method and device and electronic equipment
CN111597486A (en) Information processing method and device and electronic equipment
CN113722491A (en) Method and device for determining text plot type, readable medium and electronic equipment
CN112148744A (en) Page display method and device, electronic equipment and computer readable medium
CN112256221A (en) Information display method and device and electronic equipment
CN111756953A (en) Video processing method, device, equipment and computer readable medium
CN111311358A (en) Information processing method and device and electronic equipment
CN111626802A (en) Method and apparatus for processing information
CN112446768B (en) Item information recommendation method and device, electronic equipment and computer readable medium
CN112004116B (en) Method, device, electronic equipment and medium for determining object adding mode
CN111062709B (en) Resource transfer mode recommendation method and device, electronic equipment and storage medium
CN113486749A (en) Image data collection method, device, electronic equipment and computer readable medium
CN112035256A (en) Resource allocation method, device, electronic equipment and medium
CN111652694B (en) Order processing method and device and electronic equipment
CN112346630B (en) State determination method, device, equipment and computer readable medium
CN112015997B (en) Page display method and device, electronic equipment and computer readable medium
CN112529672B (en) Article information pushing method and device, electronic equipment and computer readable medium
CN115063223A (en) Low-code credit reporting data assembling method, device, equipment and storage medium
CN113486982A (en) Model training method and device and electronic equipment
CN112200643A (en) Article information pushing method and device, electronic equipment and computer readable medium

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210810

RJ01 Rejection of invention patent application after publication