CN115473940B - Date data processing method, device and storage medium - Google Patents

Date data processing method, device and storage medium Download PDF

Info

Publication number
CN115473940B
CN115473940B CN202211409209.4A CN202211409209A CN115473940B CN 115473940 B CN115473940 B CN 115473940B CN 202211409209 A CN202211409209 A CN 202211409209A CN 115473940 B CN115473940 B CN 115473940B
Authority
CN
China
Prior art keywords
array
data
byte
date data
month
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
CN202211409209.4A
Other languages
Chinese (zh)
Other versions
CN115473940A (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.)
Guangdong Baolun Electronics Co ltd
Original Assignee
Guangdong Baolun Electronics 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 Guangdong Baolun Electronics Co ltd filed Critical Guangdong Baolun Electronics Co ltd
Priority to CN202211409209.4A priority Critical patent/CN115473940B/en
Publication of CN115473940A publication Critical patent/CN115473940A/en
Application granted granted Critical
Publication of CN115473940B publication Critical patent/CN115473940B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • 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/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]

Abstract

The invention discloses a method, a device and a storage medium for processing date data, wherein the method comprises the following steps: acquiring date data selected by a user, and arranging the date data into at least one first array according to months, wherein one first array comprises date data of one month, and the array name of the first array is the corresponding month; arranging each first array into a corresponding second array, wherein the second array is a 5-byte array; and sending the second array to a lower computer so that the lower computer converts the data of the second array according to the date data interaction type identified by the web front end, and then sending the converted data of the second array to the web front end for interactive identification and storage, thereby reducing the data length, unnecessary conversion and redundancy of codes, and improving the data processing speed and the data processing simplicity.

Description

