[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN109787888B - System and method for supporting multi-device message distribution and storage medium - Google Patents

System and method for supporting multi-device message distribution and storage medium Download PDF

Info

Publication number
CN109787888B
CN109787888B CN201910075410.5A CN201910075410A CN109787888B CN 109787888 B CN109787888 B CN 109787888B CN 201910075410 A CN201910075410 A CN 201910075410A CN 109787888 B CN109787888 B CN 109787888B
Authority
CN
China
Prior art keywords
message
receiving
user
sent
equipment
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.)
Active
Application number
CN201910075410.5A
Other languages
Chinese (zh)
Other versions
CN109787888A (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.)
Shanghai Chuangjing Information Technology Co ltd
Original Assignee
Shanghai Chuangjing 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 Shanghai Chuangjing Information Technology Co ltd filed Critical Shanghai Chuangjing Information Technology Co ltd
Priority to CN201910075410.5A priority Critical patent/CN109787888B/en
Publication of CN109787888A publication Critical patent/CN109787888A/en
Application granted granted Critical
Publication of CN109787888B publication Critical patent/CN109787888B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Information Transfer Between Computers (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention provides a system and a method for supporting multi-device message distribution and storage, which manage user information and a receiving device for receiving messages by a user; establishing a unique message number for the sent message, storing the sent message in a distributed mode, and sending the sent message to a state index module; the state index module receives the sent message, inquires a corresponding receiving user according to the sent message, inquires a corresponding receiving device according to the receiving user, and creates a message index for the receiving device according to the message attribution of the receiving user; and the message receiving control module receives a receiving application sent by the receiving equipment, sends the sent message to the receiving equipment according to the message index, and receives a receiving confirmation sent by the receiving equipment. The invention supports distributed storage of messages, establishes message receiving state indexes in a single distributed mode, supports multiple devices to receive instant messages, supports distributed storage of messages, reduces message storage space, dynamically adjusts distributed storage according to device receiving areas, and improves receiving efficiency.

Description

System and method for supporting multi-device message distribution and storage medium
Technical Field
The invention relates to the field of message distribution and communication, in particular to a system and a method for supporting multi-device message distribution and storage.
Background
Most of the existing small instant messaging systems do not support multi-device receiving, and even if the existing small instant messaging systems support multi-device receiving, storage of a plurality of messages is carried out according to the number of devices, and therefore storage amount is too much for group messages, and business logic is complex.
Patent document CN103546520A provides a message distribution method and device, wherein the method includes: after receiving the message to be distributed, matching the message codes of the message mapping nodes of the multilevel scheduling level layer by layer according to the message codes carried by the message to be distributed; and sending the message to be distributed according to the command action corresponding to the successfully matched message code. The problem that a message distribution mechanism flexibly processed by an equipment adaptation layer is not available in the related technology is solved, so that the diversity of message distribution is improved, and the operability and flexibility of message distribution are improved. However, the above patent documents are not suitable for a small instant message distribution mechanism, and a distributed storage method is not adopted, so that the message storage efficiency is not high.
Disclosure of Invention
In view of the defects in the prior art, the present invention aims to provide a storage system and method supporting multi-device message distribution and a storage medium.
The invention provides a storage system supporting multi-device message distribution, which comprises a device management module, a message storage module and a state index module;
a device management module: a receiving device for managing user information of a user and for the user to receive messages;
a message storage module: establishing a unique message number for the sent message, storing the sent message in a distributed mode, and sending the sent message to a state index module;
a state indexing module: receiving a sent message, creating a message index for the sent message, storing the message index, and sending the sent message to a receiving device according to the message index;
the state index module comprises a state index creating module and a message receiving control module;
a state index creation module: receiving an sent message, inquiring a corresponding receiving user according to the sent message, inquiring corresponding receiving equipment according to the receiving user, and creating a message index for the receiving equipment according to a message attribution of the receiving user;
a received message control module: receiving a receiving application sent by the receiving equipment, sending the sent message to the receiving equipment according to the message index, and receiving a receiving confirmation sent by the receiving equipment.
Preferably, the device management module comprises a user management module and a receiving device management module;
a user management module: managing user information of a user, wherein the user information comprises a user message attribution, the number of devices owned by the user and a message receiving and sending rule;
a receiving device management module: performing equipment registration on the newly added receiving equipment through a registration interface, wherein the equipment registration is an equipment attribution place needing to be registered, and the equipment attribution place is used for creating a message index; and logging off the receiving equipment through the logging-off interface.
Preferably, the received message control module: verifying the device-attribution of the receiving device and updating the device-attribution of the receiving device.
Preferably, the unique message number is used for message retrieval, and the message retrieval obtains the sent message according to the unique message number.
The method for supporting the distribution and storage of the multi-device messages comprises a device management step, a message storage step and a state index step;
a device management step: a receiving device for managing user information of a user and for the user to receive messages;
and a message storage step: establishing a unique message number for the sent message, storing the sent message in a distributed mode, and sending the sent message to a state index step;
and a state indexing step: receiving a sent message, creating a message index for the sent message, storing the message index, and sending the sent message to a receiving device according to the message index;
the state index step comprises a state index creating step and a message receiving control step;
a state index creating step: receiving an sent message, inquiring a corresponding receiving user according to the sent message, inquiring corresponding receiving equipment according to the receiving user, and creating a message index for the receiving equipment according to a message attribution of the receiving user;
a message receiving control step: receiving a receiving application sent by the receiving equipment, sending the sent message to the receiving equipment according to the message index, receiving a receiving confirmation sent by the receiving equipment, verifying the equipment attribution of the receiving equipment, and updating the equipment attribution of the receiving equipment.
Preferably, the device management step includes a user management step and a reception device management step;
user management step: managing user information of a user, wherein the user information comprises a user message attribution, the number of devices owned by the user and a message receiving and sending rule;
a receiving device management step: performing equipment registration on the newly added receiving equipment through a registration interface, wherein the equipment registration is an equipment attribution place needing to be registered, and the equipment attribution place is used for creating a message index; and logging off the receiving equipment through the logging-off interface.
Preferably, the received message controlling step: verifying the device-attribution of the receiving device and updating the device-attribution of the receiving device.
Preferably, the unique message number is used for message retrieval, and the message retrieval obtains the sent message according to the unique message number.
According to the present invention, a computer-readable storage medium is provided, in which a computer program is stored, which, when being executed by a processor, carries out the steps of the method as described above.
Compared with the prior art, the invention has the following beneficial effects:
1. the distributed storage of the messages is supported, the message receiving state index is independently established, the storage space is reduced, and the message receiving efficiency of the equipment is improved;
2. the method supports multiple devices to receive the instant message, dynamically adjusts the distributed storage according to the receiving place of the devices, and improves the receiving efficiency.
Drawings
Other features, objects and advantages of the invention will become more apparent upon reading of the detailed description of non-limiting embodiments with reference to the following drawings:
FIG. 1 is a schematic diagram of the system of the present invention;
fig. 2 is a message sending flow diagram of the present invention.
Detailed Description
The present invention will be described in detail with reference to specific examples. The following examples will assist those skilled in the art in further understanding the invention, but are not intended to limit the invention in any way. It should be noted that it would be obvious to those skilled in the art that various changes and modifications can be made without departing from the spirit of the invention. All falling within the scope of the present invention.
The invention provides a storage system supporting multi-device message distribution, which comprises a device management module, a message storage module and a state index module; a device management module: a receiving device for managing user information of a user and for the user to receive messages; a message storage module: establishing a unique message number for the sent message, storing the sent message in a distributed mode, and sending the sent message to a state index module; a state indexing module: the method comprises the steps of receiving a sent message, creating a message index for the sent message, storing the message index, and sending the sent message to a receiving device according to the message index.
Specifically, the state index module comprises a state index creation module and a message receiving control module; a state index creation module: receiving an sent message, inquiring a corresponding receiving user according to the sent message, inquiring corresponding receiving equipment according to the receiving user, and establishing a message index for the receiving equipment according to a message attribution of the receiving user; a received message control module: receiving a receiving application sent by the receiving equipment, sending the sent message to the receiving equipment according to the message index, and receiving a receiving confirmation sent by the receiving equipment.
Specifically, the device management module comprises a user management module and a receiving device management module; a user management module: managing user information of a user, wherein the user information mainly comprises a user message attribution, the number of devices owned by the user and a message receiving and sending rule; a receiving device management module: performing equipment registration on the newly added receiving equipment through a registration interface, wherein the equipment registration is an equipment attribution place needing to be registered, and the equipment attribution place is used for creating a message index; and logging off the receiving equipment through the logging-off interface.
Specifically, the received message control module: verifying the device-attribution of the receiving device and updating the device-attribution of the receiving device.
The method for supporting the distribution and storage of the multi-device messages comprises a device management step, a message storage step and a state index step; a device management step: a receiving device for managing user information of a user and for the user to receive messages; and a message storage step: establishing a unique message number for the sent message, storing the sent message in a distributed mode, and sending the sent message to a state index step; and a state indexing step: the method comprises the steps of receiving a sent message, creating a message index for the sent message, storing the message index, and sending the sent message to a receiving device according to the message index.
Specifically, the state index step includes a state index creation step and a message reception control step; a state index creating step: receiving an sent message, inquiring a corresponding receiving user according to the sent message, inquiring corresponding receiving equipment according to the receiving user, and establishing a message index for the receiving equipment according to a message attribution of the receiving user; a message receiving control step: receiving a receiving application sent by the receiving equipment, sending the sent message to the receiving equipment according to the message index, receiving a receiving confirmation sent by the receiving equipment, verifying the equipment attribution of the receiving equipment, and updating the equipment attribution of the receiving equipment.
Specifically, the device management module comprises a user management module and a receiving device management module; a user management module: managing user information of a user, wherein the user information mainly comprises a user message attribution, the number of devices owned by the user and a message receiving and sending rule; a receiving device management module: performing equipment registration on the newly added receiving equipment through a registration interface, wherein the equipment registration is an equipment attribution place needing to be registered, and the equipment attribution place is used for creating a message index; and logging off the receiving equipment through the logging-off interface.
Specifically, the received message control module: verifying the device-attribution of the receiving device and updating the device-attribution of the receiving device.
Specifically, the unique message number is used for message retrieval, and the message retrieval obtains the sent message according to the unique message number.
According to the present invention, there is provided a computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the steps of the above-described method.
The invention provides a storage system supporting multi-device message distribution, which comprises a device management module, a message storage module and a state index module; a device management module: a receiving device for managing user information of a user and for the user to receive messages; a message storage module: establishing a unique message number for the sent message, storing the sent message in a distributed mode, and sending the sent message to a state index module; preferably, the message storage module is used for distributed storage of the sent message, after the user sends the message, the message storage module establishes a unique message number according to the user attribution through sending verification, then performs distributed storage, simultaneously issues the message to the state index module to establish a user receiving index for receiving, and in addition, performs retrieval according to the unique message number when retrieving the message; a state indexing module: the method comprises the steps of receiving a sent message, creating a message index for the sent message, storing the message index, and sending the sent message to a receiving device according to the message index.
Specifically, the state index module comprises a state index creation module and a message receiving control module; a state index creation module: receiving an sent message, inquiring a corresponding receiving user according to the sent message, inquiring corresponding receiving equipment according to the receiving user, and establishing a message index for the receiving equipment according to a message attribution of the receiving user; a received message control module: receiving a receiving application sent by the receiving equipment, sending the sent message to the receiving equipment according to the message index, and receiving a receiving confirmation sent by the receiving equipment.
Specifically, the device management module comprises a user management module and a receiving device management module; a user management module: managing user information of a user, wherein the user information mainly comprises a user message attribution, the number of devices owned by the user and a message receiving and sending rule; a receiving device management module: performing equipment registration on the newly added receiving equipment through a registration interface, wherein the equipment registration is an equipment attribution place needing to be registered, and the equipment attribution place is used for creating a message index; and logging off the receiving equipment through the logging-off interface.
Specifically, the received message control module: verifying the device-attribution of the receiving device and updating the device-attribution of the receiving device.
Preferably, the state index creating module is a user which receives the new message sent by the message storage module according to needs after receiving the new message, then queries user receiving equipment, and respectively creates each equipment message index according to the user attribution, and the index only needs to contain equipment number, message number and receiving sequence number; the receiving control module sends messages to the equipment in batches according to the sequence of the receiving serial numbers after the user equipment sends a message receiving application, continues to send the next batch until the sending is completed after the equipment confirms the receiving, and is responsible for judging that the user equipment is transferred when the attribution of the equipment is found to be inconsistent with the attribution during the registration after the message receiving is completed, and at the moment, the attribution of the equipment is changed. Preferably, dynamically adjusting distributed storage according to device receiving place means that the device acquires the place where the device is connected with the server when receiving the message, and dynamically adjusts the device if the message is inconsistent with the previous receiving place, thereby improving the receiving efficiency of the device
The multi-device message distribution and storage supporting system provided by the invention can be realized by the step flow of the multi-device message distribution and storage supporting method. The method for supporting multi-device message distribution and storage can be understood as a preferred example of the multi-device message distribution and storage system by those skilled in the art.
As shown in fig. 2, after the user sends the message, the message sending authority is verified first, after verification, a message unique number is created for the sent message according to the user attribution, the sent message is stored in a distributed manner, and an index creation instruction is issued. The invention supports distributed storage of the message, establishes the message receiving state index in a single distributed mode, reduces the storage space and improves the message receiving efficiency of the equipment.
Those skilled in the art will appreciate that, in addition to implementing the systems, apparatus, and various modules thereof provided by the present invention in purely computer readable program code, the same procedures can be implemented entirely by logically programming method steps such that the systems, apparatus, and various modules thereof are provided in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers and the like. Therefore, the system, the device and the modules thereof provided by the present invention can be considered as a hardware component, and the modules included in the system, the device and the modules thereof for implementing various programs can also be considered as structures in the hardware component; modules for performing various functions may also be considered to be both software programs for performing the methods and structures within hardware components.
The foregoing description of specific embodiments of the present invention has been presented. It is to be understood that the present invention is not limited to the specific embodiments described above, and that various changes or modifications may be made by one skilled in the art within the scope of the appended claims without departing from the spirit of the invention. The embodiments and features of the embodiments of the present application may be combined with each other arbitrarily without conflict.

Claims (9)

1. A storage system supporting multi-device message distribution is characterized by comprising a device management module, a message storage module and a state index module;
a device management module: a receiving device for managing user information of a user and for the user to receive messages;
a message storage module: establishing a unique message number for the sent message, storing the sent message in a distributed mode, and sending the sent message to a state index module;
a state indexing module: receiving a sent message, creating a message index for the sent message, storing the message index, and sending the sent message to a receiving device according to the message index;
the state index module comprises a state index creating module and a message receiving control module;
a state index creation module: receiving an sent message, inquiring a corresponding receiving user according to the sent message, inquiring corresponding receiving equipment according to the receiving user, and creating a message index for the receiving equipment according to a message attribution of the receiving user;
a received message control module: receiving a receiving application sent by the receiving equipment, sending the sent message to the receiving equipment according to the message index, and receiving a receiving confirmation sent by the receiving equipment.
2. The multi-device message distribution supporting storage system according to claim 1, wherein the device management module includes a user management module and a receiving device management module;
a user management module: managing user information of a user, wherein the user information comprises a user message attribution, the number of devices owned by the user and a message receiving and sending rule;
a receiving device management module: performing equipment registration on the newly added receiving equipment through a registration interface, wherein the equipment registration is an equipment attribution place needing to be registered, and the equipment attribution place is used for creating a message index; and logging off the receiving equipment through the logging-off interface.
3. The multi-device message distribution enabled storage system of claim 2, wherein the received message control module: verifying the device-attribution of the receiving device and updating the device-attribution of the receiving device.
4. The system of claim 1, wherein the unique message number is used for message retrieval, and the message retrieval finds the sent message according to the unique message number.
5. A method for supporting multi-device message distribution and storage is characterized by comprising a device management step, a message storage step and a state index step;
a device management step: a receiving device for managing user information of a user and for the user to receive messages;
and a message storage step: establishing a unique message number for the sent message, storing the sent message in a distributed mode, and sending the sent message to a state index step;
and a state indexing step: receiving a sent message, creating a message index for the sent message, storing the message index, and sending the sent message to a receiving device according to the message index;
the state index step comprises a state index creating step and a message receiving control step;
a state index creating step: receiving an sent message, inquiring a corresponding receiving user according to the sent message, inquiring corresponding receiving equipment according to the receiving user, and creating a message index for the receiving equipment according to a message attribution of the receiving user;
a message receiving control step: receiving a receiving application sent by the receiving equipment, sending the sent message to the receiving equipment according to the message index, receiving a receiving confirmation sent by the receiving equipment, verifying the equipment attribution of the receiving equipment, and updating the equipment attribution of the receiving equipment.
6. The multi-device message distribution storage supporting method according to claim 5, wherein the device management step includes a user management step and a reception device management step;
user management step: managing user information of a user, wherein the user information comprises a user message attribution, the number of devices owned by the user and a message receiving and sending rule;
a receiving device management step: performing equipment registration on the newly added receiving equipment through a registration interface, wherein the equipment registration is an equipment attribution place needing to be registered, and the equipment attribution place is used for creating a message index; and logging off the receiving equipment through the logging-off interface.
7. The method of claim 6, wherein the received message control step comprises: verifying the device-attribution of the receiving device and updating the device-attribution of the receiving device.
8. The method for supporting multi-device message distribution and storage according to claim 5, wherein the message unique number is used for message retrieval, and the message retrieval is performed according to the message unique number to find out the sent message.
9. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method of any one of claims 5 to 8.
CN201910075410.5A 2019-01-25 2019-01-25 System and method for supporting multi-device message distribution and storage medium Active CN109787888B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910075410.5A CN109787888B (en) 2019-01-25 2019-01-25 System and method for supporting multi-device message distribution and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910075410.5A CN109787888B (en) 2019-01-25 2019-01-25 System and method for supporting multi-device message distribution and storage medium

Publications (2)

Publication Number Publication Date
CN109787888A CN109787888A (en) 2019-05-21
CN109787888B true CN109787888B (en) 2021-06-29

Family

ID=66502674

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910075410.5A Active CN109787888B (en) 2019-01-25 2019-01-25 System and method for supporting multi-device message distribution and storage medium

Country Status (1)

Country Link
CN (1) CN109787888B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112260935B (en) * 2020-10-19 2022-04-15 维沃移动通信有限公司 Message processing method and device, electronic equipment and readable storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1190316A (en) * 1996-10-31 1998-08-12 日本电气株式会社 Index managing method and apparatus of received messages for radio paging receiver
CN101262494A (en) * 2008-01-23 2008-09-10 华为技术有限公司 Method, client, server and system for processing distributed information
CN103297917A (en) * 2012-03-02 2013-09-11 华为终端有限公司 Information push method, device and system based on wireless local area network
KR101319299B1 (en) * 2011-11-01 2013-10-16 국방과학연구소 Device for handling korean variable message format message and method thereof
CN104572845A (en) * 2014-12-12 2015-04-29 百度在线网络技术(北京)有限公司 File distribution method and device, equipment and system
CN106160922A (en) * 2015-04-02 2016-11-23 中兴通讯股份有限公司 Data transmission method for uplink, coding/decoding method and device
CN107395487A (en) * 2017-05-27 2017-11-24 佛山语奥科技有限公司 Message updating method and system
CN108322496A (en) * 2017-01-17 2018-07-24 北京京东尚科信息技术有限公司 Image file distribution method and system, computer readable storage medium, electronic equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1190316A (en) * 1996-10-31 1998-08-12 日本电气株式会社 Index managing method and apparatus of received messages for radio paging receiver
CN101262494A (en) * 2008-01-23 2008-09-10 华为技术有限公司 Method, client, server and system for processing distributed information
KR101319299B1 (en) * 2011-11-01 2013-10-16 국방과학연구소 Device for handling korean variable message format message and method thereof
CN103297917A (en) * 2012-03-02 2013-09-11 华为终端有限公司 Information push method, device and system based on wireless local area network
CN104572845A (en) * 2014-12-12 2015-04-29 百度在线网络技术(北京)有限公司 File distribution method and device, equipment and system
CN106160922A (en) * 2015-04-02 2016-11-23 中兴通讯股份有限公司 Data transmission method for uplink, coding/decoding method and device
CN108322496A (en) * 2017-01-17 2018-07-24 北京京东尚科信息技术有限公司 Image file distribution method and system, computer readable storage medium, electronic equipment
CN107395487A (en) * 2017-05-27 2017-11-24 佛山语奥科技有限公司 Message updating method and system

Also Published As

Publication number Publication date
CN109787888A (en) 2019-05-21

Similar Documents

Publication Publication Date Title
CN101674314B (en) Information sharing method, data server and terminal
CN101179430B (en) Device and method of controlling distributed system software version updating
CN101741894A (en) Upgrade method for distributed system and upgrade scheduling node and system
CN110727738B (en) Global routing system based on data fragmentation, electronic equipment and storage medium
CN101854745B (en) Transmission method of software version and device thereof
CN101888653A (en) Firmware updating method, base station and network management center
CN111756852A (en) Intelligent method, device and system based on cellular communication of Internet of things equipment
CN109787888B (en) System and method for supporting multi-device message distribution and storage medium
CN102103613A (en) Distributed database upgrade method, upgrade processing device and upgrade control device
CN104219312A (en) Program installation method and program installation device
CN110417876B (en) Session method, node server in distributed system and master control equipment
CN101222679B (en) EV-DO system for updating terminal parameter through midair port and implementing method thereof
CN102843252A (en) Method and device for updating network element through network management
CN100417095C (en) Method and system for realizing network management and network element configuration operation
CN102143506A (en) Management processing method, management processing device and management processing system for wireless repeater
CN105224541A (en) The uniqueness control method of data, information storage means and device
CN118075256B (en) Internet of things ammeter upgrading method, system, terminal and storage medium
CN104079610A (en) Cloud server, and method and system for cloud synchronization of application software
CN102843247A (en) Method and system for concurrently processing network element message
CN102307201A (en) Method and device of offline registration
US7145885B1 (en) Method for delivering data resources
JPH04220747A (en) Document controlling method in data processing system
CN101969449B (en) Automatic filling system for mobile communication equipment terminal browser and application method thereof
CN100375427C (en) Cluster device batch file transmitting method and file transmission device
CN105100031A (en) Method, device and system for adding trusts in batches

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
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: Block 22301-985, Building 14, No. 498 Guo Shoujing Road, China (Shanghai) Pilot Free Trade Zone, Pudong New Area, Shanghai, March 2012

Patentee after: Shanghai Chuangjing Information Technology Co.,Ltd.

Country or region after: China

Address before: 200135 block 22301-985, building 14, No. 498, GuoShouJing Road, pilot Free Trade Zone, Pudong New Area, Shanghai

Patentee before: VISION MICROSYSTEMS (SHANGHAI) Co.,Ltd.

Country or region before: China