Date data processing method, device and storage medium
Technical Field
The present invention relates to the field of computer applications, and in particular, to a method and apparatus for processing date data, and a storage medium.
Background
The user selects the date in a task date selection control in the web interface, and the lower computer interacts with the web front end to process the date data selected by the user. If the number of dates selected by a user is large, the date data size is large, when the lower computer interacts with the web front end, specific dates are required to be converted, the occupied data bytes are large, the data are complex, the memory operation processing of the singlechip is high in occupied ratio, and when the interaction time is long, the flash card is insufficient in reading and writing due to limited flash reading times, so that the service life of a project is shortened.
Disclosure of Invention
The invention provides a method, a device and a storage medium for processing date data, which are used for realizing the reduction of data length, unnecessary conversion and code redundancy and improving the data processing speed and the data processing simplicity.
In order to achieve the purpose of improving the data processing speed and the data processing simplicity, the embodiment of the invention provides a method for processing date data, which comprises the following steps: acquiring date data selected by a user, and arranging the date data into at least one first array according to months, wherein one first array comprises date data of one month, and the array name of the first array is the corresponding month;
arranging each first array into a corresponding second array, wherein the second array is a 5-byte array;
and sending the second array to a lower computer so that the lower computer converts the data of the second array according to the date data interaction type identified by the web front end, and then sending the converted data of the second array to the web front end for interaction identification and storage.
In the method for processing the date data, in the process of selecting the date at the front end of the web to the data interaction of the lower computer, the server sorts the date data of each month into a first array, and then converts each first array into a 5-byte array. Compared with the mode of converting each specific data of each month into 16-system data in the prior art, the invention uses a 5-byte array to represent the date data of one month, thereby greatly reducing the problem of large occupation of the date data, reducing the length of the data and improving the speed and the compactness of data processing.
The server sends all the 5-byte arrays to the lower computer, the lower computer converts the data of the 5-byte arrays, one month of date data can be converted by one conversion of the 5-byte arrays, the lower computer sends the converted data of the 5-byte arrays to the web front end for interactive identification and storage, the 5-byte array conversion and interactive mode reduces unnecessary conversion and redundancy of codes, improves the data processing speed and the simplifying degree, and improves the date data conversion efficiency of the lower computer and the interactive efficiency of the server and the lower computer.
As a preferred scheme, each first array is arranged into a corresponding second array, specifically:
generating a corresponding 4-byte array according to the date data of at least one first array;
the 32 bits of the 4-byte array sequentially represent the first day to the last day of the corresponding month from the first bit, the bits of the date data corresponding to the first array in the 4-byte array are 1, and the rest bits are 0;
generating a corresponding 5-byte array according to the 4-byte array and the array name of the corresponding first array, and taking the 5-byte array as a corresponding second array;
wherein, the first byte of the 5-byte array represents the array name of the first array, and the remaining four bytes represent the date data of the first array.
As a preferred scheme, in the data interaction process from the date of the web front end to the lower computer, the date data of each month of the server is arranged into a first array, and each first array is converted into a 5-byte array.
As a preferred scheme, the lower computer converts the data of the second array according to the date data interaction type identified by the web front end, specifically:
reading the first byte of each second array as output month data; and converting the last four bytes of each second array into binary data, and reading the footmark position with bit of 1 in the last four bytes as output date data corresponding to the output month data.
As a preferred scheme, the server sends all the 5-byte arrays to the lower computer, the lower computer converts the data of the 5-byte arrays, one 5-byte array can convert the date data of one month, wherein the first byte is the month data, and the last four bytes are the date data, and the 5-byte array conversion and interaction mode reduces unnecessary conversion and redundancy of codes, improves the data processing speed and the simplifying degree, and improves the date data conversion efficiency of the lower computer and the interaction efficiency of the server and the lower computer.
As a preferred scheme, the converted data of the second array is sent to the web front end for interactive identification and storage, specifically:
and arranging the output month data and the output date data corresponding to the output month data into a three-dimensional array, and transmitting the three-dimensional array to a web front-end page for rendering and displaying.
As a preferred scheme, the lower computer arranges the month data converted from all the 5-byte arrays and the date data corresponding to the months into a three-dimensional array, and then sends the three-dimensional array to the web front-end page for rendering and displaying, wherein the three-dimensional array contains the data of all the selected dates, and the conversion and interaction modes of the three-dimensional array reduce unnecessary conversion and redundancy of codes, improve the data processing speed and the data processing simplicity, and improve the data conversion efficiency of the lower computer and the interaction efficiency of the server and the lower computer.
Correspondingly, the invention also provides a device for processing date data, which comprises the following steps: the device comprises an acquisition module, a conversion module and an identification module;
the acquisition module is used for acquiring date data selected by a user, and arranging the date data into at least one first array according to months, wherein one first array comprises date data of one month, and the array name of the first array is the corresponding month;
the conversion module is used for arranging each first array into a corresponding second array, wherein the second array is a 5-byte array;
the identification module is used for sending the second array to a lower computer so that the lower computer converts the data of the second array according to the date data interaction type identified by the web front end, and then sends the converted data of the second array to the web front end for interactive identification and storage.
In the preferred scheme, in the data interaction process from the date of the front end of the web to the lower computer, the acquisition module sorts the date data of each month into a first array, and the conversion module converts each first array into a 5-byte array. Compared with the mode of converting each specific data of each month into 16-system data in the prior art, the invention uses a 5-byte array to represent the date data of one month, thereby greatly reducing the problem of large occupation of the date data, reducing the length of the data and improving the speed and the compactness of data processing.
The identification module sends all the 5-byte arrays to the lower computer, the lower computer converts the data of the 5-byte arrays, one month of date data can be converted by converting the 5-byte arrays, the lower computer sends the converted data of the 5-byte arrays to the web front end for interactive identification and storage, the 5-byte array conversion and interactive mode reduces unnecessary conversion and redundancy of codes, improves the data processing speed and the simplifying degree, and improves the date data conversion efficiency of the lower computer and the interactive efficiency of the server and the lower computer.
As a preferred scheme, the conversion module comprises a 4-byte array generation unit and a 5-byte array generation unit;
the 4-byte array generating unit is used for generating a corresponding 4-byte array according to the date data of at least one first array;
the 32 bits of the 4-byte array sequentially represent the first day to the last day of the corresponding month from the first bit, the bits of the date data corresponding to the first array in the 4-byte array are 1, and the rest bits are 0;
the 5-byte array generating unit is used for generating a corresponding 5-byte array according to the 4-byte array and the array name of the corresponding first array, and taking the 5-byte array as a corresponding second array;
wherein, the first byte of the 5-byte array represents the array name of the first array, and the remaining four bytes represent the date data of the first array.
In the data interaction process from the date of the front end of the web to the lower computer, the acquisition module sorts the date data of each month into a first array, the 4-byte array generating unit of the conversion module converts each first array into a 4-byte array to represent the date data of each month, the 5-byte array generating unit of the conversion module converts each 4-byte array into a 5-byte array, and month data is added in front of the date data of each month.
As a preferred solution, the identification module comprises a sending unit and an interaction unit;
the sending unit is used for sending the second group to the lower computer;
the interaction unit is used for reading the first byte of each second array as output month data by the lower computer according to the date data interaction type identified by the web front end; converting the last four bytes of each second array into binary data, reading the footmark position with bit of 1 in the last four bytes as output date data corresponding to the output month data, arranging the output month data and the output date data corresponding to the output month data into a three-dimensional array, and transmitting the three-dimensional array to a web front-end page for rendering and displaying.
As a preferred scheme, the sending unit of the identification module sends all the 5-byte arrays to the lower computer, the lower computer converts the data of the 5-byte arrays, one month of date data can be converted by converting the 5-byte arrays, wherein the first byte is month data, and the last four bytes are date data.
The interaction unit of the identification module is used for the lower computer to arrange the month data converted from all the 5-byte arrays and the date data corresponding to the months into a three-dimensional array, and then the three-dimensional array is sent to the web front-end page for rendering and displaying, wherein the three-dimensional array contains the data of all the selected dates.
Accordingly, the present invention also provides a computer-readable storage medium including a stored computer program; wherein the computer program, when running, controls the device in which the computer readable storage medium is located to perform a method for processing date data according to the present disclosure.
Drawings
FIG. 1 is a flow chart of an embodiment of a method for processing date data according to the present invention;
fig. 2 is a schematic structural diagram of an embodiment of a date data processing apparatus according to the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Example 1
Referring to fig. 1, a method provided in an embodiment of the present invention includes steps S101-S103:
step S101: and acquiring date data selected by a user, and arranging the date data into at least one first array according to months, wherein one first array comprises date data of one month, and the array name of the first array is the corresponding month.
Illustratively, in this embodiment, in the task date selection control of the web front-end interface, several date data are selected, such as: month 1 of 2022, 1; month 2 of 2022, nos. 2 and 4; all days of 2022, 4 were selected.
In this embodiment, the date data is sorted into two first arrays according to months:
1:[1];
2:[2,4];
one of the first arrays comprises date data of one month, and the array name of the first array is the corresponding month.
Step S102: and arranging each first array into a corresponding second array, wherein the second array is a 5-byte array.
In this embodiment, each of the first arrays is organized into a corresponding second array, specifically:
generating a corresponding 4-byte array according to the date data of at least one first array;
the 32 bits of the 4-byte array sequentially represent the first day to the last day of the corresponding month from the first bit, the bits of the date data corresponding to the first array in the 4-byte array are 1, and the rest bits are 0;
generating a corresponding 5-byte array according to the 4-byte array and the array name of the corresponding first array, and taking the 5-byte array as a corresponding second array;
wherein, the first byte of the 5-byte array represents the array name of the first array, and the remaining four bytes represent the date data of the first array.
Illustratively, in this embodiment, each of the first arrays is sorted into a corresponding second array, specifically:
generating two corresponding 4-byte arrays according to date data of the two first arrays:
[10000000000000000000000000000000] and [01010000000000000000000000000000];
the 32 bits of the 4-byte array sequentially represent the first day to the last day of the corresponding month from the first bit, the bits of the date data corresponding to the first array in the 4-byte array are 1, and the rest bits are 0;
converting 32 bits of two 4-byte arrays into 16-system numbers of 80000000 and 50000000 respectively;
generating two corresponding 5-byte arrays according to the two 4-byte arrays and the array names of the corresponding first arrays:
[0180000000] and [0250000000];
wherein, the first byte of the 5-byte array represents the array name of the first array, and the remaining four bytes represent the date data of the first array.
And taking the 5-byte array as a corresponding second array.
Step S103: and sending the second array to a lower computer so that the lower computer converts the data of the second array according to the date data interaction type identified by the web front end, and then sending the converted data of the second array to the web front end for interaction identification and storage.
In this embodiment, the lower computer converts the data of the second array according to the date data interaction type identified by the web front end, specifically:
reading the first byte of each second array as output month data; and converting the last four bytes of each second array into binary data, and reading the footmark position with bit of 1 in the last four bytes as output date data corresponding to the output month data.
Illustratively, in this embodiment, the two 5-byte arrays are [0180000000] and [0250000000];
reading the first byte 01 and 02 of each second array as output month data;
the last four bytes of the two 5-byte arrays are acquired and converted into binary data:
the last four bytes of the two 5-byte arrays are 80000000 and 50000000, and converted into binary data of 10000000000000000000000000000000 and 01010000000000000000000000000000;
the first 5-byte array reads the 1-bit footer position as the 1-month output date data corresponding to the 1-month output month data, and the second 5-byte array reads the 2-month output date data corresponding to the 2-month output month data, namely the 1-month output month data of the first 5-byte array, the 1-month output date data, the 2-month output month data of the second 5-byte array, and the 2-month output date data are the 2-month and the 4-month output date data.
In this embodiment, the data of the second array after conversion is sent to the web front end for interactive identification and storage, specifically:
and arranging the output month data and the output date data corresponding to the output month data into a three-dimensional array, and transmitting the three-dimensional array to a web front-end page for rendering and displaying.
The implementation of the embodiment of the invention has the following effects:
according to the processing method of the date data, in the data interaction process from the date of the front end of the web to the lower computer, the server sorts the date data of each month into a first array, and then converts each first array into a 5-byte array. Compared with the mode of converting each specific data of each month into 16-system data in the prior art, the invention uses a 5-byte array to represent the date data of one month, thereby greatly reducing the problem of large occupation of the date data, reducing the length of the data and improving the speed and the compactness of data processing.
The data sent at the front-end interface is processed and converted into 2-system and 16-system by the server and sent to the lower computer in a simpler and more convenient mode, so that the complicated analysis work of the lower computer is greatly reduced and the data interaction is improved.
The server sends all the 5-byte arrays to the lower computer, the lower computer converts the data of the 5-byte arrays, one month of date data can be converted by one conversion of the 5-byte arrays, the lower computer sends the converted data of the 5-byte arrays to the web front end for interactive identification and storage, the 5-byte array conversion and interactive mode reduces unnecessary conversion and redundancy of codes, improves the data processing speed and the simplifying degree, and improves the date data conversion efficiency of the lower computer and the interactive efficiency of the server and the lower computer.
Example two
Referring to fig. 2, a date data processing apparatus according to an embodiment of the present invention includes: an acquisition module 201, a conversion module 202 and an identification module 203;
the obtaining module 201 is configured to obtain date data selected by a user, and sort the date data into at least one first array according to months, where one first array includes date data of one month, and an array name of the first array is a corresponding month;
the conversion module 202 is configured to sort each of the first arrays into a corresponding second array, where the second array is a 5-byte array;
the identification module 203 is configured to send the second array to a lower computer, so that the lower computer converts the data of the second array according to the date data interaction type identified by the web front end, and then sends the converted data of the second array to the web front end for interactive identification and storage.
The conversion module comprises a 4-byte array generation unit and a 5-byte array generation unit;
the 4-byte array generating unit is used for generating a corresponding 4-byte array according to the date data of at least one first array;
the 32 bits of the 4-byte array sequentially represent the first day to the last day of the corresponding month from the first bit, the bits of the date data corresponding to the first array in the 4-byte array are 1, and the rest bits are 0;
the 5-byte array generating unit is used for generating a corresponding 5-byte array according to the 4-byte array and the array name of the corresponding first array, and taking the 5-byte array as a corresponding second array;
wherein, the first byte of the 5-byte array represents the array name of the first array, and the remaining four bytes represent the date data of the first array.
The identification module comprises a sending unit and an interaction unit;
the sending unit is used for sending the second group to the lower computer;
the interaction unit is used for reading the first byte of each second array as output month data by the lower computer according to the date data interaction type identified by the web front end; converting the last four bytes of each second array into binary data, reading the footmark position with bit of 1 in the last four bytes as output date data corresponding to the output month data, arranging the output month data and the output date data corresponding to the output month data into a three-dimensional array, and transmitting the three-dimensional array to a web front-end page for rendering and displaying.
The above-described date data processing apparatus may implement the date data processing method of the above-described method embodiment. The options in the method embodiments described above are also applicable to this embodiment and will not be described in detail here. The rest of the embodiments of the present application may refer to the content of the method embodiments described above, and in this embodiment, no further description is given.
The implementation of the embodiment of the invention has the following effects:
in the preferred scheme, in the data interaction process from the date of the front end of the web to the lower computer, the acquisition module sorts the date data of each month into a first array, and the conversion module converts each first array into a 5-byte array. Compared with the mode of converting each specific data of each month into 16-system data in the prior art, the invention uses a 5-byte array to represent the date data of one month, thereby greatly reducing the problem of large occupation of the date data, reducing the length of the data and improving the speed and the compactness of data processing.
The identification module sends all the 5-byte arrays to the lower computer, the lower computer converts the data of the 5-byte arrays, one month of date data can be converted by converting the 5-byte arrays, the lower computer sends the converted data of the 5-byte arrays to the web front end for interactive identification and storage, the 5-byte array conversion and interactive mode reduces unnecessary conversion and redundancy of codes, improves the data processing speed and the simplifying degree, and improves the date data conversion efficiency of the lower computer and the interactive efficiency of the server and the lower computer.
Example III
Correspondingly, the invention further provides a computer readable storage medium, which comprises a stored computer program, wherein the computer program controls a device where the computer readable storage medium is located to execute the method according to any one of the embodiments.
The computer program may be divided into one or more modules/units, which are stored in the memory and executed by the processor to accomplish the present invention, for example. The one or more modules/units may be a series of computer program instruction segments capable of performing the specified functions, which instruction segments are used for describing the execution of the computer program in the terminal device.
The terminal equipment can be computing equipment such as a desktop computer, a notebook computer, a palm computer, a cloud server and the like. The terminal device may include, but is not limited to, a processor, a memory.
The processor may be a central processing unit (Central Processing Unit, CPU), other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), off-the-shelf programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. The general purpose processor may be a microprocessor or the processor may be any conventional processor or the like, which is a control center of the terminal device, and which connects various parts of the entire terminal device using various interfaces and lines.
The memory may be used to store the computer program and/or the module, and the processor may implement various functions of the terminal device by running or executing the computer program and/or the module stored in the memory and invoking data stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function, and the like; the storage data area may store data created according to the use of the mobile terminal, etc. In addition, the memory may include high-speed random access memory, and may also include non-volatile memory, such as a hard disk, memory, plug-in hard disk, smart Media Card (SMC), secure Digital (SD) Card, flash Card (Flash Card), at least one disk storage device, flash memory device, or other volatile solid-state storage device.
Wherein the terminal device integrated modules/units may be stored in a computer readable storage medium if implemented in the form of software functional units and sold or used as stand alone products. Based on such understanding, the present invention may implement all or part of the flow of the method of the above embodiment, or may be implemented by a computer program to instruct related hardware, where the computer program may be stored in a computer readable storage medium, and when the computer program is executed by a processor, the computer program may implement the steps of each of the method embodiments described above. Wherein the computer program comprises computer program code which may be in source code form, object code form, executable file or some intermediate form etc. The computer readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), an electrical carrier signal, a telecommunications signal, a software distribution medium, and so forth.
The foregoing embodiments have been provided for the purpose of illustrating the general principles of the present invention, and are not to be construed as limiting the scope of the invention. It should be noted that any modifications, equivalent substitutions, improvements, etc. made by those skilled in the art without departing from the spirit and principles of the present invention are intended to be included in the scope of the present invention.

Claims (6)

1. A method of processing date data, comprising:
acquiring date data selected by a user, and arranging the date data into at least one first array according to months, wherein one first array comprises date data of one month, and the array name of the first array is the corresponding month;
arranging each first array into a corresponding second array, wherein the second array is a 5-byte array; the data of the second array is 16 system;
the second array is sent to a lower computer, so that the lower computer converts the data of the second array according to the date data interaction type identified by the web front end, and then the converted data of the second array is sent to the web front end for interaction identification and storage, specifically:
reading the first byte of each second array as output month data; converting the last four bytes of each second array into binary data, and reading the footmark position with bit of 1 in the last four bytes as output date data corresponding to output month data;
and arranging the output month data and the output date data corresponding to the output month data into a three-dimensional array, and transmitting the three-dimensional array to a web front-end page for rendering and displaying.
2. The method for processing date data according to claim 1, wherein the sorting each of the first arrays into the corresponding second array is specifically:
generating a corresponding 4-byte array according to the date data of at least one first array;
the 32 bits of the 4-byte array sequentially represent the first day to the last day of the corresponding month from the first bit, the bits of the date data corresponding to the first array in the 4-byte array are 1, and the rest bits are 0;
generating a corresponding 5-byte array according to the 4-byte array and the array name of the corresponding first array, and taking the 5-byte array as a corresponding second array;
wherein, the first byte of the 5-byte array represents the array name of the first array, and the remaining four bytes represent the date data of the first array.
3. A date data processing apparatus, comprising: the device comprises an acquisition module, a conversion module and an identification module;
the acquisition module is used for acquiring date data selected by a user, and arranging the date data into at least one first array according to months, wherein one first array comprises date data of one month, and the array name of the first array is the corresponding month;
the conversion module is used for arranging each first array into a corresponding second array, wherein the second array is a 5-byte array; the data of the second array is 16 system;
the identification module is used for sending the second array to a lower computer so that the lower computer converts the data of the second array according to the date data interaction type identified by the web front end, and then sends the converted data of the second array to the web front end for interaction identification and storage, specifically:
reading the first byte of each second array as output month data; converting the last four bytes of each second array into binary data, and reading the footmark position with bit of 1 in the last four bytes as output date data corresponding to output month data;
and arranging the output month data and the output date data corresponding to the output month data into a three-dimensional array, and transmitting the three-dimensional array to a web front-end page for rendering and displaying.
4. A date data processing apparatus according to claim 3, wherein said conversion module includes a 4-byte array generating unit and a 5-byte array generating unit;
the 4-byte array generating unit is used for generating a corresponding 4-byte array according to the date data of at least one first array;
the 32 bits of the 4-byte array sequentially represent the first day to the last day of the corresponding month from the first bit, the bits of the date data corresponding to the first array in the 4-byte array are 1, and the rest bits are 0;
the 5-byte array generating unit is used for generating a corresponding 5-byte array according to the 4-byte array and the array name of the corresponding first array, and taking the 5-byte array as a corresponding second array;
wherein, the first byte of the 5-byte array represents the array name of the first array, and the remaining four bytes represent the date data of the first array.
5. A device for processing date data according to claim 3, wherein said identification module comprises a transmission unit and an interaction unit;
the sending unit is used for sending the second group to the lower computer;
the interaction unit is used for reading the first byte of each second array as output month data by the lower computer according to the date data interaction type identified by the web front end; converting the last four bytes of each second array into binary data, reading the footmark position with bit of 1 in the last four bytes as output date data corresponding to the output month data, arranging the output month data and the output date data corresponding to the output month data into a three-dimensional array, and transmitting the three-dimensional array to a web front-end page for rendering and displaying.
6. A computer readable storage medium, wherein the computer readable storage medium comprises a stored computer program; wherein said computer program, when run, controls a device in which said computer readable storage medium is located to perform a method of processing date data according to any of claims 1 to 2.
CN202211409209.4A 2022-11-11 2022-11-11 Date data processing method, device and storage medium Active CN115473940B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211409209.4A CN115473940B (en) 2022-11-11 2022-11-11 Date data processing method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211409209.4A CN115473940B (en) 2022-11-11 2022-11-11 Date data processing method, device and storage medium

Publications (2)

Publication Number Publication Date
CN115473940A CN115473940A (en) 2022-12-13
CN115473940B true CN115473940B (en) 2024-04-05

Family

ID=84338128

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211409209.4A Active CN115473940B (en) 2022-11-11 2022-11-11 Date data processing method, device and storage medium

Country Status (1)

Country Link
CN (1) CN115473940B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104618426A (en) * 2014-12-17 2015-05-13 深圳市腾讯计算机系统有限公司 Event data processing method, server, client and system
CN112650491A (en) * 2020-12-22 2021-04-13 平安普惠企业管理有限公司 Date selection modal component development method based on Reactnative and related equipment
CN113806359A (en) * 2021-06-28 2021-12-17 深圳云之家网络有限公司 Calendar data storage method and device, computer equipment and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104618426A (en) * 2014-12-17 2015-05-13 深圳市腾讯计算机系统有限公司 Event data processing method, server, client and system
CN112650491A (en) * 2020-12-22 2021-04-13 平安普惠企业管理有限公司 Date selection modal component development method based on Reactnative and related equipment
CN113806359A (en) * 2021-06-28 2021-12-17 深圳云之家网络有限公司 Calendar data storage method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN115473940A (en) 2022-12-13

Similar Documents

Publication Publication Date Title
CN108628898B (en) Method, device and equipment for data storage
CN112650533B (en) Interface document generation method and device and terminal equipment
CN111400387B (en) Conversion method and device for import and export data, terminal equipment and storage medium
CN111008230A (en) Data storage method and device, computer equipment and storage medium
CN109284453B (en) Data downloading method and device based on PDF document, storage medium and terminal
CN110769002A (en) LabVIEW-based message analysis method, system, electronic device and medium
CN112052010A (en) ICD byte order automatic conversion method
CN111367870A (en) Method, device and system for sharing picture book
CN111367895A (en) Data migration method and device
CN113722533B (en) Information pushing method and device, electronic equipment and readable storage medium
CN115473940B (en) Date data processing method, device and storage medium
CN112131202B (en) Distributed file storage and reading method, terminal device and storage medium
CN114064308A (en) Multi-data sending and receiving method, device and equipment based on column type data scanning
WO2023061180A1 (en) Multi frequency-based data sending method and apparatus, multi frequency-based data receiving method and apparatus, and device
CN116089527A (en) Data verification method, storage medium and device
CN112487771B (en) Report generation method, report generation device and terminal
US6462680B1 (en) Method and system for compressing data
CN110247666B (en) System and method for hardware parallel compression
CN111897778A (en) Computer file merging method, device and system
CN101650807A (en) Business code-processing method, coding module and system
CN107291676B (en) Method for cutting off voice file, terminal equipment and computer storage medium
CN112131222A (en) Storage method, device, medium and electronic equipment for message reading state data
CN111158661A (en) System interface docking method, device, medium and electronic equipment
CN113946865A (en) Automatic file desensitization method and device and electronic equipment
CN113157277B (en) Host file processing method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Country or region after: China

Address after: No. 56 Nanli East Road, Shiqi Town, Panyu District, Guangzhou City, Guangdong Province, 510000

Applicant after: Guangdong Baolun Electronics Co.,Ltd.

Address before: No.19 Chuangyuan Road, Zhongcun street, Panyu District, Guangzhou, Guangdong 510000

Applicant before: GUANGZHOU ITC ELECTRONIC TECHNOLOGY Co.,Ltd.

Country or region before: China

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant